summaryrefslogtreecommitdiff
path: root/usr/src/man/man3c/fclose.3c
diff options
context:
space:
mode:
authorRobert Mustacchi <rm@joyent.com>2014-12-19 23:39:49 +0000
committerRobert Mustacchi <rm@joyent.com>2014-12-27 08:30:21 -0800
commitce83b99835cc4643ab0fefd88dea62427d9ced5e (patch)
tree578355fb9a32b7400b1d502e1881ed3bd21f4a7b /usr/src/man/man3c/fclose.3c
parent89b9271284be1a4e3e3053d7bc12f9bbf8145b06 (diff)
downloadillumos-gate-ce83b99835cc4643ab0fefd88dea62427d9ced5e.tar.gz
3826 fcloseall() needs a manpage
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Approved by: Richard Lowe <richlowe@richlowe.net>
Diffstat (limited to 'usr/src/man/man3c/fclose.3c')
-rw-r--r--usr/src/man/man3c/fclose.3c8
1 files changed, 2 insertions, 6 deletions
diff --git a/usr/src/man/man3c/fclose.3c b/usr/src/man/man3c/fclose.3c
index dd271156f1..b3759b8883 100644
--- a/usr/src/man/man3c/fclose.3c
+++ b/usr/src/man/man3c/fclose.3c
@@ -19,7 +19,6 @@ fclose \- close a stream
.fi
.SH DESCRIPTION
-.sp
.LP
The \fBfclose()\fR function causes the stream pointed to by \fIstream\fR to be
flushed and the associated file to be closed. Any unwritten buffered data for
@@ -42,12 +41,10 @@ behavior.
The \fBfclose()\fR function is performed automatically for all open files upon
calling \fBexit\fR(2).
.SH RETURN VALUES
-.sp
.LP
Upon successful completion, \fBfclose()\fR returns \fB0\fR. Otherwise, it
returns \fBEOF\fR and sets \fBerrno\fR to indicate the error.
.SH ERRORS
-.sp
.LP
The \fBfclose()\fR function will fail if:
.sp
@@ -135,7 +132,6 @@ limits of the device.
.RE
.SH ATTRIBUTES
-.sp
.LP
See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
@@ -153,7 +149,7 @@ MT-Level MT-Safe
.TE
.SH SEE ALSO
-.sp
.LP
\fBclose\fR(2), \fBexit\fR(2), \fBgetrlimit\fR(2), \fBulimit\fR(2),
-\fBfopen\fR(3C), \fBstdio\fR(3C), \fBattributes\fR(5), \fBstandards\fR(5)
+\fBfcloseall\fR(3C), \fBfopen\fR(3C), \fBstdio\fR(3C),
+\fBattributes\fR(5), \fBstandards\fR(5)