From: Damian Yerrick Newsgroups: comp.os.msdos.djgpp Subject: Truncating a file at a given length Organization: Pin Eight Software http://pineight.8m.com/ Message-ID: X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 10 X-Trace: /wq5/eeUbWscDftmcx+xc8RQVD8gri5A0ZTaeCgdyD0tGTBcnqe1qi6sK1LhjctUd8fpm7suCgjm!Bq/DB2lZvgTU7Iz4oZ56xAZkXEwbUv5mTweKg/Ur0BZd8j+5gtAo+1bK7G0hewnkPd3MBn0ggzXg!wdmWyA== X-Complaints-To: abuse AT gte DOT net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly NNTP-Posting-Date: Tue, 23 Jan 2001 00:19:57 GMT Distribution: world Date: Tue, 23 Jan 2001 00:19:57 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Is there a function in DJGPP libc to truncate a file at a given length that is more portable than ftruncate() (not ANSI, not POSIX)? --