diff options
-rw-r--r-- | lib/libc/stdlib/abort.3 | 4 | ||||
-rw-r--r-- | lib/libc/sys/dup.2 | 4 | ||||
-rw-r--r-- | lib/libc/sys/fcntl.2 | 4 | ||||
-rw-r--r-- | lib/libc/sys/getgid.2 | 2 | ||||
-rw-r--r-- | lib/libc/sys/getpid.2 | 2 | ||||
-rw-r--r-- | lib/libc/sys/intro.2 | 2 | ||||
-rw-r--r-- | lib/libc/sys/open.2 | 4 | ||||
-rw-r--r-- | lib/libc/sys/select.2 | 4 | ||||
-rw-r--r-- | lib/libcompat/regexp/regexp.3 | 2 | ||||
-rw-r--r-- | share/man/man5/a.out.5 | 1 | ||||
-rw-r--r-- | share/man/man5/core.5 | 3 | ||||
-rw-r--r-- | share/man/man5/stab.5 | 2 | ||||
-rw-r--r-- | share/man/man5/types.5 | 3 | ||||
-rw-r--r-- | usr.bin/checknr/checknr.1 | 3 | ||||
-rw-r--r-- | usr.bin/gprof/gprof.1 | 4 | ||||
-rw-r--r-- | usr.bin/xlint/xlint/lint.1 | 6 | ||||
-rw-r--r-- | usr.sbin/lpr/lpd/lpd.8 | 4 |
17 files changed, 24 insertions, 30 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. diff --git a/lib/libcompat/regexp/regexp.3 b/lib/libcompat/regexp/regexp.3 index d1a3a000d80..d57716e2230 100644 --- a/lib/libcompat/regexp/regexp.3 +++ b/lib/libcompat/regexp/regexp.3 @@ -181,7 +181,7 @@ with a suitable indicator of origin, on the standard error output and invokes -.Xr exit 2 . +.Xr exit 3 . The .Fn regerror function diff --git a/share/man/man5/a.out.5 b/share/man/man5/a.out.5 index 202c2bfef5b..c67e28dfae7 100644 --- a/share/man/man5/a.out.5 +++ b/share/man/man5/a.out.5 @@ -437,7 +437,6 @@ is always 4 on 32-bit machines. .Xr execve 2 , .Xr nlist 3 , .Xr core 5 , -.Xr dbx 5 , .Xr stab 5 , .Xr link 5 .Sh HISTORY diff --git a/share/man/man5/core.5 b/share/man/man5/core.5 index 15af86b7dcd..a5842a8aa75 100644 --- a/share/man/man5/core.5 +++ b/share/man/man5/core.5 @@ -100,10 +100,7 @@ The size of a ``page'' is given by the constant (also from .Aq Pa sys/param.h ) . .Sh SEE ALSO -.Xr adb 1 , -.Xr dbx 1 , .Xr gdb 1 , -.Xr kgdb 1 , .Xr sigaction 2 , .Xr setrlimit 2 .Sh HISTORY diff --git a/share/man/man5/stab.5 b/share/man/man5/stab.5 index 5003d72d8cb..d6a9d097690 100644 --- a/share/man/man5/stab.5 +++ b/share/man/man5/stab.5 @@ -212,7 +212,7 @@ compiled files: .Sh SEE ALSO .Xr as 1 , .Xr ld 1 , -.Xr dbx 1 , +.Xr gdb 1 , .Xr a.out 5 .Sh BUGS .Pp diff --git a/share/man/man5/types.5 b/share/man/man5/types.5 index b54a5369002..1bb56c5f5c3 100644 --- a/share/man/man5/types.5 +++ b/share/man/man5/types.5 @@ -140,8 +140,7 @@ typedef struct fd_set { .Sh SEE ALSO .Xr fs 5 , .Xr time 3 , -.Xr lseek 2 , -.Xr adb 1 +.Xr lseek 2 .Sh HISTORY A .Nm diff --git a/usr.bin/checknr/checknr.1 b/usr.bin/checknr/checknr.1 index 46bb1c92db4..3587bf40053 100644 --- a/usr.bin/checknr/checknr.1 +++ b/usr.bin/checknr/checknr.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: checknr.1,v 1.2 1996/06/26 05:31:50 deraadt Exp $ +.\" $OpenBSD: checknr.1,v 1.3 1997/07/17 07:39:53 deraadt Exp $ .\" $NetBSD: checknr.1,v 1.5 1995/03/26 04:10:14 glass Exp $ .\" .\" Copyright (c) 1980, 1990, 1993 @@ -140,7 +140,6 @@ macro packages. .Sh SEE ALSO .Xr nroff 1 , .Xr troff 1 , -.Xr checkeq 1 , .Xr ms 7 , .Xr me 7 .Sh DIAGNOSTICS diff --git a/usr.bin/gprof/gprof.1 b/usr.bin/gprof/gprof.1 index cfbb8d6e3dd..58a6262f667 100644 --- a/usr.bin/gprof/gprof.1 +++ b/usr.bin/gprof/gprof.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: gprof.1,v 1.4 1996/10/15 23:55:56 deraadt Exp $ +.\" $OpenBSD: gprof.1,v 1.5 1997/07/17 07:39:54 deraadt Exp $ .\" $NetBSD: gprof.1,v 1.6 1995/11/21 22:24:55 jtc Exp $ .\" .\" Copyright (c) 1983, 1990, 1993 @@ -288,7 +288,7 @@ propagated properly, unless the signal catcher was invoked during the execution of the profiling routine, in which case all is lost. .Pp The profiled program must call -.Xr exit 2 +.Xr exit 3 or return normally for the profiling information to be saved in the .Pa gmon.out diff --git a/usr.bin/xlint/xlint/lint.1 b/usr.bin/xlint/xlint/lint.1 index e36d809fb25..8ddb96303e4 100644 --- a/usr.bin/xlint/xlint/lint.1 +++ b/usr.bin/xlint/xlint/lint.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: lint.1,v 1.4 1996/10/08 01:20:58 michaels Exp $ +.\" $OpenBSD: lint.1,v 1.5 1997/07/17 07:40:29 deraadt Exp $ .\" $NetBSD: lint.1,v 1.3 1995/10/23 13:45:31 jpo Exp $ .\" .\" Copyright (c) 1994, 1995 Jochen Pohl @@ -384,7 +384,7 @@ Suppress complaints about use of long long integer types. At appropriate points, inhibit complaints about unreachable code. (This comment is typically placed just after calls to functions like -.Xr exit 2 ). +.Xr exit 3 ). .It Li /* PRINTFLIKE Ns Ar n Li */ makes .Nm @@ -489,7 +489,7 @@ temporaries Jochen Pohl .Sh BUGS The routines -.Xr exit 2 , +.Xr exit 3 , .Xr longjmp 3 and other functions that do not return are not understood; this causes various incorrect diagnostics. diff --git a/usr.sbin/lpr/lpd/lpd.8 b/usr.sbin/lpr/lpd/lpd.8 index 3ef4ae1475a..04af2c8afe7 100644 --- a/usr.sbin/lpr/lpd/lpd.8 +++ b/usr.sbin/lpr/lpd/lpd.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: lpd.8,v 1.4 1997/06/02 09:20:34 deraadt Exp $ +.\" $OpenBSD: lpd.8,v 1.5 1997/07/17 07:43:07 deraadt Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -228,7 +228,7 @@ but not under same administrative control. .El .Sh SEE ALSO .Xr lpc 8 , -.Xr pac 1 , +.Xr pac 8 , .Xr lpr 1 , .Xr lpq 1 , .Xr lprm 1 , |