summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1997-07-17 07:38:16 +0000
committerderaadt <deraadt@openbsd.org>1997-07-17 07:38:16 +0000
commitdddca46d0aa7f1d9124509b24b3d2a99770315d5 (patch)
tree60f7324835684b68d138f73e5bdb0a79294d32ae /lib/libc
parentdoc @ commands; mouse (diff)
downloadwireguard-openbsd-dddca46d0aa7f1d9124509b24b3d2a99770315d5.tar.xz
wireguard-openbsd-dddca46d0aa7f1d9124509b24b3d2a99770315d5.zip
fix Xr
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/stdlib/abort.34
-rw-r--r--lib/libc/sys/dup.24
-rw-r--r--lib/libc/sys/fcntl.24
-rw-r--r--lib/libc/sys/getgid.22
-rw-r--r--lib/libc/sys/getpid.22
-rw-r--r--lib/libc/sys/intro.22
-rw-r--r--lib/libc/sys/open.24
-rw-r--r--lib/libc/sys/select.24
8 files changed, 13 insertions, 13 deletions
diff --git a/lib/libc/stdlib/abort.3 b/lib/libc/stdlib/abort.3
index bdf57797880..92c9a354d05 100644
--- a/lib/libc/stdlib/abort.3
+++ b/lib/libc/stdlib/abort.3
@@ -33,7 +33,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: abort.3,v 1.3 1996/10/26 18:24:44 tholo Exp $
+.\" $OpenBSD: abort.3,v 1.4 1997/07/17 07:39:41 deraadt Exp $
.\"
.Dd June 29, 1991
.Dt ABORT 3
@@ -61,7 +61,7 @@ function
never returns.
.Sh SEE ALSO
.Xr sigaction 2 ,
-.Xr exit 2
+.Xr exit 3
.Sh STANDARDS
The
.Fn abort
diff --git a/lib/libc/sys/dup.2 b/lib/libc/sys/dup.2
index b9c0b1980fa..cc29b0ab006 100644
--- a/lib/libc/sys/dup.2
+++ b/lib/libc/sys/dup.2
@@ -58,7 +58,7 @@ The argument
is a small non-negative integer index in
the per-process descriptor table. The value must be less
than the size of the table, which is returned by
-.Xr getdtablesize 2 .
+.Xr getdtablesize 3 .
The new descriptor returned by the call
is the lowest numbered descriptor
currently not in use by the process.
@@ -124,7 +124,7 @@ Too many descriptors are active.
.Xr pipe 2 ,
.Xr socket 2 ,
.Xr socketpair 2 ,
-.Xr getdtablesize 2
+.Xr getdtablesize 3
.Sh STANDARDS
.Fn Dup
and
diff --git a/lib/libc/sys/fcntl.2 b/lib/libc/sys/fcntl.2
index 382fd1ab412..3a9a2046776 100644
--- a/lib/libc/sys/fcntl.2
+++ b/lib/libc/sys/fcntl.2
@@ -429,7 +429,7 @@ and
.Fa arg
is negative or greater than the maximum allowable number
(see
-.Xr getdtablesize 2 ) .
+.Xr getdtablesize 3 ) .
.Pp
The argument
.Fa cmd
@@ -473,7 +473,7 @@ the process ID given as argument is not in use.
.Xr close 2 ,
.Xr execve 2 ,
.Xr flock 2 ,
-.Xr getdtablesize 2 ,
+.Xr getdtablesize 3 ,
.Xr open 2 ,
.Xr sigaction 3
.Sh HISTORY
diff --git a/lib/libc/sys/getgid.2 b/lib/libc/sys/getgid.2
index ee395cd65d5..e90f50eb098 100644
--- a/lib/libc/sys/getgid.2
+++ b/lib/libc/sys/getgid.2
@@ -73,7 +73,7 @@ indicate an error.
.Sh SEE ALSO
.Xr getuid 2 ,
.Xr setregid 2 ,
-.Xr setgid 3
+.Xr setgid 2
.Sh STANDARDS
.Fn Getgid
and
diff --git a/lib/libc/sys/getpid.2 b/lib/libc/sys/getpid.2
index 0c7f5e365ed..59a7b6941dd 100644
--- a/lib/libc/sys/getpid.2
+++ b/lib/libc/sys/getpid.2
@@ -66,7 +66,7 @@ and
functions are always successful, and no return value is reserved to
indicate an error.
.Sh SEE ALSO
-.Xr gethostid 2
+.Xr gethostid 3
.Sh STANDARDS
.Fn Getpid
and
diff --git a/lib/libc/sys/intro.2 b/lib/libc/sys/intro.2
index 803b5e19b98..adef4addd88 100644
--- a/lib/libc/sys/intro.2
+++ b/lib/libc/sys/intro.2
@@ -181,7 +181,7 @@ until at least one has been closed.
.It Er 24 EMFILE Em "Too many open files" .
<As released, the limit on the number of
open files per process is 64.>
-.Xr getdtablesize 2
+.Xr getdtablesize 3
will obtain the current limit.
.It Er 25 ENOTTY Em "Inappropriate ioctl for device" .
A control function (see
diff --git a/lib/libc/sys/open.2 b/lib/libc/sys/open.2
index 27a88cfcb0a..8b76371e021 100644
--- a/lib/libc/sys/open.2
+++ b/lib/libc/sys/open.2
@@ -146,7 +146,7 @@ and
.Pp
The system imposes a limit on the number of file descriptors
open simultaneously by one process.
-.Xr Getdtablesize 2
+.Xr Getdtablesize 3
returns the current system limit.
.Sh ERRORS
The named file is opened unless:
@@ -255,7 +255,7 @@ is already locked.
.Xr close 2 ,
.Xr dup 2 ,
.Xr flock 2 ,
-.Xr getdtablesize 2 ,
+.Xr getdtablesize 3 ,
.Xr lseek 2 ,
.Xr read 2 ,
.Xr write 2 ,
diff --git a/lib/libc/sys/select.2 b/lib/libc/sys/select.2
index 6ffc0e569d7..ac69ffb03fc 100644
--- a/lib/libc/sys/select.2
+++ b/lib/libc/sys/select.2
@@ -159,7 +159,7 @@ negative or too large.
.Sh SEE ALSO
.Xr accept 2 ,
.Xr connect 2 ,
-.Xr getdtablesize 2 ,
+.Xr getdtablesize 3 ,
.Xr gettimeofday 2 ,
.Xr poll 2 ,
.Xr read 2 ,
@@ -168,7 +168,7 @@ negative or too large.
.Xr write 2
.Sh BUGS
Although the provision of
-.Xr getdtablesize 2
+.Xr getdtablesize 3
was intended to allow user programs to be written independent
of the kernel limit on the number of open files, the dimension
of a sufficiently large bit field for select remains a problem.