summaryrefslogtreecommitdiffstats
path: root/posix-users/semaphore.rst
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-10-24 10:50:45 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-10-24 10:50:45 +0200
commitc5161ee2f30e124c3190694962d2e1aeea5b102c (patch)
tree70c121c42b2422dfc59bc4acd420aac681ead255 /posix-users/semaphore.rst
parentbf900c7153843643be24efaa3bd5a1ca494facf3 (diff)
downloadrtems-docs-c5161ee2f30e124c3190694962d2e1aeea5b102c.tar.bz2
posix-users: Clarify timed operation errors
Close #3182.
Diffstat (limited to 'posix-users/semaphore.rst')
-rw-r--r--posix-users/semaphore.rst8
1 files changed, 5 insertions, 3 deletions
diff --git a/posix-users/semaphore.rst b/posix-users/semaphore.rst
index 27fdf51..1b1c2b1 100644
--- a/posix-users/semaphore.rst
+++ b/posix-users/semaphore.rst
@@ -434,11 +434,13 @@ sem_timedwait - Wait on a Semaphore for a Specified Time
.. list-table::
:class: rtems-table
- * - ``EAGAIN``
- - The semaphore is not available (i.e., the semaphore value is zero), so the
- semaphore could not be locked.
* - ``EINVAL``
- The ``sem`` argument does not refewr to a valid semaphore
+ * - ``EINVAL``
+ - The nanoseconds field of timeout is invalid.
+ * - ``ETIMEDOUT``
+ - The calling thread was unable to get the semaphore within the specified
+ timeout period.
**DESCRIPTION:**