Print this page
4201 fopen(3c): The w mode should be bold, not underlined

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man3c/fopen.3c
          +++ new/usr/src/man/man3c/fopen.3c
↓ open down ↓ 123 lines elided ↑ open up ↑
 124  124  function ( \fBfseek\fR(3C), \fBfsetpos\fR(3C) or \fBrewind\fR(3C)), and input
 125  125  must not be directly followed by output without an intervening call to a file
 126  126  positioning function, unless the input operation encounters end-of-file.
 127  127  .sp
 128  128  .LP
 129  129  When opened, a stream is fully buffered if and only if it can be determined not
 130  130  to refer to an interactive device. The error and end-of-file indicators for the
 131  131  stream are cleared.
 132  132  .sp
 133  133  .LP
 134      -If \fImode\fR begins with \fIw\fR or \fBa\fR and the file did not previously
      134 +If \fImode\fR begins with \fBw\fR or \fBa\fR and the file did not previously
 135  135  exist, upon successful completion, \fBfopen()\fR function will mark for update
 136  136  the \fBst_atime\fR, \fBst_ctime\fR and \fBst_mtime\fR fields of the file and
 137  137  the \fBst_ctime\fR and \fBst_mtime\fR fields of the parent directory.
 138  138  .sp
 139  139  .LP
 140      -If \fImode\fR begins with \fIw\fR and the file did previously exist, upon
      140 +If \fImode\fR begins with \fBw\fR and the file did previously exist, upon
 141  141  successful completion, \fBfopen()\fR will mark for update the \fBst_ctime\fR
 142  142  and \fBst_mtime\fR fields of the file.  The \fBfopen()\fR function will
 143  143  allocate a file descriptor as \fBopen\fR(2) does.
 144  144  .sp
 145  145  .LP
 146  146  Normally, 32-bit applications return an \fBEMFILE\fR error when attempting to
 147  147  associate a stream with a file accessed by a file descriptor with a value
 148  148  greater than 255. If the last character of \fImode\fR is \fBF\fR, 32-bit
 149  149  applications will be allowed to associate a stream with a file accessed by a
 150  150  file descriptor with a value greater than 255. A \fBFILE\fR pointer obtained in
↓ open down ↓ 262 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX