Path: utzoo!attcan!uunet!virtech!cpcahil From: cpcahil@virtech.uucp (Conor P. Cahill) Newsgroups: comp.unix.sysv386 Subject: Re: ftruncate for System Vr3.2 Message-ID: <1990Sep06.120451.1641@virtech.uucp> Date: 6 Sep 90 12:04:51 GMT References: <1990Sep5.222350.6918@clark.edu> Reply-To: cpcahil@virtech.UUCP (Conor P. Cahill) Organization: Virtual Technologies Inc., Sterling VA Lines: 12 In article <1990Sep5.222350.6918@clark.edu> ade@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