Path: utzoo!attcan!uunet!samsung!zaphod.mps.ohio-state.edu!lavaca.uh.edu!menudo.uh.edu!lobster!urchin!p6.f506.n106.z1.fidonet.org!Bob.Stout From: Bob.Stout@p6.f506.n106.z1.fidonet.org (Bob Stout) Newsgroups: comp.lang.c Subject: Re: How do I SHORTEN a file without rewriting it? Message-ID: <3200.272FC2CF@urchin.fidonet.org> Date: 30 Oct 90 07:10:16 GMT Sender: ufgate@urchin.fidonet.org (newsout1.26) Organization: FidoNet node 1:106/506.6 - Fulcrum's Edge, Spring TX Lines: 14 In a message of , Laird Broadfield (lairdb@crash.cts.com ) writes: >Okay, tell us where in K&R you find ftruncate. I don't see it in >the TurboC manual, or K&R2. Perhaps YOUR funky.lib has it, but not >everyone's does. While you have your TC manual open, turn to chsize()... >As long as we're on the subject, does anyone have a neat-o method for >getting rid of records from the _beginning_ of a file? (Standard >preferred, but if there's an MSDOS way, I'll accept it....) That one you'll have to write yourself.