summaryrefslogtreecommitdiff
path: root/lib/libc/stdio
diff options
context:
space:
mode:
authorMike Pritchard <mpp@FreeBSD.org>1996-03-27 20:49:07 +0000
committerMike Pritchard <mpp@FreeBSD.org>1996-03-27 20:49:07 +0000
commit064f007493a990a098f3f0f5ae66732c5747c837 (patch)
tree56c4c6b3ee0f1367c7bb50d3cb70ee35ec089c82 /lib/libc/stdio
parent5ea390eff5605faf9c5d901748e93857d18bbe6f (diff)
Notes
Diffstat (limited to 'lib/libc/stdio')
-rw-r--r--lib/libc/stdio/fopen.32
-rw-r--r--lib/libc/stdio/scanf.34
-rw-r--r--lib/libc/stdio/stdio.322
-rw-r--r--lib/libc/stdio/tmpnam.32
4 files changed, 15 insertions, 15 deletions
diff --git a/lib/libc/stdio/fopen.3 b/lib/libc/stdio/fopen.3
index 23d790c79a03..87bb0494e0ab 100644
--- a/lib/libc/stdio/fopen.3
+++ b/lib/libc/stdio/fopen.3
@@ -142,7 +142,7 @@ The original stream (if it exists) is closed.
The
.Fa mode
argument is used just as in the
-.Xr fopen
+.Fn fopen
function.
The primary use of the
.Fn freopen
diff --git a/lib/libc/stdio/scanf.3 b/lib/libc/stdio/scanf.3
index 377a60262a41..dbfff8871273 100644
--- a/lib/libc/stdio/scanf.3
+++ b/lib/libc/stdio/scanf.3
@@ -200,7 +200,7 @@ the next pointer must be a pointer to
.Em int .
.It Cm D
Equivalent to
-.Xr ld ;
+.Cm ld ;
this exists only for backwards compatibility.
.It Cm i
Matches an optionally signed integer;
@@ -221,7 +221,7 @@ the next pointer must be a pointer to
.Em unsigned int .
.It Cm O
Equivalent to
-.Xr lo ;
+.Cm lo ;
this exists for backwards compatibility.
.It Cm u
Matches an optionally signed decimal integer;
diff --git a/lib/libc/stdio/stdio.3 b/lib/libc/stdio/stdio.3
index 09d7e36a4e50..7ebc782d06e3 100644
--- a/lib/libc/stdio/stdio.3
+++ b/lib/libc/stdio/stdio.3
@@ -151,7 +151,7 @@ function.
The
.Nm stdio
library is a part of the library
-.Xr libc
+.Nm libc
and routines are automatically loaded as needed by the compilers
.Xr cc 1
and
@@ -192,15 +192,15 @@ without first removing their current definitions with
.Dv stdin ,
.Dv stdout .
Function versions of the macro functions
-.Xr feof ,
-.Xr ferror ,
-.Xr clearerr ,
-.Xr fileno ,
-.Xr getc ,
-.Xr getchar ,
-.Xr putc ,
+.Fn feof ,
+.Fn ferror ,
+.Fn clearerr ,
+.Fn fileno ,
+.Fn getc ,
+.Fn getchar ,
+.Fn putc ,
and
-.Xr putchar
+.Fn putchar
exist and will be used if the macros
definitions are explicitly removed.
.Sh SEE ALSO
@@ -211,9 +211,9 @@ definitions are explicitly removed.
.Sh BUGS
The standard buffered functions do not interact well with certain other
library and system functions, especially
-.Xr vfork
+.Xr vfork 2
and
-.Xr abort .
+.Xr abort 3 .
.Sh STANDARDS
The
.Nm stdio
diff --git a/lib/libc/stdio/tmpnam.3 b/lib/libc/stdio/tmpnam.3
index 3b053ee20042..d7e032697614 100644
--- a/lib/libc/stdio/tmpnam.3
+++ b/lib/libc/stdio/tmpnam.3
@@ -201,7 +201,7 @@ Second, most historic implementations provide only a limited number
of possible temporary file names (usually 26) before file names will
start being recycled.
Third, the System V implementations of these functions (and of
-.Xr mktemp )
+.Xr mktemp 3 )
use the
.Xr access 2
function to determine whether or not the temporary file may be created.