mirror of https://github.com/mkerrisk/man-pages
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:
parent
93a3b5ca7b
commit
63a1f6e183
|
@ -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),
|
||||
|
|
Loading…
Reference in New Issue