X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/55e303ae13a4cf49d70f2294092726f2fffb9ef2..935ed37a5c468c8a1c07408573c08b8b7ef80e8b:/bsd/man/man2/sigaction.2 diff --git a/bsd/man/man2/sigaction.2 b/bsd/man/man2/sigaction.2 index 42e779002..01feeb7e3 100644 --- a/bsd/man/man2/sigaction.2 +++ b/bsd/man/man2/sigaction.2 @@ -58,8 +58,8 @@ struct sigaction { .Ft int .Fo sigaction .Fa "int sig" -.Fa "const struct sigaction * restrict act" -.Fa "struct sigaction * restrict oact" +.Fa "const struct sigaction *restrict act" +.Fa "struct sigaction *restrict oact" .Fc .Sh DESCRIPTION The system defines a set of signals that may be delivered to a process. @@ -534,6 +534,7 @@ system call will fail and no new signal handler will be installed if one of the following occurs: .Bl -tag -width Er +.\" =========== .It Bq Er EFAULT Either .Fa act @@ -541,16 +542,22 @@ or .Fa oact points to memory that is not a valid part of the process address space. +.\" =========== .It Bq Er EINVAL The .Fa sig argument is not a valid signal number. +.\" =========== .It Bq Er EINVAL An attempt is made to ignore or supply a handler for .Dv SIGKILL or .Dv SIGSTOP . +.\" =========== +.It Bq Er EINVAL +An attempt was made to set the action to SIG_DFL +for a signal that cannot be caught or ignored (or both). .El .Sh STANDARDS The