sigwaitinfo.2: The raw sigtimedwait() system call has a fifth argument

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-05-16 15:43:43 +02:00
parent 93a3b5ca7b
commit 63a1f6e183
1 changed files with 15 additions and 1 deletions

View File

@ -179,11 +179,25 @@ unspecified, permitting the possibility that this has the same meaning
as a call to
.BR sigwaitinfo (),
and indeed this is what is done on Linux.
.\"
.SS C library/kernel ABI differences
On Linux,
.BR sigwaitinfo ()
is a library function implemented on top of
.BR sigtimedwait ().
The raw
.BR sigtimedwait ()
system call has a fifth argument,
.IR "size_t sigsetsize" ,
which specifies the size in bytes of the
.IR set
argument.
The glibc
.BR sigtimedwait ()
wrapper function specifies this argument as a fixed value
(equal to
.IR sizeof(sigset_t) ).
.SH SEE ALSO
.BR kill (2),
.BR sigaction (2),