summaryrefslogtreecommitdiff
path: root/usr/src/man/man3c/fputc.3c
diff options
context:
space:
mode:
authorJerry Jelinek <jerry.jelinek@joyent.com>2017-06-29 11:57:08 +0000
committerJerry Jelinek <jerry.jelinek@joyent.com>2017-06-29 11:57:08 +0000
commit7082e811fdedd165abf44baf5541a279e4645026 (patch)
treeb92197739ee1bad1c730942a3bf07579025aed35 /usr/src/man/man3c/fputc.3c
parentdbeef7f762c59b1461e27146a764182be5eab8cb (diff)
parent5ceaf02ccc1885ec3499b7d79f2a80ce1325b4d8 (diff)
downloadillumos-joyent-7082e811fdedd165abf44baf5541a279e4645026.tar.gz
[illumos-gate merge]
commit 5ceaf02ccc1885ec3499b7d79f2a80ce1325b4d8 8433 vmxnet3: warnings about not supported properties don't help anything commit f862e02cb8d597e430ef5067be483718a65c3370 7962 strxfrm() fails for certain characters commit 5206305f06cf80338a34e00287f3336069e1198b 1198 date formats contain spaces where not expected commit 5549034d757a8b1a23f3957d95e4e9e440c44ebf 8428 8367 breaks cmlb module install on sparc commit 73177167911de9eef96901d8f6d3cb6be7c67574 8309 libbsm should support AUE_sudo audit event commit b4203d757c7c247e39c94c09a94021a3a8121062 8228 cstyle: Remove space-tab sequences in /* All Rights Reserved */ commit bec2e3ffadac8d3536ea115d636d06c7b561623a 8212 manpages contain obsolete references 6019 sleep can't be infinite Conflicts: usr/src/man/man1m/zonecfg.1m usr/src/man/man1/mdb.1
Diffstat (limited to 'usr/src/man/man3c/fputc.3c')
-rw-r--r--usr/src/man/man3c/fputc.3c15
1 files changed, 4 insertions, 11 deletions
diff --git a/usr/src/man/man3c/fputc.3c b/usr/src/man/man3c/fputc.3c
index 4943c8ce60..a9ea15244a 100644
--- a/usr/src/man/man3c/fputc.3c
+++ b/usr/src/man/man3c/fputc.3c
@@ -7,7 +7,7 @@
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH FPUTC 3C "Nov 1, 2003"
+.TH FPUTC 3C "May 13, 2017"
.SH NAME
fputc, putc, putc_unlocked, putchar, putchar_unlocked, putw \- put a byte on a
stream
@@ -45,7 +45,6 @@ stream
.fi
.SH DESCRIPTION
-.sp
.LP
The \fBfputc()\fR function writes the byte specified by \fIc\fR (converted to
an \fBunsigned char\fR) to the output stream pointed to by \fIstream\fR, at the
@@ -90,7 +89,6 @@ update between the successful execution of \fBputw()\fR and the next successful
completion of a call to \fBfflush\fR(3C) or \fBfclose\fR(3C) on the same stream
or a call to \fBexit\fR(3C) or \fBabort\fR(3C).
.SH RETURN VALUES
-.sp
.LP
Upon successful completion, \fBfputc()\fR, \fBputc()\fR, \fBputc_unlocked()\fR,
\fBputchar()\fR, and \fBputchar_unlocked()\fR return the value that was
@@ -106,7 +104,6 @@ sets \fBerrno\fR to indicate the error.
An unsuccessful completion will occur, for example, if the file associated with
\fIstream\fR is not open for writing or if the output file cannot grow.
.SH ERRORS
-.sp
.LP
The \fBfputc()\fR, \fBputc()\fR, \fBputc_unlocked()\fR, \fBputchar()\fR,
\fBputchar_unlocked()\fR, and \fBputw()\fR functions will fail if either the
@@ -138,7 +135,7 @@ for writing.
\fB\fBEFBIG\fR\fR
.ad
.RS 10n
-An attempt was made to write to a file that exceeds the maximum file size or
+An attempt was made to write to a file that exceeds the maximum file size or
the process' file size limit.
.RE
@@ -168,7 +165,7 @@ was transferred.
\fB\fBEIO\fR\fR
.ad
.RS 10n
-A physical I/O error has occurred, or the process is a member of a background
+A physical I/O error has occurred, or the process is a member of a background
process group attempting to write to its controlling terminal, \fBTOSTOP\fR is
set, the process is neither ignoring nor blocking \fBSIGTTOU\fR and the process
group of the process is orphaned. This error may also be returned under
@@ -219,7 +216,6 @@ capabilities of the device.
.RE
.SH USAGE
-.sp
.LP
Functions exist for the \fBputc()\fR, \fBputc_unlocked()\fR, \fBputchar()\fR,
and \fBputchar_unlocked()\fR macros. To get the function form, the macro name
@@ -244,7 +240,6 @@ in the context of either multibyte character streams or wide-character streams.
Application programmers are encouraged to use one of the character-based output
functions instead.
.SH ATTRIBUTES
-.sp
.LP
See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
@@ -264,15 +259,13 @@ MT-Level See \fBNOTES\fR below.
.TE
.SH SEE ALSO
-.sp
.LP
\fBgetrlimit\fR(2), \fBulimit\fR(2) \fBwrite\fR(2), \fBIntro\fR(3),
\fBabort\fR(3C), \fBexit\fR(3C), \fBfclose\fR(3C), \fBferror\fR(3C),
-\fBfflush\fR(3C), \fBflockfile\fR(3C), \fBfopen\fR(3UCB), \fBprintf\fR(3C),
+\fBfflush\fR(3C), \fBflockfile\fR(3C), \fBprintf\fR(3C),
\fBputc\fR(3C), \fBputs\fR(3C), \fBsetbuf\fR(3C), \fBstdio\fR(3C),
\fBattributes\fR(5), \fBstandards\fR(5)
.SH NOTES
-.sp
.LP
The \fBfputc()\fR, \fBputc()\fR, \fBputchar()\fR, and \fBputw()\fR routines are
MT-Safe in multithreaded applications. The \fBputc_unlocked()\fR and