.\" 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
.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
.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
On some architectures,
these signals also fill in the
.I si_trapno
-filed.
+field.
Some suberrors of
.BR SIGBUS ,
in particular
.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
.BR kill (2),
.BR killpg (2),
.BR pause (2),
+.BR restart_syscall (2),
.BR sigaltstack (2),
.BR signal (2),
.BR signalfd (2),
.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/.