Truncating an existing file
Bob Fisher
nto0302 at dsacg3.dsac.dla.mil
Wed Apr 24 06:23:45 AEST 1991
How can I truncate the end of a large file without copying the part
to be preserved to a new file and then doing a remove/rename?
This is for SVR3 but may need ported to BSD4.3.
The only truncating capability I find is when I open the file for output.
--
Bob Fisher
US Defense Logistics Agency Systems Automation Center
DSAC-TOL, Box 1605, Columbus, OH 43216-5002 614-238-9071 (AV 850-9071)
bfisher at dsac.dla.mil osu-cis!dsacg1!bfisher
More information about the Comp.lang.c
mailing list