Fix documentation: signalfd() returns fd on success, not 0.
This commit is contained in:
parent
a34063b32f
commit
f301a0dcea
|
@ -57,7 +57,7 @@ struct signalfd_siginfo {
|
|||
|
||||
\param fd File descriptor to modify (pass -1 to create a new file descriptor).
|
||||
\param mask Signal mask. Any signals set in \a mask will be delivered through \a fd (but see below).
|
||||
\retval 0 on success.
|
||||
\returns File descriptor.
|
||||
\retval -1 on error (and see \a errno).
|
||||
|
||||
System call wrapper function for \c signalfd(2). Any signals turned on in \a mask will be delivered
|
||||
|
|
Loading…
Reference in New Issue