Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA Path: utzoo!linus!philabs!cmcl2!seismo!brl-tgr!gwyn From: gwyn@brl-tgr.ARPA (Doug Gwyn ) Newsgroups: net.unix-wizards Subject: Re: truncating a file opened via open() Message-ID: <11298@brl-tgr.ARPA> Date: Tue, 18-Jun-85 03:47:05 EDT Article-I.D.: brl-tgr.11298 Posted: Tue Jun 18 03:47:05 1985 Date-Received: Sun, 23-Jun-85 07:22:55 EDT References: <340@cmu-cs-edu1.ARPA> <786@turtlevax.UUCP> <217@luke.UUCP> Organization: Ballistic Research Lab Lines: 3 UNIX System III/V do not have any way to truncate a file. The best kludge is to recopy the whole file up to the point of truncation (yuck).