ftruncate for System Vr3.2

Conor P. Cahill cpcahil at virtech.uucp
Thu Sep 6 22:04:51 AEST 1990


In article <1990Sep5.222350.6918 at clark.edu> ade at clark.edu (Adrian Miranda) writes:
>System V does not have ftruncate.  However, I believe someone once
>posted a replacement that was supposed to work on System V release
>3.2. 

You can use the fcntl(fd,F_CHSIZE,size) to emulate the function of
ftruncate().

-- 
Conor P. Cahill            (703)430-9247        Virtual Technologies, Inc.,
uunet!virtech!cpcahil                           46030 Manekin Plaza, Suite 160
                                                Sterling, VA 22170 



More information about the Comp.unix.sysv386 mailing list