summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2010-05-06 22:49:54 +0000
committerjilles <jilles@FreeBSD.org>2010-05-06 22:49:54 +0000
commit37abb66e2f1dcd063d48c212b7423a4b32c6db80 (patch)
treefcb8efd5f488181817d48cb6f61c6a9c0268c3fe
parentb8933dba5fbdeb54dfd1895700ff42ab0c5ce9ba (diff)
downloadFreeBSD-src-37abb66e2f1dcd063d48c212b7423a4b32c6db80.zip
FreeBSD-src-37abb66e2f1dcd063d48c212b7423a4b32c6db80.tar.gz
Update xrefs from 4.3BSD to modern signal functions in various man pages.
sigvec(2) references have been updated to sigaction(2), sigsetmask(2) and sigblock(2) to sigprocmask(2), sigpause(2) to sigsuspend(2). Some legacy man pages still refer to them, that is OK.
-rw-r--r--lib/libc/gen/alarm.33
-rw-r--r--lib/libc/gen/siginterrupt.35
-rw-r--r--lib/libc/gen/ualarm.34
-rw-r--r--lib/libc/sys/execve.24
-rw-r--r--lib/libc/sys/fcntl.22
-rw-r--r--lib/libc/sys/getitimer.22
-rw-r--r--lib/libc/sys/getrlimit.22
-rw-r--r--lib/libc/sys/sigaction.24
-rw-r--r--lib/libc/sys/sigreturn.22
-rw-r--r--lib/libc/sys/vfork.22
-rw-r--r--usr.bin/lastcomm/lastcomm.12
11 files changed, 13 insertions, 19 deletions
diff --git a/lib/libc/gen/alarm.3 b/lib/libc/gen/alarm.3
index 70e7c6e..92817b8 100644
--- a/lib/libc/gen/alarm.3
+++ b/lib/libc/gen/alarm.3
@@ -76,8 +76,7 @@ If no alarm is currently set, the return value is 0.
.Sh SEE ALSO
.Xr setitimer 2 ,
.Xr sigaction 2 ,
-.Xr sigpause 2 ,
-.Xr sigvec 2 ,
+.Xr sigsuspend 2 ,
.Xr signal 3 ,
.Xr sleep 3 ,
.Xr ualarm 3 ,
diff --git a/lib/libc/gen/siginterrupt.3 b/lib/libc/gen/siginterrupt.3
index e5eae62..e790132 100644
--- a/lib/libc/gen/siginterrupt.3
+++ b/lib/libc/gen/siginterrupt.3
@@ -109,9 +109,8 @@ is not a valid signal number.
.El
.Sh SEE ALSO
.Xr sigaction 2 ,
-.Xr sigblock 2 ,
-.Xr sigpause 2 ,
-.Xr sigsetmask 2 ,
+.Xr sigprocmask 2 ,
+.Xr sigsuspend 2 ,
.Xr signal 3
.Sh HISTORY
The
diff --git a/lib/libc/gen/ualarm.3 b/lib/libc/gen/ualarm.3
index 47575cf..5719896 100644
--- a/lib/libc/gen/ualarm.3
+++ b/lib/libc/gen/ualarm.3
@@ -84,8 +84,8 @@ A microsecond is 0.000001 seconds.
.Sh SEE ALSO
.Xr getitimer 2 ,
.Xr setitimer 2 ,
-.Xr sigpause 2 ,
-.Xr sigvec 2 ,
+.Xr sigaction 2 ,
+.Xr sigsuspend 2 ,
.Xr alarm 3 ,
.Xr signal 3 ,
.Xr sleep 3 ,
diff --git a/lib/libc/sys/execve.2 b/lib/libc/sys/execve.2
index cdd4197..acc6471 100644
--- a/lib/libc/sys/execve.2
+++ b/lib/libc/sys/execve.2
@@ -189,8 +189,8 @@ the calling process:
.It interval timers Ta see Xr getitimer 2
.It resource limits Ta see Xr getrlimit 2
.It file mode mask Ta see Xr umask 2
-.It signal mask Ta see Xr sigvec 2 ,
-.Xr sigsetmask 2
+.It signal mask Ta see Xr sigaction 2 ,
+.Xr sigprocmask 2
.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 250cef4..a801b60 100644
--- a/lib/libc/sys/fcntl.2
+++ b/lib/libc/sys/fcntl.2
@@ -618,7 +618,7 @@ for the reasons as stated in
.Xr flock 2 ,
.Xr getdtablesize 2 ,
.Xr open 2 ,
-.Xr sigvec 2 ,
+.Xr sigaction 2 ,
.Xr lockf 3 ,
.Xr tcgetpgrp 3 ,
.Xr tcsetpgrp 3
diff --git a/lib/libc/sys/getitimer.2 b/lib/libc/sys/getitimer.2
index 260f8f0..e942cc8 100644
--- a/lib/libc/sys/getitimer.2
+++ b/lib/libc/sys/getitimer.2
@@ -171,7 +171,7 @@ to be handled.
.Sh SEE ALSO
.Xr gettimeofday 2 ,
.Xr select 2 ,
-.Xr sigvec 2 ,
+.Xr sigaction 2 ,
.Xr clocks 7
.Sh HISTORY
The
diff --git a/lib/libc/sys/getrlimit.2 b/lib/libc/sys/getrlimit.2
index 48feea0..35198bc 100644
--- a/lib/libc/sys/getrlimit.2
+++ b/lib/libc/sys/getrlimit.2
@@ -193,7 +193,7 @@ raised the maximum limit value, and the caller is not the super-user.
.Xr quota 1 ,
.Xr quotactl 2 ,
.Xr sigaltstack 2 ,
-.Xr sigvec 2 ,
+.Xr sigaction 2 ,
.Xr sysctl 3 ,
.Xr ulimit 3
.Sh HISTORY
diff --git a/lib/libc/sys/sigaction.2 b/lib/libc/sys/sigaction.2
index 3b4f2f0..47b3a72 100644
--- a/lib/libc/sys/sigaction.2
+++ b/lib/libc/sys/sigaction.2
@@ -609,13 +609,9 @@ or
.Xr kill 2 ,
.Xr ptrace 2 ,
.Xr sigaltstack 2 ,
-.Xr sigblock 2 ,
-.Xr sigpause 2 ,
.Xr sigpending 2 ,
.Xr sigprocmask 2 ,
-.Xr sigsetmask 2 ,
.Xr sigsuspend 2 ,
-.Xr sigvec 2 ,
.Xr wait 2 ,
.Xr fpsetmask 3 ,
.Xr setjmp 3 ,
diff --git a/lib/libc/sys/sigreturn.2 b/lib/libc/sys/sigreturn.2
index a022470..02d75a8 100644
--- a/lib/libc/sys/sigreturn.2
+++ b/lib/libc/sys/sigreturn.2
@@ -83,7 +83,7 @@ The process status longword is invalid or would improperly
raise the privilege level of the process.
.El
.Sh SEE ALSO
-.Xr sigvec 2 ,
+.Xr sigaction 2 ,
.Xr setjmp 3 ,
.Xr ucontext 3
.Sh HISTORY
diff --git a/lib/libc/sys/vfork.2 b/lib/libc/sys/vfork.2
index 3cd3368..1cfaa61 100644
--- a/lib/libc/sys/vfork.2
+++ b/lib/libc/sys/vfork.2
@@ -104,7 +104,7 @@ Same as for
.Xr _exit 2 ,
.Xr fork 2 ,
.Xr rfork 2 ,
-.Xr sigvec 2 ,
+.Xr sigaction 2 ,
.Xr wait 2 ,
.Xr exit 3
.Sh HISTORY
diff --git a/usr.bin/lastcomm/lastcomm.1 b/usr.bin/lastcomm/lastcomm.1
index 1d714c5..8cb2039 100644
--- a/usr.bin/lastcomm/lastcomm.1
+++ b/usr.bin/lastcomm/lastcomm.1
@@ -168,7 +168,7 @@ while
will print details of each terminating command.
.Sh SEE ALSO
.Xr last 1 ,
-.Xr sigvec 2 ,
+.Xr sigaction 2 ,
.Xr acct 5 ,
.Xr core 5
.Sh HISTORY
OpenPOWER on IntegriCloud