Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!sharkey!itivax!lokkur!scs From: scs@lokkur.UUCP (Steve Simmons) Newsgroups: comp.sys.att Subject: Re: ftruncate and sigsetmask for SysV? Summary: Ouch! Keywords: ftruncate sigsetmask 3b1 Message-ID: <1330@lokkur.UUCP> Date: 23 Apr 89 17:05:47 GMT References: <14214@duke.cs.duke.edu> <1301@lokkur.UUCP> <1479@auspex.auspex.com> Reply-To: scs@lokkur.dexter.mi.us (Steve Simmons) Organization: Inland Sea Software, Ltd. Lines: 12 In article <1479@auspex.auspex.com> guy@auspex.auspex.com (Guy Harris) writes: >>Here is ftruncate, in full glory. > >Uhh, no, it isn't, it's "truncate". "ftruncate" is harder, since it >takes a file descriptor, not a path name, as its first argument.... Ouch! Guy is right. The function asked for was ftruncate, the one I supplied was truncate. Sorry. -- + Steve Simmons, Inland Sea Software, Ltd. scs@lokkur.dexter.mi.us + | 9353 Hidden Lake, Dexter, MI. 48130 313-426-8981 | + "When Dexter's on the Internet can Hell be far behind?" +