svn commit: r207735 - in head: lib/libc/gen lib/libc/sys usr.bin/lastcomm

Jilles Tjoelker jilles at FreeBSD.org
Thu May 6 22:49:54 UTC 2010


Author: jilles
Date: Thu May  6 22:49:54 2010
New Revision: 207735
URL: http://svn.freebsd.org/changeset/base/207735

Log:
  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.

Modified:
  head/lib/libc/gen/alarm.3
  head/lib/libc/gen/siginterrupt.3
  head/lib/libc/gen/ualarm.3
  head/lib/libc/sys/execve.2
  head/lib/libc/sys/fcntl.2
  head/lib/libc/sys/getitimer.2
  head/lib/libc/sys/getrlimit.2
  head/lib/libc/sys/sigaction.2
  head/lib/libc/sys/sigreturn.2
  head/lib/libc/sys/vfork.2
  head/usr.bin/lastcomm/lastcomm.1

Modified: head/lib/libc/gen/alarm.3
==============================================================================
--- head/lib/libc/gen/alarm.3	Thu May  6 22:06:14 2010	(r207734)
+++ head/lib/libc/gen/alarm.3	Thu May  6 22:49:54 2010	(r207735)
@@ -76,8 +76,7 @@ If no alarm is currently set, the return
 .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 ,

Modified: head/lib/libc/gen/siginterrupt.3
==============================================================================
--- head/lib/libc/gen/siginterrupt.3	Thu May  6 22:06:14 2010	(r207734)
+++ head/lib/libc/gen/siginterrupt.3	Thu May  6 22:49:54 2010	(r207735)
@@ -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

Modified: head/lib/libc/gen/ualarm.3
==============================================================================
--- head/lib/libc/gen/ualarm.3	Thu May  6 22:06:14 2010	(r207734)
+++ head/lib/libc/gen/ualarm.3	Thu May  6 22:49:54 2010	(r207735)
@@ -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 ,

Modified: head/lib/libc/sys/execve.2
==============================================================================
--- head/lib/libc/sys/execve.2	Thu May  6 22:06:14 2010	(r207734)
+++ head/lib/libc/sys/execve.2	Thu May  6 22:49:54 2010	(r207735)
@@ -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

Modified: head/lib/libc/sys/fcntl.2
==============================================================================
--- head/lib/libc/sys/fcntl.2	Thu May  6 22:06:14 2010	(r207734)
+++ head/lib/libc/sys/fcntl.2	Thu May  6 22:49:54 2010	(r207735)
@@ -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

Modified: head/lib/libc/sys/getitimer.2
==============================================================================
--- head/lib/libc/sys/getitimer.2	Thu May  6 22:06:14 2010	(r207734)
+++ head/lib/libc/sys/getitimer.2	Thu May  6 22:49:54 2010	(r207735)
@@ -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

Modified: head/lib/libc/sys/getrlimit.2
==============================================================================
--- head/lib/libc/sys/getrlimit.2	Thu May  6 22:06:14 2010	(r207734)
+++ head/lib/libc/sys/getrlimit.2	Thu May  6 22:49:54 2010	(r207735)
@@ -193,7 +193,7 @@ raised the maximum limit value, and the 
 .Xr quota 1 ,
 .Xr quotactl 2 ,
 .Xr sigaltstack 2 ,
-.Xr sigvec 2 ,
+.Xr sigaction 2 ,
 .Xr sysctl 3 ,
 .Xr ulimit 3
 .Sh HISTORY

Modified: head/lib/libc/sys/sigaction.2
==============================================================================
--- head/lib/libc/sys/sigaction.2	Thu May  6 22:06:14 2010	(r207734)
+++ head/lib/libc/sys/sigaction.2	Thu May  6 22:49:54 2010	(r207735)
@@ -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 ,

Modified: head/lib/libc/sys/sigreturn.2
==============================================================================
--- head/lib/libc/sys/sigreturn.2	Thu May  6 22:06:14 2010	(r207734)
+++ head/lib/libc/sys/sigreturn.2	Thu May  6 22:49:54 2010	(r207735)
@@ -83,7 +83,7 @@ The process status longword is invalid o
 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

Modified: head/lib/libc/sys/vfork.2
==============================================================================
--- head/lib/libc/sys/vfork.2	Thu May  6 22:06:14 2010	(r207734)
+++ head/lib/libc/sys/vfork.2	Thu May  6 22:49:54 2010	(r207735)
@@ -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

Modified: head/usr.bin/lastcomm/lastcomm.1
==============================================================================
--- head/usr.bin/lastcomm/lastcomm.1	Thu May  6 22:06:14 2010	(r207734)
+++ head/usr.bin/lastcomm/lastcomm.1	Thu May  6 22:49:54 2010	(r207735)
@@ -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


More information about the svn-src-head mailing list