Path: utzoo!attcan!uunet!husc6!rutgers!aramis.rutgers.edu!athos.rutgers.edu!webber From: webber@athos.rutgers.edu (Bob Webber) Newsgroups: comp.unix.wizards Subject: POSIX/v7 equiv for ftruncate? Message-ID: Date: 8 Jan 89 23:06:08 GMT Organization: Rutgers Univ., New Brunswick, N.J. Lines: 10 Given the current trend toward Unix on multiuser machines, running out of file space on a partition is becoming endemic. The question arises of what is the optimal way of making use of the file space you already have and returning some of it where possible. A program INSERT was recently posted to alt.sources that hinges on the use of ftruncate (2-BSD) to collapse the file to the appropriate size after having written into it. Is there any POSIX/v7 idiom for this? ---- BOB (webber@athos.rutgers.edu ; rutgers!athos.rutgers.edu!webber)