Newsgroups: comp.lang.c Path: utzoo!henry From: henry@zoo.toronto.edu (Henry Spencer) Subject: Re: How do I SHORTEN a file without rewriting it? Message-ID: <1990Oct27.231207.5611@zoo.toronto.edu> Organization: U of Toronto Zoology References: <1162@bilver.UUCP> <179@ptcburp.ptcbu.oz.au> <1244@bilver.UUCP> Date: Sat, 27 Oct 90 23:12:07 GMT In article <1244@bilver.UUCP> alex@bilver.UUCP (Alex Matulich) writes: >I was hoping there was a portable ANSI-ish way to accomplish this... Basically, no. ANSI C unfortunately cannot be very ambitious about file operations, since there are so many brain-damaged operating systems out there that are nevertheless viable C environments. -- The type syntax for C is essentially | Henry Spencer at U of Toronto Zoology unparsable. --Rob Pike | henry@zoo.toronto.edu utzoo!henry