Date: Tue, 23 Jan 2001 12:21:06 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: djgpp AT delorie DOT com Subject: Re: Truncating a file at a given length In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Tue, 23 Jan 2001, Damian Yerrick wrote: > 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)? Portable to what platforms? Every Unix box I've seen has it. Other platforms are non-Posix anyway, so Posix or not Posix is irrelevant.