aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPhilippe Charnier <charnier@FreeBSD.org>2003-06-08 10:01:52 +0000
committerPhilippe Charnier <charnier@FreeBSD.org>2003-06-08 10:01:52 +0000
commit0d511e328fd169d8100033231eb01942a43a4662 (patch)
treee77bb095b2277e42f7dfff1b777e44af370de021 /lib
parent9703a107f2aaf3a6ba28fdf62e7ca9170a508cc1 (diff)
downloadsrc-0d511e328fd169d8100033231eb01942a43a4662.tar.gz
src-0d511e328fd169d8100033231eb01942a43a4662.zip
Add or correct section number in .Xr. Use .Vt or .Fn
instead of .Xr when needed
Notes
Notes: svn path=/head/; revision=116021
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/gen/getpwent.32
-rw-r--r--lib/libc/gen/popen.34
-rw-r--r--lib/libc/gen/statvfs.310
-rw-r--r--lib/libc/gen/tzset.32
-rw-r--r--lib/libc/stdio/fflush.32
-rw-r--r--lib/libc/sys/getfsstat.22
-rw-r--r--lib/libc/sys/getsockname.22
-rw-r--r--lib/libc/sys/sigsuspend.22
8 files changed, 13 insertions, 13 deletions
diff --git a/lib/libc/gen/getpwent.3 b/lib/libc/gen/getpwent.3
index 3c08cd5c9bcb..0a5580ee46d6 100644
--- a/lib/libc/gen/getpwent.3
+++ b/lib/libc/gen/getpwent.3
@@ -213,7 +213,7 @@ have no return value.
.Sh ERRORS
These routines may fail for any of the errors specified in
.Xr open 2 ,
-.Xr dbopen 2 ,
+.Xr dbopen 3 ,
.Xr socket 2 ,
and
.Xr connect 2 ,
diff --git a/lib/libc/gen/popen.3 b/lib/libc/gen/popen.3
index 4793db49bbfb..50132a2ea1a3 100644
--- a/lib/libc/gen/popen.3
+++ b/lib/libc/gen/popen.3
@@ -122,7 +122,7 @@ The
function waits for the associated process to terminate
and returns the exit status of the command
as returned by
-.Fn wait4 .
+.Xr wait4 2 .
.Sh RETURN VALUES
The
.Fn popen
@@ -147,7 +147,7 @@ command, if
already
.Dq pclosed ,
or if
-.Xr wait4
+.Xr wait4 2
returns an error.
.Sh ERRORS
The
diff --git a/lib/libc/gen/statvfs.3 b/lib/libc/gen/statvfs.3
index 21e274f127e2..f9c7430f6e99 100644
--- a/lib/libc/gen/statvfs.3
+++ b/lib/libc/gen/statvfs.3
@@ -63,7 +63,7 @@ structure contains the following members:
.It Va f_namemax
The maximum length in bytes of a file name on this file system.
Applications should use
-.Xr pathconf 3
+.Xr pathconf 2
instead.
.It Va f_fsid
Not meaningful in this implementation.
@@ -141,9 +141,9 @@ functions may fail for any of the reasons documented for
or
.Xr fstatfs 2
and
-.Xr pathconf 3
+.Xr pathconf 2
or
-.Xr fpathconf 3 ,
+.Xr fpathconf 2 ,
respectively.
In addition,
.Fn statvfs
@@ -157,8 +157,8 @@ represented by the data types used in
.Vt "struct statvfs" .
.El
.Sh SEE ALSO
-.Xr statfs 2 ,
-.Xr pathconf 3
+.Xr pathconf 2 ,
+.Xr statfs 2
.Sh STANDARDS
The
.Fn statvfs
diff --git a/lib/libc/gen/tzset.3 b/lib/libc/gen/tzset.3
index fd1af45491a8..e93fa69ac3f6 100644
--- a/lib/libc/gen/tzset.3
+++ b/lib/libc/gen/tzset.3
@@ -108,7 +108,7 @@ The
.Fn tzsetwall
function
sets things up so that
-.Xr localtime
+.Xr localtime 3
returns the best available approximation of local wall clock time.
.Sh SPECIFICATION FORMAT
When
diff --git a/lib/libc/stdio/fflush.3 b/lib/libc/stdio/fflush.3
index e57fc37983e0..6fa6d23ea4a5 100644
--- a/lib/libc/stdio/fflush.3
+++ b/lib/libc/stdio/fflush.3
@@ -77,7 +77,7 @@ For input streams this discards any input read from the underlying object
but not yet obtained via
.Xr getc 3 ;
this includes any text pushed back via
-.Xr ungetc .
+.Xr ungetc 3 .
.Sh RETURN VALUES
Upon successful completion 0 is returned.
Otherwise,
diff --git a/lib/libc/sys/getfsstat.2 b/lib/libc/sys/getfsstat.2
index a42b31148899..1f8619a00f2e 100644
--- a/lib/libc/sys/getfsstat.2
+++ b/lib/libc/sys/getfsstat.2
@@ -55,7 +55,7 @@ The
.Fa buf
argument
is a pointer to
-.Xr statfs
+.Vt statfs
structures defined as follows:
.Bd -literal
typedef struct fsid { int32_t val[2]; } fsid_t; /* file system id type */
diff --git a/lib/libc/sys/getsockname.2 b/lib/libc/sys/getsockname.2
index 408566eebcc3..7e39a84154ea 100644
--- a/lib/libc/sys/getsockname.2
+++ b/lib/libc/sys/getsockname.2
@@ -88,7 +88,7 @@ process address space.
.Xr socket 2
.Sh BUGS
Names bound to sockets in the UNIX domain are inaccessible;
-.Xr getsockname
+.Fn getsockname
returns a zero length name.
.Sh HISTORY
The
diff --git a/lib/libc/sys/sigsuspend.2 b/lib/libc/sys/sigsuspend.2
index 1b2ec9f5b58c..79fbb59cc730 100644
--- a/lib/libc/sys/sigsuspend.2
+++ b/lib/libc/sys/sigsuspend.2
@@ -64,7 +64,7 @@ of the signal are examined to determine that there is no work
to be done, and the process pauses awaiting work by using
.Fn sigsuspend
with the previous mask returned by
-.Xr sigprocmask .
+.Xr sigprocmask 2 .
.Sh RETURN VALUES
The
.Fn sigsuspend