Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ncar!ico!dougm From: dougm@queso.ico.isc.com (Doug McCallum) Newsgroups: comp.unix.wizards Subject: Re: ftruncate(2) for System V.3.2 needed Message-ID: Date: 11 Jul 89 19:05:43 GMT References: <1132@ssp15.idca.tds.philips.nl> <14020065@hpisod2.HP.COM> Sender: news@ico.ISC.COM Organization: /u/dougm/.organization Lines: 17 In-reply-to: decot@hpisod2.HP.COM's message of 10 Jul 89 06:56:10 GMT In article <14020065@hpisod2.HP.COM> decot@hpisod2.HP.COM (Dave Decot) writes: Path: ico!nbires!ncar!ames!apple!motcsd!hpda!hpcupt1!hpisod2!decot From: decot@hpisod2.HP.COM (Dave Decot) Newsgroups: comp.unix.wizards Date: 10 Jul 89 06:56:10 GMT References: <1132@ssp15.idca.tds.philips.nl> Organization: Hewlett Packard, Cupertino Lines: 14 > F_FREESP is not in SVID Issue 2, so unless this feature is in AT&T's V.3.2, > and this person has AT&T's version, this isn't going to help this person. Another option is to use the XENIX support and use the F_CHGSIZE call under V.3.2. ftruncate can be implemented as: #define ftruncate(f,len) fcntl(f, F_CHSIZE, len)