fopen.1: document truncation

This documentation truncation similar to POSIX and glibc.

PR:		202545
Reported by:	intron@intron.ac
This commit is contained in:
Eitan Adler 2017-12-23 05:13:39 +00:00
parent 79554b4049
commit 60419a9c89
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=327099

View File

@ -72,7 +72,7 @@ Fail if the file does not exist.
.It Dq Li w
Open for writing.
The stream is positioned at the beginning of the file.
Create the file if it does not exist.
Truncate the file to zero length if it exists or create the file if it does not exist.
.It Dq Li a
Open for writing.
The stream is positioned at the end of the file.