summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-07-17 07:38:23 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-07-17 07:38:23 +0000
commitbb192a4befb42fd42959c287aa276732258c1c80 (patch)
tree6c4fcf54236001bd7e6b7e33c51459619e4bca6f
parent7af9f3e142d7aceba4aadd7b6e260267f74670af (diff)
fix Xr
-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
7 files changed, 11 insertions, 11 deletions
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.