diff options
author | mpp <mpp@FreeBSD.org> | 1996-02-11 22:38:05 +0000 |
---|---|---|
committer | mpp <mpp@FreeBSD.org> | 1996-02-11 22:38:05 +0000 |
commit | 3aeb7f1d49074a8872660d87d96bd1ba0e41d3e5 (patch) | |
tree | 88dc95b3030f35aa0317c9879f6efa7e9605d2d5 /lib | |
parent | a3a752bd16c86a841f9dbe7ed1efdfbbae49f627 (diff) | |
download | FreeBSD-src-3aeb7f1d49074a8872660d87d96bd1ba0e41d3e5.zip FreeBSD-src-3aeb7f1d49074a8872660d87d96bd1ba0e41d3e5.tar.gz |
Correct a bunch of man page cross references and generally
try and silence "manck".
ncurses, rpc, and some of the gnu stuff are still a big mess, however.
Diffstat (limited to 'lib')
34 files changed, 69 insertions, 65 deletions
diff --git a/lib/libc/compat-43/gethostid.3 b/lib/libc/compat-43/gethostid.3 index 8f56a28..72222cc 100644 --- a/lib/libc/compat-43/gethostid.3 +++ b/lib/libc/compat-43/gethostid.3 @@ -57,10 +57,10 @@ returns the 32-bit identifier for the current processor. .Pp This function has been deprecated. The hostid should be set or retrieved by use of -.Xr sysctl 2 . +.Xr sysctl 3 . .Sh SEE ALSO -.Xr sysctl 2 , .Xr gethostname 3 , +.Xr sysctl 3 , .Xr sysctl 8 . .Sh BUGS 32 bits for the identifier is too small. diff --git a/lib/libc/gen/Makefile.inc b/lib/libc/gen/Makefile.inc index 3809f44..4ce40f0 100644 --- a/lib/libc/gen/Makefile.inc +++ b/lib/libc/gen/Makefile.inc @@ -1,5 +1,5 @@ # From: @(#)Makefile.inc 8.3 (Berkeley) 4/16/94 -# $Id: Makefile.inc,v 1.16 1995/05/30 05:40:08 rgrimes Exp $ +# $Id: Makefile.inc,v 1.17 1996/01/22 00:00:45 julian Exp $ # machine-independent gen sources .PATH: ${.CURDIR}/${MACHINE}/gen ${.CURDIR}/gen @@ -62,7 +62,7 @@ MLINKS+=directory.3 closedir.3 directory.3 dirfd.3 directory.3 opendir.3 \ directory.3 readdir.3 directory.3 rewinddir.3 directory.3 seekdir.3 \ directory.3 telldir.3 MLINKS+=exec.3 execl.3 exec.3 execle.3 exec.3 execlp.3 exec.3 execv.3 \ - exec.3 execvp.3 + exec.3 execvp.3 exec.3 exect.3 MLINKS+=err.3 verr.3 err.3 errx.3 err.3 verrx.3 err.3 warn.3 err.3 vwarn.3 \ err.3 warnx.3 err.3 vwarnx.3 MLINKS+=isinf.3 isnan.3 diff --git a/lib/libc/gen/err.3 b/lib/libc/gen/err.3 index a80edeb..da260c9 100644 --- a/lib/libc/gen/err.3 +++ b/lib/libc/gen/err.3 @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" From: @(#)err.3 8.1 (Berkeley) 6/9/93 -.\" $Id$ +.\" $Id: err.3,v 1.2 1995/04/13 18:04:05 wollman Exp $ .\" .Dd April 13, 1995 .Dt ERR 3 @@ -107,7 +107,7 @@ functions do not return, but exit with the value of the argument The .Fn err_set_exit function can be used to specify a function which is called before -.Xr exit 2 +.Xr exit 3 to perform any necessary cleanup; passing a null function pointer for .Va exitf resets the hook to do nothing. @@ -135,6 +135,7 @@ if ((fd = open(block_device, O_RDONLY, 0)) == -1) err(1, "%s", block_device); .Ed .Sh SEE ALSO +.Xr exit 3 , .Xr strerror 3 .Sh HISTORY The diff --git a/lib/libc/gen/exec.3 b/lib/libc/gen/exec.3 index 3438bec..5c74ada 100644 --- a/lib/libc/gen/exec.3 +++ b/lib/libc/gen/exec.3 @@ -213,10 +213,9 @@ for any of the errors specified for the library function .Xr sh 1 , .Xr execve 2 , .Xr fork 2 , -.Xr trace 2 , -.Xr environ 7 , +.Xr ktrace 2 , .Xr ptrace 2 , -.Xr environ 7 , +.Xr environ 7 . .Sh COMPATIBILITY Historically, the default path for the .Fn execlp diff --git a/lib/libc/gen/getbootfile.3 b/lib/libc/gen/getbootfile.3 index cfab748..b411050 100644 --- a/lib/libc/gen/getbootfile.3 +++ b/lib/libc/gen/getbootfile.3 @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" From: @(#)gethostname.3 8.1 (Berkeley) 6/4/93 -.\" $Id$ +.\" $Id: getbootfile.3,v 1.1 1994/09/23 20:21:59 wollman Exp $ .\" .Dd September 23, 1994 .Dt GETBOOTFILE 3 @@ -48,7 +48,7 @@ The function retrieves the full pathname of the file from which the current kernel was loaded, and returns a static pointer to the name. A read/write interface to this information is available via the -.Xr sysctl 2 +.Xr sysctl 3 MIB variable .Dq Li kern.bootfile . .Sh RETURN VALUES @@ -57,7 +57,7 @@ fails, a a null pointer is returned and an error code is placed in the global location .Va errno . .Sh SEE ALSO -.Xr sysctl 2 +.Xr sysctl 3 .Sh BUGS If the boot blocks have not been modified to pass this information into the kernel at boot time, the static string diff --git a/lib/libc/gen/getdomainname.3 b/lib/libc/gen/getdomainname.3 index 8ba5995..9b84434 100644 --- a/lib/libc/gen/getdomainname.3 +++ b/lib/libc/gen/getdomainname.3 @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" from: @(#)getdomainname.2 6.7 (Berkeley) 3/10/91 -.\" $Id: getdomainname.2,v 1.1 1993/10/25 03:11:30 rgrimes Exp $ +.\" $Id: getdomainname.3,v 1.1 1994/12/18 14:06:39 guido Exp $ .\" .Dd March 10, 1991 .Dt GETDOMAINNAME 3 @@ -83,8 +83,8 @@ invalid address. The caller tried to set the domainname and was not the super-user. .El .Sh SEE ALSO -.Xr sysctl 2 -.Xr gethostid 3 +.Xr gethostid 3 , +.Xr sysctl 3 .Sh BUGS Host names are limited to .Dv MAXHOSTNAMELEN diff --git a/lib/libc/gen/gethostname.3 b/lib/libc/gen/gethostname.3 index fcb0303..88ccf3a 100644 --- a/lib/libc/gen/gethostname.3 +++ b/lib/libc/gen/gethostname.3 @@ -82,8 +82,8 @@ invalid address. The caller tried to set the hostname and was not the super-user. .El .Sh SEE ALSO -.Xr sysctl 2 -.Xr gethostid 3 +.Xr gethostid 3 , +.Xr sysctl 3 .Sh BUGS Host names are limited to .Dv MAXHOSTNAMELEN diff --git a/lib/libc/gen/getloadavg.3 b/lib/libc/gen/getloadavg.3 index 2eafd5b..e451d67 100644 --- a/lib/libc/gen/getloadavg.3 +++ b/lib/libc/gen/getloadavg.3 @@ -55,8 +55,8 @@ If the load average was unobtainable, \-1 is returned; otherwise, the number of samples actually retrieved is returned. .Sh SEE ALSO .Xr uptime 1 , -.Xr sysctl 2 , -.Xr kvm_getloadavg 3 +.Xr kvm_getloadavg 3 , +.Xr sysctl 3 .Sh HISTORY The .Fn getloadavg diff --git a/lib/libc/gen/getpwent.3 b/lib/libc/gen/getpwent.3 index e916b50..a6a1321 100644 --- a/lib/libc/gen/getpwent.3 +++ b/lib/libc/gen/getpwent.3 @@ -180,12 +180,12 @@ The current password file A Version 7 format password file .El .Sh SEE ALSO -.Xr getlogin 3 , +.Xr getlogin 2 , .Xr getgrent 3 , +.Xr yp 4 , .Xr passwd 5 , .Xr pwd_mkdb 8 , -.Xr vipw 8 , -.Xr yp 4 +.Xr vipw 8 .Sh HISTORY The .Nm getpwent , diff --git a/lib/libc/gen/setjmp.3 b/lib/libc/gen/setjmp.3 index 47cdfa5..b306c9c 100644 --- a/lib/libc/gen/setjmp.3 +++ b/lib/libc/gen/setjmp.3 @@ -44,7 +44,8 @@ .Nm setjmp , .Nm longjmp , .Nm _setjmp , -.Nm _longjmp longjmperror +.Nm _longjmp , +.Nm longjmperror .Nd non-local jumps .Sh SYNOPSIS .Fd #include <setjmp.h> diff --git a/lib/libc/gen/tcgetpgrp.3 b/lib/libc/gen/tcgetpgrp.3 index e97c256..40f48b1 100644 --- a/lib/libc/gen/tcgetpgrp.3 +++ b/lib/libc/gen/tcgetpgrp.3 @@ -68,7 +68,7 @@ underlying terminal device represented by is not the controlling terminal. .El .Sh SEE ALSO -.Xr setpgid 3 , +.Xr setpgid 2 , .Xr setsid 2 , .Xr tcsetpgrp 3 .Sh STANDARDS diff --git a/lib/libc/gen/tcsetpgrp.3 b/lib/libc/gen/tcsetpgrp.3 index e1f8af0..9047e4c 100644 --- a/lib/libc/gen/tcsetpgrp.3 +++ b/lib/libc/gen/tcsetpgrp.3 @@ -89,7 +89,7 @@ argument does not match the process group ID of a process in the same session as the calling process. .El .Sh SEE ALSO -.Xr setpgid 3 , +.Xr setpgid 2 , .Xr setsid 2 , .Xr tcgetpgrp 3 .Sh STANDARDS diff --git a/lib/libc/locale/euc.4 b/lib/libc/locale/euc.4 index 966b896..9524a4d 100644 --- a/lib/libc/locale/euc.4 +++ b/lib/libc/locale/euc.4 @@ -38,7 +38,7 @@ .Dt EUC 4 .Os .Sh NAME -.Nm EUC +.Nm euc .Nd EUC encoding of runes .Sh SYNOPSIS \fBENCODING "EUC"\fP diff --git a/lib/libc/locale/euc.5 b/lib/libc/locale/euc.5 index 966b896..9524a4d 100644 --- a/lib/libc/locale/euc.5 +++ b/lib/libc/locale/euc.5 @@ -38,7 +38,7 @@ .Dt EUC 4 .Os .Sh NAME -.Nm EUC +.Nm euc .Nd EUC encoding of runes .Sh SYNOPSIS \fBENCODING "EUC"\fP diff --git a/lib/libc/net/ethers.3 b/lib/libc/net/ethers.3 index 337618e..a24f177 100644 --- a/lib/libc/net/ethers.3 +++ b/lib/libc/net/ethers.3 @@ -28,7 +28,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $Id$ +.\" $Id: ethers.3,v 1.1 1995/04/12 22:28:49 wpaul Exp $ .\" .Dd April 12, 1995 .Dt ETHERS 3 @@ -169,8 +169,8 @@ maps in addition to the data in the .Pa /etc/ethers file. .Sh SEE ALSO -.Xr ethers 5 , -.Xr yp 8 +.Xr yp 4 , +.Xr ethers 5 .Sh BUGS .Pp The diff --git a/lib/libc/stdlib/abort.3 b/lib/libc/stdlib/abort.3 index 83b4e04..7be4ee6 100644 --- a/lib/libc/stdlib/abort.3 +++ b/lib/libc/stdlib/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/stdlib/alloca.3 b/lib/libc/stdlib/alloca.3 index ad5aaf69..498348c 100644 --- a/lib/libc/stdlib/alloca.3 +++ b/lib/libc/stdlib/alloca.3 @@ -59,10 +59,10 @@ If the allocation failed, a pointer is returned. .Sh SEE ALSO .Xr brk 2 , -.Xr pagesize 2 .Xr calloc 3 , +.Xr getpagesize 3 , .Xr malloc 3 , -.Xr realloc 3 , +.Xr realloc 3 .Sh BUGS The .Fn alloca diff --git a/lib/libc/stdlib/malloc.3 b/lib/libc/stdlib/malloc.3 index 9393b76..58d0ae4 100644 --- a/lib/libc/stdlib/malloc.3 +++ b/lib/libc/stdlib/malloc.3 @@ -162,9 +162,9 @@ function returns either a null pointer or a pointer to the possibly moved allocated space. .Sh SEE ALSO .Xr brk 2 , -.Xr pagesize 2 , -.Xr calloc 3 , .Xr alloca 3 , +.Xr calloc 3 , +.Xr getpagesize 3 , .Xr memory 3 .Sh STANDARDS The diff --git a/lib/libc/stdtime/time2posix.3 b/lib/libc/stdtime/time2posix.3 index 846a52e..740e532 100644 --- a/lib/libc/stdtime/time2posix.3 +++ b/lib/libc/stdtime/time2posix.3 @@ -115,5 +115,5 @@ degenerate to the identity function. difftime(3), localtime(3), mktime(3), -time(2) +time(3) .\" @(#)time2posix.3 7.3 diff --git a/lib/libc/sys/execve.2 b/lib/libc/sys/execve.2 index 2bfb0a2..8375d68 100644 --- a/lib/libc/sys/execve.2 +++ b/lib/libc/sys/execve.2 @@ -267,9 +267,10 @@ the real is ``root'', then the program has some of the powers of a super-user as well. .Sh SEE ALSO -.Xr exit 2 , +.Xr _exit 2 , .Xr fork 2 , .Xr execl 3 , +.Xr exit 3 , .Xr environ 7 .Sh HISTORY The diff --git a/lib/libc/sys/getgid.2 b/lib/libc/sys/getgid.2 index 52519d7..574c15a 100644 --- a/lib/libc/sys/getgid.2 +++ b/lib/libc/sys/getgid.2 @@ -70,7 +70,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 5f77706..22f9257 100644 --- a/lib/libc/sys/getpid.2 +++ b/lib/libc/sys/getpid.2 @@ -63,7 +63,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/getrlimit.2 b/lib/libc/sys/getrlimit.2 index 4ef3258..33c3ddd 100644 --- a/lib/libc/sys/getrlimit.2 +++ b/lib/libc/sys/getrlimit.2 @@ -171,7 +171,8 @@ raised the maximum limit value, and the caller is not the super-user. .El .Sh SEE ALSO .Xr csh 1 , -.Xr quota 2 , +.Xr quota 1 , +.Xr quotactl 2 , .Xr sigaltstack 2 , .Xr sigvec 2 , .Xr sysctl 3 diff --git a/lib/libc/sys/getsockopt.2 b/lib/libc/sys/getsockopt.2 index e2ec257..ee0ab72 100644 --- a/lib/libc/sys/getsockopt.2 +++ b/lib/libc/sys/getsockopt.2 @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)getsockopt.2 8.3 (Berkeley) 4/19/94 -.\" $Id: getsockopt.2,v 1.2 1995/11/03 18:34:36 wollman Exp $ +.\" $Id: getsockopt.2,v 1.3 1996/01/22 00:01:59 julian Exp $ .\" .Dd November 3, 1995 .Dt GETSOCKOPT 2 @@ -382,12 +382,12 @@ this error may also be returned if is not in a valid part of the process address space. .El .Sh SEE ALSO -.Xr sysctl 1 , .Xr ioctl 2 , .Xr socket 2 , .Xr getprotoent 3 , .Xr sysctl 3 , -.Xr protocols 5 +.Xr protocols 5 , +.Xr sysctl 8 .Sh BUGS Several of the socket options should be handled at lower levels of the system. .Sh HISTORY diff --git a/lib/libc/sys/listen.2 b/lib/libc/sys/listen.2 index 6d2a64f..d9b31ec 100644 --- a/lib/libc/sys/listen.2 +++ b/lib/libc/sys/listen.2 @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" From: @(#)listen.2 8.2 (Berkeley) 12/11/93 -.\" $Id: listen.2,v 1.3 1995/11/03 18:34:38 wollman Exp $ +.\" $Id: listen.2,v 1.4 1996/01/22 00:02:02 julian Exp $ .\" .Dd November 3, 1995 .Dt LISTEN 2 @@ -123,11 +123,11 @@ The socket is not of a type that supports the operation .Fn listen . .El .Sh SEE ALSO -.Xr sysctl 1 , .Xr accept 2 , .Xr connect 2 , .Xr socket 2 , -.Xr sysctl 3 +.Xr sysctl 3 , +.Xr sysctl 8 .Sh HISTORY The .Nm diff --git a/lib/libc/sys/mmap.2 b/lib/libc/sys/mmap.2 index 2ca868e..88684de 100644 --- a/lib/libc/sys/mmap.2 +++ b/lib/libc/sys/mmap.2 @@ -202,14 +202,14 @@ parameter wasn't available. .Dv MAP_ANON was specified and insufficient memory was available. .Sh "SEE ALSO" -.Xr getpagesize 2 , .Xr msync 2 , .Xr munmap 2 , .Xr mprotect 2 , .Xr madvise 2 , .Xr mincore 2 , .Xr mlock 2 , -.Xr munlock 2 +.Xr munlock 2 , +.Xr getpagesize 3 .Sh BUGS .Ar len diff --git a/lib/libc/sys/munmap.2 b/lib/libc/sys/munmap.2 index d62ff37..5d14016 100644 --- a/lib/libc/sys/munmap.2 +++ b/lib/libc/sys/munmap.2 @@ -68,12 +68,12 @@ parameter was negative, or some part of the region being unmapped is not part of the currently valid address space. .Sh "SEE ALSO" -.Xr getpagesize 2 , .Xr msync 2 , .Xr munmap 2 , .Xr mprotect 2 , .Xr madvise 2 , -.Xr mincore 2 +.Xr mincore 2 , +.Xr getpagesize 3 .Sh HISTORY The .Fn munmap diff --git a/lib/libc/sys/rtprio.2 b/lib/libc/sys/rtprio.2 index c9957fd..7926e92 100644 --- a/lib/libc/sys/rtprio.2 +++ b/lib/libc/sys/rtprio.2 @@ -27,7 +27,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $Id: $ +.\" $Id: rtprio.2,v 1.3 1995/08/05 07:31:19 bde Exp $ .\" .Dd July 23, 1994 .Dt RTPRIO 2 @@ -101,6 +101,6 @@ implementation in FreeBSD was substantially rewritten by David Greenman. .Xr rtprio 1 , .Xr nice 1 , .Xr ps 1 , -.Xr nice 2 , +.Xr setpriority 2 , +.Xr nice 3 , .Xr renice 8 - diff --git a/lib/libc/sys/setsid.2 b/lib/libc/sys/setsid.2 index 48ac6a0..404b1b8 100644 --- a/lib/libc/sys/setsid.2 +++ b/lib/libc/sys/setsid.2 @@ -68,7 +68,7 @@ group ID of a process other than the calling process matches the process ID of the calling process. .El .Sh SEE ALSO -.Xr setpgid 3 , +.Xr setpgid 2 , .Xr tcgetpgrp 3 , .Xr tcsetpgrp 3 .Sh STANDARDS diff --git a/lib/libc/sys/wait.2 b/lib/libc/sys/wait.2 index c0077b1..cd9ab62 100644 --- a/lib/libc/sys/wait.2 +++ b/lib/libc/sys/wait.2 @@ -156,7 +156,7 @@ One of the first three macros will evaluate to a non-zero (true) value: True if the process terminated normally by a call to .Xr _exit 2 or -.Xr exit 2 . +.Xr exit 3 . .It Fn WIFSIGNALED status True if the process terminated due to receipt of a signal. .It Fn WIFSTOPPED status @@ -178,7 +178,7 @@ is true, evaluates to the low-order 8 bits of the argument passed to .Xr _exit 2 or -.Xr exit 2 +.Xr exit 3 by the child. .It Fn WTERMSIG status If @@ -287,8 +287,9 @@ and the ability to restart a pending .Fn wait call are extensions to the POSIX interface. .Sh SEE ALSO -.Xr exit 2 , -.Xr sigaction 2 +.Xr _exit 2 , +.Xr sigaction 2 , +.Xr exit 3 .Sh HISTORY A .Nm diff --git a/lib/libcompat/4.1/ftime.3 b/lib/libcompat/4.1/ftime.3 index a9491af..61d02a6 100644 --- a/lib/libcompat/4.1/ftime.3 +++ b/lib/libcompat/4.1/ftime.3 @@ -75,7 +75,7 @@ Daylight Saving time applies locally during the appropriate part of the year. .Sh SEE ALSO .Xr gettimeofday 2 , .Xr settimeofday 2 , -.Xr time 2 , +.Xr time 3 , .Xr ctime 3 .Sh HISTORY The diff --git a/lib/libcompat/4.1/vtimes.3 b/lib/libcompat/4.1/vtimes.3 index e02bb72..3edb741 100644 --- a/lib/libcompat/4.1/vtimes.3 +++ b/lib/libcompat/4.1/vtimes.3 @@ -131,9 +131,9 @@ These numbers account only for real data supplied by the caching mechanism is charged only to the first process to read or write the data. .Sh SEE ALSO -.Xr time 2 , .Xr wait3 2 , -.Xr getrusage 2 +.Xr getrusage 2 , +.Xr time 3 .Sh HISTORY The .Fn vlimit diff --git a/lib/libcompat/4.4/cuserid.3 b/lib/libcompat/4.4/cuserid.3 index 944a9a7..646f353 100644 --- a/lib/libcompat/4.4/cuserid.3 +++ b/lib/libcompat/4.4/cuserid.3 @@ -29,7 +29,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.\" $Id$ +.\" $Id: cuserid.3,v 1.1 1995/04/10 18:48:03 joerg Exp $ .\" .Dd April 10, 1995 .Os @@ -79,4 +79,4 @@ the buffer will be filled with a null string. .Sh SEE ALSO .Xr getpwuid 3 , -.Xr geteuid 3 . +.Xr geteuid 2 . diff --git a/lib/libipx/ipx.3 b/lib/libipx/ipx.3 index 8e59fcc..b76cc39 100644 --- a/lib/libipx/ipx.3 +++ b/lib/libipx/ipx.3 @@ -107,9 +107,9 @@ Otherwise, it is converted as a decimal number. None. (See .Sx BUGS . ) .Sh SEE ALSO +.Xr ns 4 , .Xr hosts 5 , -.Xr networks 5 , -.Xr ns 5 , +.Xr networks 5 .Sh HISTORY The precursor .Fn ns_addr |