From 906c1e27fc15d09fe630e425166401aaea7020a5 Mon Sep 17 00:00:00 2001 From: Mike Pritchard Date: Sun, 7 Apr 1996 00:06:21 +0000 Subject: [PATCH] Correct some man page cross references and file location references. --- games/fortune/fortune/fortune.6 | 2 +- lib/libc/stdtime/tzfile.5 | 4 ++-- lib/libc/sys/fcntl.2 | 2 +- lib/libcompat/4.1/vlimit.3 | 2 +- libexec/rpc.sprayd/rpc.sprayd.8 | 4 ++-- sbin/adjkerntz/adjkerntz.8 | 10 +++++----- sbin/bsdlabel/bsdlabel.5 | 6 +++--- sbin/disklabel/disklabel.5 | 6 +++--- sbin/mountd/exports.5 | 2 +- share/man/man4/man4.i386/qcam.4 | 2 +- share/man/man4/termios.4 | 4 ++-- share/man/man4/tty.4 | 4 ++-- share/man/man5/dir.5 | 2 +- share/man/man5/resolver.5 | 2 +- share/man/man7/environ.7 | 2 +- share/man/man7/hier.7 | 2 +- share/man/man8/crash.8 | 2 +- share/man/man8/man8.alpha/crash.8 | 2 +- share/man/man8/man8.i386/crash.8 | 2 +- share/man/man9/style.9 | 6 ++++-- usr.bin/fstat/fstat.1 | 2 +- usr.bin/gprof/gprof.1 | 2 +- usr.bin/window/window.1 | 12 ++++++------ usr.bin/xlint/xlint/lint.1 | 4 ++-- usr.sbin/ac/ac.8 | 4 ++-- usr.sbin/amd/amd/amd.8 | 4 ++-- usr.sbin/mountd/exports.5 | 2 +- usr.sbin/rwhod/rwhod.8 | 6 +++--- usr.sbin/sa/sa.8 | 4 ++-- usr.sbin/timed/timedc/timedc.8 | 2 +- usr.sbin/ypserv/ypserv.8 | 10 +++++----- 31 files changed, 61 insertions(+), 59 deletions(-) diff --git a/games/fortune/fortune/fortune.6 b/games/fortune/fortune/fortune.6 index ad7d997585ef..725817ced1f6 100644 --- a/games/fortune/fortune/fortune.6 +++ b/games/fortune/fortune/fortune.6 @@ -169,4 +169,4 @@ fortune 50% funny 50% not .El .Sh SEE ALSO .Xr regex 3 , -.Xr regcmp 3 , +.Xr regcomp 3 , diff --git a/lib/libc/stdtime/tzfile.5 b/lib/libc/stdtime/tzfile.5 index 9e6f3308bc0b..f894390cc1cd 100644 --- a/lib/libc/stdtime/tzfile.5 +++ b/lib/libc/stdtime/tzfile.5 @@ -40,7 +40,7 @@ four-byte values of type sorted in ascending order. These values are written in ``standard'' byte order. Each is used as a transition time (as returned by -.Xr time 2 ) +.Xr time 3 ) at which the rules for computing local time change. Next come .Li tzh_timecnt @@ -89,7 +89,7 @@ Then there are pairs of four-byte values, written in standard byte order; the first value of each pair gives the time (as returned by -.Xr time 2 ) +.Xr time 3 ) at which a leap second occurs; the second gives the .Em total diff --git a/lib/libc/sys/fcntl.2 b/lib/libc/sys/fcntl.2 index 5587bcfba35c..2e1b7ceb47c1 100644 --- a/lib/libc/sys/fcntl.2 +++ b/lib/libc/sys/fcntl.2 @@ -70,7 +70,7 @@ 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 +.Xr execve 2 system calls. .El .It Dv F_GETFD diff --git a/lib/libcompat/4.1/vlimit.3 b/lib/libcompat/4.1/vlimit.3 index d4ed5f3c7ce8..47368002ac14 100644 --- a/lib/libcompat/4.1/vlimit.3 +++ b/lib/libcompat/4.1/vlimit.3 @@ -92,7 +92,7 @@ is thus a built-in command to .Pp The system refuses to extend the data or stack space when the limits would be exceeded in the normal way; a -.Xr break 2 +.Xr brk 2 call fails if the data space limit is reached, or the process is killed when the stack limit is reached (since the stack cannot be extended, there is no way to send a signal!). diff --git a/libexec/rpc.sprayd/rpc.sprayd.8 b/libexec/rpc.sprayd/rpc.sprayd.8 index cff47264ca97..b2367fae20ab 100644 --- a/libexec/rpc.sprayd/rpc.sprayd.8 +++ b/libexec/rpc.sprayd/rpc.sprayd.8 @@ -27,7 +27,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: rpc.sprayd.8,v 1.2 1995/04/12 00:48:03 jtc Exp $ +.\" $Id: rpc.sprayd.8,v 1.1.1.1 1996/01/05 08:53:39 graichen Exp $ .\" .Dd June 22, 1994 .Dt RPC.SPRAYD 8 @@ -40,7 +40,7 @@ .Sh DESCRIPTION .Nm rpc.sprayd is a server which records packets sent by the -.Xr spray 1 +.Xr spray 8 command and sends a traffic report to the originator of the packets. The .Nm rpc.sprayd diff --git a/sbin/adjkerntz/adjkerntz.8 b/sbin/adjkerntz/adjkerntz.8 index 948dd40b04d0..5c79c667d267 100644 --- a/sbin/adjkerntz/adjkerntz.8 +++ b/sbin/adjkerntz/adjkerntz.8 @@ -136,7 +136,7 @@ Super-user privileges are required for all operations. Time zone change rule, see .Xr tzset 3 ; not needed when -.Xr /usr/sbin/tzsetup +.Xr tzsetup 8 or .Xr zic 8 is used. @@ -144,7 +144,7 @@ is used. .Bl -tag -width /etc/wall_cmos_clock -compact .It Pa /etc/localtime Current zoneinfo file, see -.Xr /usr/sbin/tzsetup +.Xr tzsetup 8 and .Xr zic 8 . .It Pa /etc/wall_cmos_clock @@ -153,11 +153,11 @@ Its presence indicates that the machine's CMOS clock is set to local time, while its absence indicates a UTC CMOS clock. .Sh SEE ALSO .Xr tzset 3 , -.Xr zic 8 , -.Xr rc 8 , .Xr crontab 5 , +.Xr rc 8 , .Xr sysctl 8 , -.Xr tzsetup 8 . +.Xr tzsetup 8 , +.Xr zic 8 . .Sh DIAGNOSTICS No diagnostics. If an error occurs, diff --git a/sbin/bsdlabel/bsdlabel.5 b/sbin/bsdlabel/bsdlabel.5 index fb6f6cd14d58..9062e827932b 100644 --- a/sbin/bsdlabel/bsdlabel.5 +++ b/sbin/bsdlabel/bsdlabel.5 @@ -80,12 +80,12 @@ program. .Pp A copy of the in-core label for a disk can be obtained with the .Dv DIOCGDINFO -.Xr ioctl ; +.Xr ioctl 2 ; this works with a file descriptor for a block or character (``raw'') device for any partition of the disk. The in-core copy of the label is set by the .Dv DIOCSDINFO -.Xr ioctl . +.Xr ioctl 2 . The offset of a partition cannot generally be changed while it is open, nor can it be made smaller while it is open. One exception is that any change is allowed if no label was found @@ -93,7 +93,7 @@ on the disk, and the driver was able to construct only a skeletal label without partition information. Finally, the .Dv DIOCWDINFO -.Xr ioctl +.Xr ioctl 2 operation sets the in-core label and then updates the on-disk label; there must be an existing label on the disk for this operation to succeed. Thus, the initial label for a disk or disk pack must be installed diff --git a/sbin/disklabel/disklabel.5 b/sbin/disklabel/disklabel.5 index fb6f6cd14d58..9062e827932b 100644 --- a/sbin/disklabel/disklabel.5 +++ b/sbin/disklabel/disklabel.5 @@ -80,12 +80,12 @@ program. .Pp A copy of the in-core label for a disk can be obtained with the .Dv DIOCGDINFO -.Xr ioctl ; +.Xr ioctl 2 ; this works with a file descriptor for a block or character (``raw'') device for any partition of the disk. The in-core copy of the label is set by the .Dv DIOCSDINFO -.Xr ioctl . +.Xr ioctl 2 . The offset of a partition cannot generally be changed while it is open, nor can it be made smaller while it is open. One exception is that any change is allowed if no label was found @@ -93,7 +93,7 @@ on the disk, and the driver was able to construct only a skeletal label without partition information. Finally, the .Dv DIOCWDINFO -.Xr ioctl +.Xr ioctl 2 operation sets the in-core label and then updates the on-disk label; there must be an existing label on the disk for this operation to succeed. Thus, the initial label for a disk or disk pack must be installed diff --git a/sbin/mountd/exports.5 b/sbin/mountd/exports.5 index fc521f224594..73f0207062cb 100644 --- a/sbin/mountd/exports.5 +++ b/sbin/mountd/exports.5 @@ -184,7 +184,7 @@ and optionally .Sm on If the mask is not specified, it will default to the mask for that network class (A, B or C; see -.Xr inet 5 ). +.Xr inet 4 ). .Pp For example: .Bd -literal -offset indent diff --git a/share/man/man4/man4.i386/qcam.4 b/share/man/man4/man4.i386/qcam.4 index d611e5a9831a..a2c2239cc574 100644 --- a/share/man/man4/man4.i386/qcam.4 +++ b/share/man/man4/man4.i386/qcam.4 @@ -59,7 +59,7 @@ accessed as a read-only character device .Sh DIAGNOSTICS None. .Sh SEE ALSO -.Xr qcamcontrol 8 +.Xr qcamcontrol 1 .br The QuickCam reverse engineering project, http://www.crynwr.com/qcpc/ .Sh HISTORY diff --git a/share/man/man4/termios.4 b/share/man/man4/termios.4 index 72e971087a43..1722286cd963 100644 --- a/share/man/man4/termios.4 +++ b/share/man/man4/termios.4 @@ -59,9 +59,9 @@ a connection being present. In practice, applications seldom open these files; they are opened by special programs, such as -.Xr getty 2 +.Xr getty 8 or -.Xr rlogind 2 , +.Xr rlogind 8 , and become an application's standard input, output, and error files. .Ss Job Control in a Nutshell diff --git a/share/man/man4/tty.4 b/share/man/man4/tty.4 index b45478aa6b49..6ed004d93a36 100644 --- a/share/man/man4/tty.4 +++ b/share/man/man4/tty.4 @@ -60,7 +60,7 @@ system when logging in over a network (using .Xr rlogin 1 , or .Xr telnet 1 -for example.) Even in these cases the details of how the terminal +for example). Even in these cases the details of how the terminal file was opened and set up is already handled by special software in the system. Thus, users do not normally need to worry about the details of @@ -68,7 +68,7 @@ how these lines are opened or used. Also, these lines are often used for dialing out of a system (through an out-calling modem), but again the system provides programs that hide the details of accessing these terminal special files (see -.Xr tip 2 .) +.Xr tip 1 ). .Pp When an interactive user logs in, the system prepares the line to behave in a certain way (called a diff --git a/share/man/man5/dir.5 b/share/man/man5/dir.5 index e6f55dea3468..332f46867c54 100644 --- a/share/man/man5/dir.5 +++ b/share/man/man5/dir.5 @@ -75,7 +75,7 @@ File system nodes are ordinary directory files on which has been grafted a file system object, such as a physical disk or a partitioned area of such a disk. (See -.Xr mount 1 +.Xr mount 2 and .Xr mount 8 . ) .Pp diff --git a/share/man/man5/resolver.5 b/share/man/man5/resolver.5 index 0358be61a095..573db5df65f0 100644 --- a/share/man/man5/resolver.5 +++ b/share/man/man5/resolver.5 @@ -81,7 +81,7 @@ If no .Sy domain entry is present, the domain is determined from the local host name returned by -.Xr gethostname 2 ; +.Xr gethostname 3 ; the domain part is taken to be everything after the first `.'. Finally, if the host name does not contain a domain part, the root domain is assumed. diff --git a/share/man/man7/environ.7 b/share/man/man7/environ.7 index 594b825c8d9c..e969e3c7e435 100644 --- a/share/man/man7/environ.7 +++ b/share/man/man7/environ.7 @@ -73,7 +73,7 @@ from the password file .Xr passwd 5 . .It Ev LANG This variable configure all programs which use -.Xr \%setlocale 3 +.Xr setlocale 3 to specified locale. .It Ev PATH The sequence of directories, separated by colons, searched by diff --git a/share/man/man7/hier.7 b/share/man/man7/hier.7 index e8e8614d33e2..3013278dd524 100644 --- a/share/man/man7/hier.7 +++ b/share/man/man7/hier.7 @@ -51,7 +51,7 @@ block and character device files .It Li MAKEDEV script for creating device files; see -.Xr makedev 8 +.Xr MAKEDEV 8 .It Li fd/ file descriptor files; see diff --git a/share/man/man8/crash.8 b/share/man/man8/crash.8 index da81c478e817..a60e298873ea 100644 --- a/share/man/man8/crash.8 +++ b/share/man/man8/crash.8 @@ -92,7 +92,7 @@ and execute the initialization process, .Xr init 8 . The root filesystem is incorrect or has been corrupted, or the mode or type of -.Pa /etc/init +.Pa /sbin/init forbids execution or is totally missing. .Pp .Pp diff --git a/share/man/man8/man8.alpha/crash.8 b/share/man/man8/man8.alpha/crash.8 index da81c478e817..a60e298873ea 100644 --- a/share/man/man8/man8.alpha/crash.8 +++ b/share/man/man8/man8.alpha/crash.8 @@ -92,7 +92,7 @@ and execute the initialization process, .Xr init 8 . The root filesystem is incorrect or has been corrupted, or the mode or type of -.Pa /etc/init +.Pa /sbin/init forbids execution or is totally missing. .Pp .Pp diff --git a/share/man/man8/man8.i386/crash.8 b/share/man/man8/man8.i386/crash.8 index da81c478e817..a60e298873ea 100644 --- a/share/man/man8/man8.i386/crash.8 +++ b/share/man/man8/man8.i386/crash.8 @@ -92,7 +92,7 @@ and execute the initialization process, .Xr init 8 . The root filesystem is incorrect or has been corrupted, or the mode or type of -.Pa /etc/init +.Pa /sbin/init forbids execution or is totally missing. .Pp .Pp diff --git a/share/man/man9/style.9 b/share/man/man9/style.9 index 2e59b7904d10..6d234f36e674 100644 --- a/share/man/man9/style.9 +++ b/share/man/man9/style.9 @@ -13,7 +13,7 @@ files in the FreeBSD source tree. * * @(#)style 1.14 (Berkeley) 4/28/95 * - * FreeBSD $Id: style.9,v 1.4 1996/02/09 16:20:10 mpp Exp $ + * FreeBSD $Id: style.9,v 1.5 1996/03/31 22:36:14 joerg Exp $ * */ @@ -304,7 +304,9 @@ Routines returning void * should not have their return values cast to any pointer type. .Pp Use -.Xr err/warn 3 , +.Xr err 3 +or +.Xr warn 3 , don't roll your own! .Bd -literal -offset 0i if ((four = malloc(sizeof(struct foo))) == NULL) diff --git a/usr.bin/fstat/fstat.1 b/usr.bin/fstat/fstat.1 index 5a7edeb0b0ef..02a3588e754e 100644 --- a/usr.bin/fstat/fstat.1 +++ b/usr.bin/fstat/fstat.1 @@ -173,7 +173,7 @@ Normally the name cannot be determined since there is no mapping from an open file back to the directory entry that was used to open that file. Also, since different directory entries may reference the same file (via -.Xr ln 2 ) , +.Xr ln 1 ) , the name printed may not be the actual name that the process originally used to open that file. .El diff --git a/usr.bin/gprof/gprof.1 b/usr.bin/gprof/gprof.1 index 079e502d7c44..fa24c3b2f9b2 100644 --- a/usr.bin/gprof/gprof.1 +++ b/usr.bin/gprof/gprof.1 @@ -286,7 +286,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/window/window.1 b/usr.bin/window/window.1 index 8d9159678ba3..6f3279737594 100644 --- a/usr.bin/window/window.1 +++ b/usr.bin/window/window.1 @@ -128,12 +128,12 @@ itself. With each newly created window, a shell program is spawned with its process environment tailored to that window. Its standard input, output, and diagnostic file descriptors are bound to one end of either -a pseudo-terminal -.Xr (pty 4 ) +a pseudo-terminal (see +.Xr pty 4 ) or a .Ux -domain socket -.Xr (socketpair 4 ) . +domain socket (see +.Xr socketpair 2 ) . If a pseudo-terminal is used, then its special characters and modes (see .Xr stty 1 ) @@ -141,8 +141,8 @@ are copied from the physical terminal. A .Xr termcap 5 entry tailored to this window is created -and passed as environment -.Xr (environ 7 ) +and passed as environment (see +.Xr environ 7 ) variable .Ev TERMCAP . The termcap entry contains the window's size and diff --git a/usr.bin/xlint/xlint/lint.1 b/usr.bin/xlint/xlint/lint.1 index 99d459cb004f..d264d154313f 100644 --- a/usr.bin/xlint/xlint/lint.1 +++ b/usr.bin/xlint/xlint/lint.1 @@ -383,7 +383,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 @@ -488,7 +488,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/ac/ac.8 b/usr.sbin/ac/ac.8 index 38ae46bee356..9c33a4f08ea7 100644 --- a/usr.sbin/ac/ac.8 +++ b/usr.sbin/ac/ac.8 @@ -28,7 +28,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: ac.8,v 1.4 1996/01/20 07:28:13 mpp Exp $ +.\" $Id: ac.8,v 1.5 1996/01/30 13:47:56 mpp Exp $ .\" .Dd March 15, 1994 .Dt AC 8 @@ -48,7 +48,7 @@ If the file .Pa /var/log/wtmp exists, a record of individual login and logout times are written to it by -.Xr login 8 +.Xr login 1 and .Xr init 8 , respectively. diff --git a/usr.sbin/amd/amd/amd.8 b/usr.sbin/amd/amd/amd.8 index 9fa01a2b469d..8fbdfc2d9427 100644 --- a/usr.sbin/amd/amd/amd.8 +++ b/usr.sbin/amd/amd/amd.8 @@ -37,7 +37,7 @@ .\" .\" @(#)amd.8 5.10 (Berkeley) 4/19/94 .\" -.\" $Id: amd.8,v 5.2.2.1 1992/02/09 15:11:39 jsp beta $ +.\" $Id: amd.8,v 1.1.1.1 1994/05/26 05:22:02 rgrimes Exp $ .\" .Dd "April 19, 1994" .Dt AMD 8 @@ -208,7 +208,7 @@ server. A large improvement in real-time performance could be gained by adding a cache somewhere. Replacing -.Xr symlinks 2 +.Xr symlink 2 with a suitable incarnation of the auto-mounter results in a large real-time speedup, but also causes a large number of process context switches. diff --git a/usr.sbin/mountd/exports.5 b/usr.sbin/mountd/exports.5 index fc521f224594..73f0207062cb 100644 --- a/usr.sbin/mountd/exports.5 +++ b/usr.sbin/mountd/exports.5 @@ -184,7 +184,7 @@ and optionally .Sm on If the mask is not specified, it will default to the mask for that network class (A, B or C; see -.Xr inet 5 ). +.Xr inet 4 ). .Pp For example: .Bd -literal -offset indent diff --git a/usr.sbin/rwhod/rwhod.8 b/usr.sbin/rwhod/rwhod.8 index fc4b6283b1d5..d20778457a3d 100644 --- a/usr.sbin/rwhod/rwhod.8 +++ b/usr.sbin/rwhod/rwhod.8 @@ -135,7 +135,7 @@ program, and represent load averages over the 5, 10, and 15 minute intervals prior to a server's transmission; they are multiplied by 100 for representation in an integer. The host name included is that returned by the -.Xr gethostname 2 +.Xr gethostname 3 system call, with any trailing domain name omitted. The array at the end of the message contains information about the users logged in to the sending machine. This information @@ -145,9 +145,9 @@ entry for each non-idle terminal line and a value indicating the time in seconds since a character was last received on the terminal line. .Pp Messages received by the -.Xr rwho +.Nm rwho server are discarded unless they originated at an -.Xr rwho +.Nm rwho server's port. In addition, if the host's name, as specified in the message, contains any unprintable .Tn ASCII diff --git a/usr.sbin/sa/sa.8 b/usr.sbin/sa/sa.8 index 09a15fd97df7..8a22c0b5e6c4 100644 --- a/usr.sbin/sa/sa.8 +++ b/usr.sbin/sa/sa.8 @@ -27,7 +27,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: sa.8,v 1.1.1.1 1994/09/26 21:22:56 davidg Exp $ +.\" $Id: sa.8,v 1.2 1994/09/26 21:41:06 davidg Exp $ .\" .Dd February 25, 1994 .Dt SA 8 @@ -65,7 +65,7 @@ the accounting file, so that reports include all available information. .Pp If file names are supplied, they are read instead of -.Pa /var/account/account . +.Pa /var/account/acct . After each file is read, if the summary files are being updated, an updated summary will be saved to disk. Only one report is printed, diff --git a/usr.sbin/timed/timedc/timedc.8 b/usr.sbin/timed/timedc/timedc.8 index fd495e7a7a84..d78da455f51d 100644 --- a/usr.sbin/timed/timedc/timedc.8 +++ b/usr.sbin/timed/timedc/timedc.8 @@ -109,7 +109,7 @@ Exit from timedc. .El .Pp Other commands may be included for use in testing and debugging -.Xr timed ; +.Xr timed 8 ; the help command and the program source may be consulted for details. .Sh FILES diff --git a/usr.sbin/ypserv/ypserv.8 b/usr.sbin/ypserv/ypserv.8 index 8109b530bb77..988f4ac2bdc4 100644 --- a/usr.sbin/ypserv/ypserv.8 +++ b/usr.sbin/ypserv/ypserv.8 @@ -28,7 +28,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $Id: ypserv.8,v 1.5 1996/02/26 02:34:27 wpaul Exp $ +.\" $Id: ypserv.8,v 1.6 1996/02/26 20:09:22 guido Exp $ .\" .Dd February 4, 1995 .Dt YPSERV 8 @@ -343,13 +343,13 @@ Resolver configuration file. Host access control file .El .Sh SEE ALSO +.Xr ypcat 1 , +.Xr db 3 , +.Xr yp 4 , .Xr ypbind 8 , .Xr yppasswdd 8 , .Xr yppush 8 , -.Xr ypxfr 8 , -.Xr ypcat 1 , -.Xr yp 8 , -.Xr db 3 +.Xr ypxfr 8 .Sh AUTHOR Bill Paul .Sh HISTORY