Print this page
4201 fopen(3c): The w mode should be bold, not underlined
*** 129,145 ****
When opened, a stream is fully buffered if and only if it can be determined not
to refer to an interactive device. The error and end-of-file indicators for the
stream are cleared.
.sp
.LP
! If \fImode\fR begins with \fIw\fR or \fBa\fR and the file did not previously
exist, upon successful completion, \fBfopen()\fR function will mark for update
the \fBst_atime\fR, \fBst_ctime\fR and \fBst_mtime\fR fields of the file and
the \fBst_ctime\fR and \fBst_mtime\fR fields of the parent directory.
.sp
.LP
! If \fImode\fR begins with \fIw\fR and the file did previously exist, upon
successful completion, \fBfopen()\fR will mark for update the \fBst_ctime\fR
and \fBst_mtime\fR fields of the file. The \fBfopen()\fR function will
allocate a file descriptor as \fBopen\fR(2) does.
.sp
.LP
--- 129,145 ----
When opened, a stream is fully buffered if and only if it can be determined not
to refer to an interactive device. The error and end-of-file indicators for the
stream are cleared.
.sp
.LP
! If \fImode\fR begins with \fBw\fR or \fBa\fR and the file did not previously
exist, upon successful completion, \fBfopen()\fR function will mark for update
the \fBst_atime\fR, \fBst_ctime\fR and \fBst_mtime\fR fields of the file and
the \fBst_ctime\fR and \fBst_mtime\fR fields of the parent directory.
.sp
.LP
! If \fImode\fR begins with \fBw\fR and the file did previously exist, upon
successful completion, \fBfopen()\fR will mark for update the \fBst_ctime\fR
and \fBst_mtime\fR fields of the file. The \fBfopen()\fR function will
allocate a file descriptor as \fBopen\fR(2) does.
.sp
.LP