mirror of https://github.com/mkerrisk/man-pages
signalfd.2: Add "C library/kernel ABI differences" subheading under NOTES
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
93e6560b29
commit
68f611bdae
|
@ -310,16 +310,6 @@ and
|
|||
.BR signalfd4 ()
|
||||
are Linux-specific.
|
||||
.SH NOTES
|
||||
The underlying Linux system call requires an additional argument,
|
||||
.IR "size_t sizemask" ,
|
||||
which specifies the size of the
|
||||
.I mask
|
||||
argument.
|
||||
The glibc
|
||||
.BR signalfd ()
|
||||
wrapper function does not include this argument,
|
||||
since it provides the required value for the underlying system call.
|
||||
|
||||
A process can create multiple signalfd file descriptors.
|
||||
This makes it possible to accept different signals
|
||||
on different file descriptors.
|
||||
|
@ -333,7 +323,17 @@ If a signal appears in the
|
|||
.I mask
|
||||
of more than one of the file descriptors, then occurrences
|
||||
of that signal can be read (once) from any one of the descriptors.
|
||||
.SS Underlying Linux system calls
|
||||
.SS C library/kernel ABI differences
|
||||
The underlying Linux system call requires an additional argument,
|
||||
.IR "size_t sizemask" ,
|
||||
which specifies the size of the
|
||||
.I mask
|
||||
argument.
|
||||
The glibc
|
||||
.BR signalfd ()
|
||||
wrapper function does not include this argument,
|
||||
since it provides the required value for the underlying system call.
|
||||
|
||||
There are two underlying Linux system calls:
|
||||
.BR signalfd ()
|
||||
and the more recent
|
||||
|
|
Loading…
Reference in New Issue