summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2003-02-23 01:47:49 +0000
committerru <ru@FreeBSD.org>2003-02-23 01:47:49 +0000
commit8b5b8ec6a76033148b7266d572cd6e0ec6ddd60b (patch)
tree2787ed91230b556f29b4112a26671b984d10687f /lib/libc/stdio
parente69b77263826a0c5856a502fd9be47a75435d65c (diff)
downloadFreeBSD-src-8b5b8ec6a76033148b7266d572cd6e0ec6ddd60b.zip
FreeBSD-src-8b5b8ec6a76033148b7266d572cd6e0ec6ddd60b.tar.gz
mdoc(7) police: markup laundry.
Diffstat (limited to 'lib/libc/stdio')
-rw-r--r--lib/libc/stdio/ferror.32
-rw-r--r--lib/libc/stdio/getc.36
-rw-r--r--lib/libc/stdio/putc.34
-rw-r--r--lib/libc/stdio/stdio.310
4 files changed, 12 insertions, 10 deletions
diff --git a/lib/libc/stdio/ferror.3 b/lib/libc/stdio/ferror.3
index cb170a4..3fe2839 100644
--- a/lib/libc/stdio/ferror.3
+++ b/lib/libc/stdio/ferror.3
@@ -113,7 +113,7 @@ and
.Fn fileno
respectively, except that the caller is responsible for locking the stream
with
-.Fn flockfile
+.Xr flockfile 3
before calling them.
These functions may be used to avoid the overhead of locking the stream
and to prevent races when multiple threads are operating on the same stream.
diff --git a/lib/libc/stdio/getc.3 b/lib/libc/stdio/getc.3
index 022521f..570867b 100644
--- a/lib/libc/stdio/getc.3
+++ b/lib/libc/stdio/getc.3
@@ -42,9 +42,9 @@
.Sh NAME
.Nm fgetc ,
.Nm getc ,
-.Nm getc_unlocked
+.Nm getc_unlocked ,
.Nm getchar ,
-.Nm getchar_unlocked
+.Nm getchar_unlocked ,
.Nm getw
.Nd get next character or word from input stream
.Sh LIBRARY
@@ -104,7 +104,7 @@ and
respectively,
except that the caller is responsible for locking the stream
with
-.Fn flockfile
+.Xr flockfile 3
before calling them.
These functions may be used to avoid the overhead of locking the stream
for each character, and to avoid input being dispersed among multiple
diff --git a/lib/libc/stdio/putc.3 b/lib/libc/stdio/putc.3
index bd51c10..2476f5f 100644
--- a/lib/libc/stdio/putc.3
+++ b/lib/libc/stdio/putc.3
@@ -42,7 +42,9 @@
.Sh NAME
.Nm fputc ,
.Nm putc ,
+.Nm putc_unlocked ,
.Nm putchar ,
+.Nm putchar_unlocked ,
.Nm putw
.Nd output a character or word to a stream
.Sh LIBRARY
@@ -103,7 +105,7 @@ and
respectively,
except that the caller is responsible for locking the stream
with
-.Fn flockfile
+.Xr flockfile 3
before calling them.
These functions may be used to avoid the overhead of locking the stream
for each character, and to avoid output being interspersed from multiple
diff --git a/lib/libc/stdio/stdio.3 b/lib/libc/stdio/stdio.3
index 71626f4..7a0d2f9 100644
--- a/lib/libc/stdio/stdio.3
+++ b/lib/libc/stdio/stdio.3
@@ -172,13 +172,13 @@ looks like and which external variables are of interest.
The following are defined as macros;
these names may not be re-used
without first removing their current definitions with
-.Dv #undef :
+.Ic #undef :
.Dv BUFSIZ ,
.Dv EOF ,
.Dv FILENAME_MAX ,
.Dv FOPEN_MAX ,
-.Dv L_cuserid ,
.Dv L_ctermid ,
+.Dv L_cuserid ,
.Dv L_tmpnam ,
.Dv NULL ,
.Dv P_tmpdir ,
@@ -190,12 +190,12 @@ without first removing their current definitions with
.Dv feof_unlocked ,
.Dv ferror_unlocked ,
.Dv fileno_unlocked ,
+.Dv fropen ,
+.Dv fwopen ,
.Dv getc_unlocked ,
.Dv getchar_unlocked ,
.Dv putc_unlocked ,
.Dv putchar_unlocked ,
-.Dv fropen ,
-.Dv fwopen ,
.Dv stderr ,
.Dv stdin
and
@@ -209,7 +209,7 @@ Function versions of the macro functions
.Dv getchar_unlocked ,
.Dv putc_unlocked
and
-.Dv putchar_unlocked ,
+.Dv putchar_unlocked
exist and will be used if the macro
definitions are explicitly removed.
.Sh SEE ALSO
OpenPOWER on IntegriCloud