www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/01/23/05:24:11

Date: Tue, 23 Jan 2001 12:21:06 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: djgpp AT delorie DOT com
Subject: Re: Truncating a file at a given length
In-Reply-To: <kbjp6t0t3931kssiv86kdddfdln17mi841@4ax.com>
Message-ID: <Pine.SUN.3.91.1010123122025.9288I-100000@is>
MIME-Version: 1.0
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

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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019