diff options
author | eadler <eadler@FreeBSD.org> | 2018-01-15 16:51:04 +0000 |
---|---|---|
committer | eadler <eadler@FreeBSD.org> | 2018-01-15 16:51:04 +0000 |
commit | 910ab6e4febbbfbc3ca8c1dc6bb069709e51b3cf (patch) | |
tree | 51b53e78bb979a46193623bc726055ab3ad932d6 /lib | |
parent | d822fa76a08747ec808511e644d07c2937937181 (diff) | |
download | FreeBSD-src-910ab6e4febbbfbc3ca8c1dc6bb069709e51b3cf.zip FreeBSD-src-910ab6e4febbbfbc3ca8c1dc6bb069709e51b3cf.tar.gz |
MFC r327099:
fopen.1: document truncation
This documentation truncation similar to POSIX and glibc.
PR: 202545
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/stdio/fopen.3 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/stdio/fopen.3 b/lib/libc/stdio/fopen.3 index 70dcb5a..77156a9 100644 --- a/lib/libc/stdio/fopen.3 +++ b/lib/libc/stdio/fopen.3 @@ -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. |