Newsgroups: comp.lang.c
Path: utzoo!henry
From: henry@zoo.toronto.edu (Henry Spencer)
Subject: Re: Truncating an existing file
Message-ID: <1991Apr24.171438.12623@zoo.toronto.edu>
Date: Wed, 24 Apr 1991 17:14:38 GMT
References: <3172@dsacg3.dsac.dla.mil>
Organization: U of Toronto Zoology

In article <3172@dsacg3.dsac.dla.mil> nto0302@dsacg3.dsac.dla.mil (Bob Fisher) writes:
>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?

ANSI C provides no way to do this.

Nor, more to the point of your query although less appropriate to this
newsgroup, does System V.
-- 
And the bean-counter replied,           | Henry Spencer @ U of Toronto Zoology
"beans are more important".             |  henry@zoo.toronto.edu  utzoo!henry
