Fix documentation: signalfd() returns fd on success, not 0.

This commit is contained in:
Laurence Withers 2007-10-26 12:55:05 +00:00
parent a34063b32f
commit f301a0dcea
1 changed files with 1 additions and 1 deletions

View File

@ -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