Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!wuarchive!uunet!auspex!guy From: guy@auspex.auspex.com (Guy Harris) Newsgroups: comp.unix.sysv386 Subject: Re: ftruncate for System Vr3.2 Message-ID: <4036@auspex.auspex.com> Date: 7 Sep 90 18:21:45 GMT References: <9009060047.AA23962@esegue.segue.boston.ma.us> Organization: Auspex Systems, Santa Clara Lines: 6 >Note that this scores near zero in the portability department; I don't >know what SVR4 does but would expect it to have the BSD ftruncate. S5R4's "native" interface for doing that is the F_FREESP "fcntl" call. "truncate()" and "ftruncate()" exist in the standard library as wrappers around that "fcntl()".