Date: Mon, 3 Jun 1996 08:48:16 +1000 From: Bruce Evans <bde@zeta.org.au> To: alex@freebsd.org, pjf@cts.com Cc: bde@freebsd.org, dyson@freebsd.org, hackers@freebsd.org Subject: Re: bugs Message-ID: <199606022248.IAA09679@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
>TRUNCATE(2) FreeBSD Programmer's Manual TRUNCATE(2) >[...] > DESCRIPTION > Truncate() causes the file named by path or referenced by fd to be trun- > cated to at most length bytes in size. > ^^^^^^^ >Richard Stevens (APUE) has the following notes on truncate (see page >92): > These two functions are provided by SVR4 and 4.3+BSD. They are not > part of POSIX.1 or XPG3. > SVR4 truncates or extends a file. 4.3+BSD only truncates a file with > these functions -- they can't be used to extend a file. Extension is supposed to work now. This seems to be standard in 4.4Lite. ISTR it not working in FreeBSD-1.1. The man page is still misleading in 4.4Lite2. Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199606022248.IAA09679>