summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>1999-05-10 17:56:30 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>1999-05-10 17:56:30 +0000
commit48134c510c45d1858d8bb781a61d019bf0546f56 (patch)
tree0a348149e8f1dad1c58b1a16d4228ef8b6fb6fcb /lib
parent571f1d54cbddb7c261d699740554a5be84bfeb00 (diff)
correct some Xr's which referred to the wrong man page sections
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/compat-43/sigvec.34
-rw-r--r--lib/libc/gen/alarm.36
-rw-r--r--lib/libc/gen/getcap.38
-rw-r--r--lib/libc/gen/getmntinfo.34
-rw-r--r--lib/libc/gen/setjmp.34
-rw-r--r--lib/libc/gen/siginterrupt.36
-rw-r--r--lib/libc/gen/signal.34
-rw-r--r--lib/libc/gen/ualarm.36
-rw-r--r--lib/libc/gen/usleep.38
-rw-r--r--lib/libc/md/mdX.33
-rw-r--r--lib/libc/net/link_addr.35
-rw-r--r--lib/libc/stdio/stdio.37
-rw-r--r--lib/libc/stdlib/alloca.34
-rw-r--r--lib/libc/stdlib/malloc.38
-rw-r--r--lib/libc/stdlib/tsearch.33
-rw-r--r--lib/libc/sys/execve.24
-rw-r--r--lib/libc/sys/fcntl.26
-rw-r--r--lib/libc/sys/msgctl.24
-rw-r--r--lib/libc/sys/semctl.24
-rw-r--r--lib/libc/sys/shmctl.24
-rw-r--r--lib/libc/sys/sigaction.24
21 files changed, 51 insertions, 55 deletions
diff --git a/lib/libc/compat-43/sigvec.3 b/lib/libc/compat-43/sigvec.3
index be327fff82c..fa9b9e8ea3e 100644
--- a/lib/libc/compat-43/sigvec.3
+++ b/lib/libc/compat-43/sigvec.3
@@ -29,7 +29,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: sigvec.3,v 1.10 1999/02/27 21:54:54 deraadt Exp $
+.\" $OpenBSD: sigvec.3,v 1.11 1999/05/10 17:56:27 aaron Exp $
.\"
.Dd April 29, 1991
.Dt SIGVEC 3
@@ -227,7 +227,7 @@ with names as in the include file
.It Dv SIGQUIT No " create core image" " quit program"
.It Dv SIGILL No " create core image" " illegal instruction"
.It Dv SIGTRAP No " create core image" " trace trap"
-.It Dv SIGABRT No " create core image" Xr abort 2
+.It Dv SIGABRT No " create core image" Xr abort 3
call (formerly
.Dv SIGIOT )
.It Dv SIGEMT No " create core image" " emulate instruction executed"
diff --git a/lib/libc/gen/alarm.3 b/lib/libc/gen/alarm.3
index dbb8f8cb098..410d9881ab3 100644
--- a/lib/libc/gen/alarm.3
+++ b/lib/libc/gen/alarm.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: alarm.3,v 1.3 1998/04/28 07:36:28 deraadt Exp $
+.\" $OpenBSD: alarm.3,v 1.4 1999/05/10 17:56:28 aaron Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993, 1994
.\" The Regents of the University of California. All rights reserved.
@@ -74,9 +74,9 @@ alarm.
.Sh SEE ALSO
.Xr sigaction 2 ,
.Xr setitimer 2 ,
-.Xr sigpause 2 ,
-.Xr sigvec 3 ,
.Xr signal 3 ,
+.Xr sigpause 3 ,
+.Xr sigvec 3 ,
.Xr sleep 3 ,
.Xr ualarm 3 ,
.Xr usleep 3
diff --git a/lib/libc/gen/getcap.3 b/lib/libc/gen/getcap.3
index 1cdefd1e439..bfb08304b53 100644
--- a/lib/libc/gen/getcap.3
+++ b/lib/libc/gen/getcap.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getcap.3,v 1.7 1999/02/27 21:55:04 deraadt Exp $
+.\" $OpenBSD: getcap.3,v 1.8 1999/05/10 17:56:28 aaron Exp $
.\"
.\" Copyright (c) 1992, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -87,7 +87,7 @@ copy of it in
will first look for files ending in
.Nm .db
(see
-.Xr cap_mkdb 1)
+.Xr cap_mkdb 1 )
before accessing the ASCII file.
.Fa buf
must be retained through all subsequent calls to
@@ -477,8 +477,8 @@ and
may fail and set
.Va errno
for any of the errors specified for the library functions:
-.Xr fopen 2 ,
-.Xr fclose 2 ,
+.Xr fopen 3 ,
+.Xr fclose 3 ,
.Xr open 2 ,
and
.Xr close 2 .
diff --git a/lib/libc/gen/getmntinfo.3 b/lib/libc/gen/getmntinfo.3
index 1028ddbfca1..a0522072dd8 100644
--- a/lib/libc/gen/getmntinfo.3
+++ b/lib/libc/gen/getmntinfo.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getmntinfo.3,v 1.3 1998/06/15 17:54:55 mickey Exp $
+.\" $OpenBSD: getmntinfo.3,v 1.4 1999/05/10 17:56:28 aaron Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -106,5 +106,5 @@ will modify the same object.
The memory allocated by
.Fn getmntinfo
cannot be
-.Xr free 2 Ns 'd
+.Xr free 3 Ns 'd
by the application.
diff --git a/lib/libc/gen/setjmp.3 b/lib/libc/gen/setjmp.3
index 6b0d1540f70..5f850a5a8cf 100644
--- a/lib/libc/gen/setjmp.3
+++ b/lib/libc/gen/setjmp.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: setjmp.3,v 1.3 1999/03/10 21:25:26 pjanzen Exp $
+.\" $OpenBSD: setjmp.3,v 1.4 1999/05/10 17:56:28 aaron Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -145,7 +145,7 @@ routine calls the routine
If
.Fn longjmperror
returns the program is aborted (see
-.Xr abort 2 ) .
+.Xr abort 3 ) .
The default version of
.Fn longjmperror
prints the message
diff --git a/lib/libc/gen/siginterrupt.3 b/lib/libc/gen/siginterrupt.3
index 630b9e91698..e4df42a1a96 100644
--- a/lib/libc/gen/siginterrupt.3
+++ b/lib/libc/gen/siginterrupt.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: siginterrupt.3,v 1.3 1998/07/24 00:43:46 espie Exp $
+.\" $OpenBSD: siginterrupt.3,v 1.4 1999/05/10 17:56:28 aaron Exp $
.\"
.\" Copyright (c) 1985, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -96,8 +96,8 @@ A 0 value indicates that the call succeeded.
A \-1 value indicates that an invalid signal number has been supplied.
.Sh SEE ALSO
.Xr sigaction 2 ,
-.Xr sigblock 2 ,
-.Xr sigpause 2 ,
+.Xr sigblock 3 ,
+.Xr sigpause 3 ,
.Xr sigsetmask 3 .
.Sh HISTORY
The
diff --git a/lib/libc/gen/signal.3 b/lib/libc/gen/signal.3
index 1762b15d09c..3236d56b902 100644
--- a/lib/libc/gen/signal.3
+++ b/lib/libc/gen/signal.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: signal.3,v 1.6 1999/02/27 21:55:17 deraadt Exp $
+.\" $OpenBSD: signal.3,v 1.7 1999/05/10 17:56:28 aaron Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -89,7 +89,7 @@ These signals are defined in the file
.It Dv SIGQUIT No " create core image" " quit program"
.It Dv SIGILL No " create core image" " illegal instruction"
.It Dv SIGTRAP No " create core image" " trace trap"
-.It Dv SIGABRT No " create core image" Xr abort 2
+.It Dv SIGABRT No " create core image" Xr abort 3
call (formerly
.Dv SIGIOT )
.It Dv SIGEMT No " create core image" " emulate instruction executed"
diff --git a/lib/libc/gen/ualarm.3 b/lib/libc/gen/ualarm.3
index 0a1b9ec0770..b6019381326 100644
--- a/lib/libc/gen/ualarm.3
+++ b/lib/libc/gen/ualarm.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ualarm.3,v 1.6 1998/04/28 07:36:40 deraadt Exp $
+.\" $OpenBSD: ualarm.3,v 1.7 1999/05/10 17:56:28 aaron Exp $
.\"
.\" Copyright (c) 1986, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -79,9 +79,9 @@ is 2147483647.
.Xr getitimer 2 ,
.Xr setitimer 2 ,
.Xr sigaction 2 ,
-.Xr sigpause 2 ,
-.Xr sigvec 3 ,
.Xr signal 3 ,
+.Xr sigpause 3 ,
+.Xr sigvec 3 ,
.Xr sleep 3 ,
.Xr alarm 3 ,
.Xr usleep 3
diff --git a/lib/libc/gen/usleep.3 b/lib/libc/gen/usleep.3
index aa2468e6bc7..3b8f7f0bcc7 100644
--- a/lib/libc/gen/usleep.3
+++ b/lib/libc/gen/usleep.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: usleep.3,v 1.5 1997/12/24 09:04:04 tholo Exp $
+.\" $OpenBSD: usleep.3,v 1.6 1999/05/10 17:56:28 aaron Exp $
.\"
.\" Copyright (c) 1986, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -93,10 +93,10 @@ specified a value of 1,000,000 or more microseconds.
.Xr getitimer 2 ,
.Xr nanosleep 2 ,
.Xr setitimer 2 ,
-.Xr sigpause 2 ,
-.Xr alarm 3
+.Xr alarm 3 ,
+.Xr sigpause 3 ,
.Xr sleep 3 ,
-.Xr ualarm 3 ,
+.Xr ualarm 3
.Sh STANDARDS
The
.Fn usleep
diff --git a/lib/libc/md/mdX.3 b/lib/libc/md/mdX.3
index 9b83286b961..00718b52be1 100644
--- a/lib/libc/md/mdX.3
+++ b/lib/libc/md/mdX.3
@@ -6,7 +6,7 @@
.\" this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
.\" ----------------------------------------------------------------------------
.\"
-.\" $OpenBSD: mdX.3,v 1.10 1999/02/12 20:04:05 angelos Exp $
+.\" $OpenBSD: mdX.3,v 1.11 1999/05/10 17:56:29 aaron Exp $
.\"
.Dd October 9, 1996
.Dt MDX 3
@@ -103,7 +103,6 @@ If the
.Ar buf
argument is non-null it must point to at least 33 characters of buffer space.
.Sh SEE ALSO
-.Xr md2 3 ,
.Xr md4 3 ,
.Xr md5 3
.Rs
diff --git a/lib/libc/net/link_addr.3 b/lib/libc/net/link_addr.3
index eb6c952177e..7be9920cd58 100644
--- a/lib/libc/net/link_addr.3
+++ b/lib/libc/net/link_addr.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: link_addr.3,v 1.2 1996/08/19 08:29:25 tholo Exp $
+.\" $OpenBSD: link_addr.3,v 1.3 1999/05/10 17:56:29 aaron Exp $
.\"
.\" Copyright (c) 1993
.\" The Regents of the University of California. All rights reserved.
@@ -75,7 +75,7 @@ may contain
an optional network interface identifier of the form
.Dq "name unit-number" ,
suitable for the first argument to
-.Xr ifconfig 4 ,
+.Xr ifconfig 8 ,
followed in all cases by a colon and
an interface address in the form of
groups of hexadecimal digits
@@ -102,6 +102,7 @@ has no return value.
.Sx BUGS . )
.Sh SEE ALSO
.Xr iso 4 ,
+.Xr ifconfig 8
.Sh HISTORY
The
.Fn link_addr
diff --git a/lib/libc/stdio/stdio.3 b/lib/libc/stdio/stdio.3
index 9c111d106dd..687a62ab659 100644
--- a/lib/libc/stdio/stdio.3
+++ b/lib/libc/stdio/stdio.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: stdio.3,v 1.5 1998/03/09 06:36:30 deraadt Exp $
+.\" $OpenBSD: stdio.3,v 1.6 1999/05/10 17:56:29 aaron Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -156,10 +156,7 @@ The
.Nm stdio
library is a part of the library
.Xr libc
-and routines are automatically loaded as needed by the compilers
-.Xr cc 1
-and
-.Xr pc 1 .
+and routines are automatically loaded as needed by the compiler.
The
.Tn SYNOPSIS
sections of the following manual pages indicate which include files
diff --git a/lib/libc/stdlib/alloca.3 b/lib/libc/stdlib/alloca.3
index ef872207726..92d220beecd 100644
--- a/lib/libc/stdlib/alloca.3
+++ b/lib/libc/stdlib/alloca.3
@@ -29,7 +29,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: alloca.3,v 1.3 1996/08/19 08:33:22 tholo Exp $
+.\" $OpenBSD: alloca.3,v 1.4 1999/05/10 17:56:28 aaron Exp $
.\"
.Dd May 2, 1991
.Dt ALLOCA 3
@@ -55,8 +55,8 @@ The
.Fn alloca
function returns a pointer to the beginning of the allocated space.
.Sh SEE ALSO
+.Xr pagesize 1 ,
.Xr brk 2 ,
-.Xr pagesize 2
.Xr calloc 3 ,
.Xr malloc 3 ,
.Xr realloc 3 ,
diff --git a/lib/libc/stdlib/malloc.3 b/lib/libc/stdlib/malloc.3
index 9edff6709c6..5daf18ac05c 100644
--- a/lib/libc/stdlib/malloc.3
+++ b/lib/libc/stdlib/malloc.3
@@ -33,7 +33,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: malloc.3,v 1.11 1999/03/23 21:07:57 millert Exp $
+.\" $OpenBSD: malloc.3,v 1.12 1999/05/10 17:56:28 aaron Exp $
.\"
.Dd August 27, 1996
.Dt MALLOC 3
@@ -253,9 +253,9 @@ detects an error or warning condition,
a message will be printed to filedescriptor
2 (not using stdio).
Errors will always result in the process being
-.Xr abort 2 'ed,
-If the ``A'' option has been specified, also warnings will
-.Xr abort 2
+.Xr abort 3 'ed.
+If the ``A'' option has been specified, warnings will also
+.Xr abort 3
the process.
.Pp
Here is a brief description of the error messages and what they mean:
diff --git a/lib/libc/stdlib/tsearch.3 b/lib/libc/stdlib/tsearch.3
index c2ef8ae6cb3..cb8b050e7b7 100644
--- a/lib/libc/stdlib/tsearch.3
+++ b/lib/libc/stdlib/tsearch.3
@@ -23,7 +23,7 @@
.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
.\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $OpenBSD: tsearch.3,v 1.3 1999/02/27 21:56:03 deraadt Exp $
+.\" $OpenBSD: tsearch.3,v 1.4 1999/05/10 17:56:28 aaron Exp $
.\"
.Dd June 15, 1997
.Dt TSEARCH 3
@@ -95,7 +95,6 @@ specifying the traversal type, and a node level (where level
zero is the root of the tree).
.Sh SEE ALSO
.Xr bsearch 3 ,
-.Xr hsearch 3 ,
.Xr lsearch 3
.Sh RETURN VALUES
The
diff --git a/lib/libc/sys/execve.2 b/lib/libc/sys/execve.2
index 0ad9690481c..7d7c25529cf 100644
--- a/lib/libc/sys/execve.2
+++ b/lib/libc/sys/execve.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: execve.2,v 1.6 1999/02/27 21:56:12 deraadt Exp $
+.\" $OpenBSD: execve.2,v 1.7 1999/05/10 17:56:29 aaron Exp $
.\" $NetBSD: execve.2,v 1.9 1995/02/27 12:32:25 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -169,7 +169,7 @@ in which case all timers are disabled)
.It resource limits Ta see Xr getrlimit 2
.It file mode mask Ta see Xr umask 2
.It signal mask Ta see Xr sigaction 2 ,
-.Xr sigsetmask 2
+.Xr sigsetmask 3
.El
.Pp
When a program is executed as a result of an
diff --git a/lib/libc/sys/fcntl.2 b/lib/libc/sys/fcntl.2
index 9697f3314bd..371fc315224 100644
--- a/lib/libc/sys/fcntl.2
+++ b/lib/libc/sys/fcntl.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: fcntl.2,v 1.9 1999/02/27 21:56:14 deraadt Exp $
+.\" $OpenBSD: fcntl.2,v 1.10 1999/05/10 17:56:29 aaron Exp $
.\" $NetBSD: fcntl.2,v 1.6 1995/02/27 12:32:29 cgd Exp $
.\"
.\" Copyright (c) 1983, 1993
@@ -73,8 +73,8 @@ share the same file status flags).
.It
The close-on-exec flag associated with the new file descriptor
is set to remain open across
-.Xr execv 2
-system calls.
+.Xr execv 3
+calls.
.El
.It Dv F_GETFD
Get the close-on-exec flag associated with the file descriptor
diff --git a/lib/libc/sys/msgctl.2 b/lib/libc/sys/msgctl.2
index 42afd48f40e..f1f242712ea 100644
--- a/lib/libc/sys/msgctl.2
+++ b/lib/libc/sys/msgctl.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: msgctl.2,v 1.5 1998/06/11 18:32:08 deraadt Exp $
+.\" $OpenBSD: msgctl.2,v 1.6 1999/05/10 17:56:29 aaron Exp $
.\" $NetBSD: msgctl.2,v 1.2 1997/03/27 08:20:35 mikel Exp $
.\"
.\" Copyright (c) 1995 Frank van der Linden
@@ -149,7 +149,7 @@ is determined by the
.Va msg_perm.mode
field in the same way as is
done with files (see
-.Xr chmod 2 ),
+.Xr chmod 2 ) ,
but the effective uid can match either the
.Va msg_perm.cuid
field or the
diff --git a/lib/libc/sys/semctl.2 b/lib/libc/sys/semctl.2
index 3495824780d..350446346d8 100644
--- a/lib/libc/sys/semctl.2
+++ b/lib/libc/sys/semctl.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: semctl.2,v 1.6 1998/06/11 18:32:10 deraadt Exp $
+.\" $OpenBSD: semctl.2,v 1.7 1999/05/10 17:56:29 aaron Exp $
.\" $NetBSD: semctl.2,v 1.2 1997/03/27 08:20:40 mikel Exp $
.\"
.\" Copyright (c) 1995 Frank van der Linden
@@ -166,7 +166,7 @@ is determined by the
.Va sem_perm.mode
field in the same way as is
done with files (see
-.Xr chmod 2 ),
+.Xr chmod 2 ) ,
but the effective uid can match either the
.Va sem_perm.cuid
field or the
diff --git a/lib/libc/sys/shmctl.2 b/lib/libc/sys/shmctl.2
index e1435d04c10..726584ffd79 100644
--- a/lib/libc/sys/shmctl.2
+++ b/lib/libc/sys/shmctl.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: shmctl.2,v 1.6 1998/06/11 18:32:11 deraadt Exp $
+.\" $OpenBSD: shmctl.2,v 1.7 1999/05/10 17:56:29 aaron Exp $
.\" $NetBSD: shmctl.2,v 1.3 1997/03/27 08:20:39 mikel Exp $
.\"
.\" Copyright (c) 1995 Frank van der Linden
@@ -138,7 +138,7 @@ are determined by the
.Va shm_perm.mode
field in the same way as is
done with files (see
-.Xr chmod 2 ),
+.Xr chmod 2 ) ,
but the effective uid can match either the
.Va shm_perm.cuid
field or the
diff --git a/lib/libc/sys/sigaction.2 b/lib/libc/sys/sigaction.2
index 6cb4f6de95a..81c9e2d585b 100644
--- a/lib/libc/sys/sigaction.2
+++ b/lib/libc/sys/sigaction.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sigaction.2,v 1.18 1999/02/27 21:56:49 deraadt Exp $
+.\" $OpenBSD: sigaction.2,v 1.19 1999/05/10 17:56:29 aaron Exp $
.\" $NetBSD: sigaction.2,v 1.7 1995/10/12 15:41:16 jtc Exp $
.\"
.\" Copyright (c) 1980, 1990, 1993
@@ -447,12 +447,12 @@ flags are options commonly found in other operating systems.
.Xr kill 2 ,
.Xr ptrace 2 ,
.Xr sigaltstack 2 ,
-.Xr sigpause 2 ,
.Xr sigprocmask 2 ,
.Xr sigsuspend 2 ,
.Xr wait 2 ,
.Xr setjmp 3 ,
.Xr sigblock 3 ,
+.Xr sigpause 3 ,
.Xr sigsetmask 3 ,
.Xr sigsetops 3 ,
.Xr sigvec 3 ,