Author: eadler
Date: Mon Jan 15 16:51:04 2018
New Revision: 328006
URL: https://svnweb.freebsd.org/changeset/base/328006

Log:
  MFC r327099:
  
  fopen.1: document truncation
  
  This documentation truncation similar to POSIX and glibc.
  
  PR:   202545

Modified:
  stable/11/lib/libc/stdio/fopen.3
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/lib/libc/stdio/fopen.3
==============================================================================
--- stable/11/lib/libc/stdio/fopen.3    Mon Jan 15 16:40:43 2018        
(r328005)
+++ stable/11/lib/libc/stdio/fopen.3    Mon Jan 15 16:51:04 2018        
(r328006)
@@ -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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to