On Wed, Oct 03, 2012 at 04:20:14AM +0300, Artturi Alm wrote: > Hi, > > Diff below would make fopen.3 description more consistent, i think. > while it's more repetitive, it does get rid of 'create text file'. > > > -Artturi >
it does read better this way. just committed your suggestion, jmc > > Index: fopen.3 > =================================================================== > RCS file: /cvs/src/lib/libc/stdio/fopen.3,v > retrieving revision 1.25 > diff -u -p -r1.25 fopen.3 > --- fopen.3 22 Jan 2012 13:02:45 -0000 1.25 > +++ fopen.3 3 Oct 2012 01:01:21 -0000 > @@ -64,7 +64,8 @@ Open file for reading. > .It Dq Li r+ > Open for reading and writing. > .It Dq Li w > -Truncate file to zero length or create text file for writing. > +Open for writing. > +The file is created if it does not exist, otherwise it is truncated. > .It Dq Li w+ > Open for reading and writing. > The file is created if it does not exist, otherwise it is truncated.