diff --git a/Documentation/NuttxUserGuide.html b/Documentation/NuttxUserGuide.html index e88017d6eb9..ee4f1c7bff1 100644 --- a/Documentation/NuttxUserGuide.html +++ b/Documentation/NuttxUserGuide.html @@ -3920,7 +3920,7 @@ interface of the same name.
#include <semaphore.h>
#include <time.h>
- int sem_wait(sem_t *sem, const struct timespec *abstime);
+ int sem_timedwait(sem_t *sem, const struct timespec *abstime);
@@ -3948,7 +3948,7 @@ interface of the same name.
OK), or -1 (ERROR) is unsuccessful
-If sem_wait returns -1 (ERROR) then the cause of the failure
+If sem_timedwait returns -1 (ERROR) then the cause of the failure
will be indicated by the thread-specific errno.
The following lists the possible values for errno:
@@ -4006,7 +4006,7 @@ returns without blocking.
OK) or -1 (ERROR) if unsuccessful
sem_wait returns -1 (ERROR) then the cause of the failure
+If sem_trywait returns -1 (ERROR) then the cause of the failure
will be indicated by the thread-specific errno.
The following lists the possible values for errno:
@@ -4165,7 +4165,7 @@ Otherwise, an -1 (ERROR) will be returned and the errnoReturned Value:
-If successful, the sem_getprotocol() function will return zero (OK).
+If successful, the sem_setprotocol() function will return zero (OK).
Otherwise, an -1 (ERROR) will be returned and the errno value will be set to indicate the nature of the error.