Skip to content

Commit c99784a

Browse files
author
Raphael Kubo da Costa
committed
Fix return values of futex_wait in the apidox
1 parent e42af8e commit c99784a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

futex.h

+4-2
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,10 @@
3232
* @param addr The address of the futex.
3333
* @param val1 The value to compare the futex to.
3434
*
35-
* @retval -1 Futex hasn't blocked.
36-
* @retval 0 Futex has blocked.
35+
* @retval 0 Woken by a @p FUTEX_WAKE call.
36+
* @retval ETIMEDOUT The wait has timed out.
37+
* @retval EWOULDBLOCK @p addr is not equal to @p val1.
38+
* @retval EINTR A signal has interrupted the wait.
3739
*/
3840
int futex_wait(void *addr, int val1);
3941

0 commit comments

Comments
 (0)