From 2810f3534babf1e060d198846ef230532f7f0ed0 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 6 Mar 2006 15:27:50 +0000 Subject: [PATCH] Add `SEE ALSO' references to syscalls from utilities of the same name. --- man/chmod.x | 2 ++ man/chown.x | 2 ++ man/chroot.x | 2 ++ man/kill.x | 2 ++ man/link.x | 2 ++ man/ln.x | 2 ++ man/mkdir.x | 2 ++ man/mkfifo.x | 2 ++ man/mknod.x | 2 ++ man/mv.x | 2 ++ man/nice.x | 2 ++ man/pwd.x | 2 ++ man/readlink.x | 2 ++ man/rm.x | 2 +- man/rmdir.x | 2 ++ man/sleep.x | 2 ++ man/stat.x | 2 ++ man/sync.x | 2 ++ man/uname.x | 2 ++ man/unlink.x | 2 ++ 20 files changed, 39 insertions(+), 1 deletion(-) diff --git a/man/chmod.x b/man/chmod.x index 6b857b9..4972066 100644 --- a/man/chmod.x +++ b/man/chmod.x @@ -67,3 +67,5 @@ sticky bit, anyone able to write to the directory can delete or rename files. The sticky bit is commonly found on directories, such as /tmp, that are world-writable. .SH OPTIONS +[SEE ALSO] +chmod(2) diff --git a/man/chown.x b/man/chown.x index 09289de..83a949f 100644 --- a/man/chown.x +++ b/man/chown.x @@ -21,3 +21,5 @@ performs the same function as If only a colon is given, or if the entire operand is empty, neither the owner nor the group is changed. .SH OPTIONS +[SEE ALSO] +chown(2) diff --git a/man/chroot.x b/man/chroot.x index b2afab8..fc1be52 100644 --- a/man/chroot.x +++ b/man/chroot.x @@ -2,3 +2,5 @@ chroot \- run command or interactive shell with special root directory [DESCRIPTION] .\" Add any additional description here +[SEE ALSO] +chroot(2) diff --git a/man/kill.x b/man/kill.x index 2c8b8f8..920c59f 100644 --- a/man/kill.x +++ b/man/kill.x @@ -2,3 +2,5 @@ kill \- send signals to processes, or list signals [DESCRIPTION] .\" Add any additional description here +[SEE ALSO] +kill(2) diff --git a/man/link.x b/man/link.x index 374d643..2ae12bc 100644 --- a/man/link.x +++ b/man/link.x @@ -2,3 +2,5 @@ link \- call the link function to create a link to a file [DESCRIPTION] .\" Add any additional description here +[SEE ALSO] +link(2) diff --git a/man/ln.x b/man/ln.x index 875a8da..daba9bf 100644 --- a/man/ln.x +++ b/man/ln.x @@ -2,3 +2,5 @@ ln \- make links between files [DESCRIPTION] .\" Add any additional description here +[SEE ALSO] +link(2), symlink(2) diff --git a/man/mkdir.x b/man/mkdir.x index 99e9e17..4b35013 100644 --- a/man/mkdir.x +++ b/man/mkdir.x @@ -2,3 +2,5 @@ mkdir \- make directories [DESCRIPTION] .\" Add any additional description here +[SEE ALSO] +mkdir(2) diff --git a/man/mkfifo.x b/man/mkfifo.x index 2a7c300..7d06348 100644 --- a/man/mkfifo.x +++ b/man/mkfifo.x @@ -2,3 +2,5 @@ mkfifo \- make FIFOs (named pipes) [DESCRIPTION] .\" Add any additional description here +[SEE ALSO] +mkfifo(3) diff --git a/man/mknod.x b/man/mknod.x index 42177a9..aaa3a9a 100644 --- a/man/mknod.x +++ b/man/mknod.x @@ -2,3 +2,5 @@ mknod \- make block or character special files [DESCRIPTION] .\" Add any additional description here +[SEE ALSO] +mknod(2) diff --git a/man/mv.x b/man/mv.x index ac0a190..6e32d5d 100644 --- a/man/mv.x +++ b/man/mv.x @@ -2,3 +2,5 @@ mv \- move (rename) files [DESCRIPTION] .\" Add any additional description here +[SEE ALSO] +rename(2) diff --git a/man/nice.x b/man/nice.x index 25fb633..3448d69 100644 --- a/man/nice.x +++ b/man/nice.x @@ -2,3 +2,5 @@ nice \- run a program with modified scheduling priority [DESCRIPTION] .\" Add any additional description here +[SEE ALSO] +nice(2) diff --git a/man/pwd.x b/man/pwd.x index e49a0d5..65daec0 100644 --- a/man/pwd.x +++ b/man/pwd.x @@ -2,3 +2,5 @@ pwd \- print name of current/working directory [DESCRIPTION] .\" Add any additional description here +[SEE ALSO] +getcwd(3) diff --git a/man/readlink.x b/man/readlink.x index 2f33c43..c1d6c5c 100644 --- a/man/readlink.x +++ b/man/readlink.x @@ -2,3 +2,5 @@ readlink \- display value of a symbolic link [DESCRIPTION] .\" Add any additional description here +[SEE ALSO] +readlink(2) diff --git a/man/rm.x b/man/rm.x index f5d55db..79a2bdc 100644 --- a/man/rm.x +++ b/man/rm.x @@ -23,4 +23,4 @@ prompts the user for whether to remove the file. If the response is not affirmative, the file is skipped. .SH OPTIONS [SEE ALSO] -chattr(1), shred(1) +unlink(1), unlink(2), chattr(1), shred(1) diff --git a/man/rmdir.x b/man/rmdir.x index 2e3ade6..a612f83 100644 --- a/man/rmdir.x +++ b/man/rmdir.x @@ -2,3 +2,5 @@ rmdir \- remove empty directories [DESCRIPTION] .\" Add any additional description here +[SEE ALSO] +rmdir(2) diff --git a/man/sleep.x b/man/sleep.x index c239a5a..f1343e8 100644 --- a/man/sleep.x +++ b/man/sleep.x @@ -2,3 +2,5 @@ sleep \- delay for a specified amount of time [DESCRIPTION] .\" Add any additional description here +[SEE ALSO] +sleep(3) diff --git a/man/stat.x b/man/stat.x index bf16567..f95b1dd 100644 --- a/man/stat.x +++ b/man/stat.x @@ -2,3 +2,5 @@ stat \- display file or file system status [DESCRIPTION] .\" Add any additional description here +[SEE ALSO] +stat(2) diff --git a/man/sync.x b/man/sync.x index e03235d..7947bb7 100644 --- a/man/sync.x +++ b/man/sync.x @@ -2,3 +2,5 @@ sync \- flush file system buffers [DESCRIPTION] .\" Add any additional description here +[SEE ALSO] +sync(2) diff --git a/man/uname.x b/man/uname.x index ec38625..b019140 100644 --- a/man/uname.x +++ b/man/uname.x @@ -2,3 +2,5 @@ uname \- print system information [DESCRIPTION] .\" Add any additional description here +[SEE ALSO] +uname(2) diff --git a/man/unlink.x b/man/unlink.x index 3036627..d12cc2e 100644 --- a/man/unlink.x +++ b/man/unlink.x @@ -2,3 +2,5 @@ unlink \- call the unlink function to remove the specified file [DESCRIPTION] .\" Add any additional description here +[SEE ALSO] +unlink(2) -- 2.7.4