OSDN Git Service

(split) LDP: Update original to LDP v3.65
[linuxjm/LDP_man-pages.git] / original / man2 / sigaction.2
index 7a362c0..dc263d7 100644 (file)
@@ -44,7 +44,7 @@
 .\" 2010-06-11 Andi Kleen, add hwpoison signal extensions
 .\" 2010-06-11 mtk, improvements to discussion of various siginfo_t fields.
 .\"
-.TH SIGACTION 2 2013-02-12 "Linux" "Linux Programmer's Manual"
+.TH SIGACTION 2 2013-07-30 "Linux" "Linux Programmer's Manual"
 .SH NAME
 sigaction \- examine and change a signal action
 .SH SYNOPSIS
@@ -175,7 +175,7 @@ is
 .BR SIGCHLD ,
 do not receive notification when child processes stop (i.e., when they
 receive one of
-.BR SIGSTOP ", " SIGTSTP ", " SIGTTIN
+.BR SIGSTOP ", " SIGTSTP ", " SIGTTIN ", "
 or
 .BR SIGTTOU )
 or resume (i.e., they receive
@@ -344,7 +344,7 @@ with the real user ID of the message sender.
 .IP *
 .B SIGCHLD
 fills in
-.IR si_pid ", " si_uid ", " si_status ", " si_utime " and " si_stime ,
+.IR si_pid ", " si_uid ", " si_status ", " si_utime ", and " si_stime ,
 providing information about the child.
 The
 .I si_pid
@@ -405,7 +405,7 @@ with the address of the fault.
 On some architectures,
 these signals also fill in the
 .I si_trapno
-filed.
+field.
 Some suberrors of
 .BR SIGBUS ,
 in particular
@@ -659,7 +659,9 @@ device disconnected
 .RE
 .SH RETURN VALUE
 .BR sigaction ()
-returns 0 on success and \-1 on error.
+returns 0 on success; on error, \-1 is returned, and
+.I errno
+is set to indicate the error.
 .SH ERRORS
 .TP
 .B EFAULT
@@ -793,6 +795,7 @@ See
 .BR kill (2),
 .BR killpg (2),
 .BR pause (2),
+.BR restart_syscall (2),
 .BR sigaltstack (2),
 .BR signal (2),
 .BR signalfd (2),
@@ -807,3 +810,11 @@ See
 .BR sigvec (3),
 .BR core (5),
 .BR signal (7)
+.SH COLOPHON
+This page is part of release 3.65 of the Linux
+.I man-pages
+project.
+A description of the project,
+and information about reporting bugs,
+can be found at
+\%http://www.kernel.org/doc/man\-pages/.