comp.lang.ada
 help / color / mirror / Atom feed
From: John_J_Cupak@raytheon.com (John Cupak)
Subject: Resize / Truncate Direct_IO file
Date: 12 Mar 2002 12:40:59 -0800
Date: 2002-03-12T20:41:00+00:00	[thread overview]
Message-ID: <c7990eda.0203121240.8e3b7fd@posting.google.com> (raw)

A co-worker asked me if it is possible to truncate or resize an Ada
Direct_IO file, and after scouring the 'net and past postings I
couldn't provide an answer for her.

So, here goes: Suppose I have an instantiated Direct_IO file with 10
records.
I set the index to 5, and realize I don't need records 6-10. How do I
truncate or resize the file, short of deleting records 6-10? I don't
see an End_Of_File procedure for Direct_IO. Am I missing something?

John Cupak



             reply	other threads:[~2002-03-12 20:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-12 20:40 John Cupak [this message]
2002-03-12 22:41 ` Resize / Truncate Direct_IO file Jeffrey Carter
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox