summaryrefslogtreecommitdiff
path: root/sem_trywait.c
diff options
context:
space:
mode:
Diffstat (limited to 'sem_trywait.c')
-rw-r--r--sem_trywait.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/sem_trywait.c b/sem_trywait.c
index 1dbe06d..342ee06 100644
--- a/sem_trywait.c
+++ b/sem_trywait.c
@@ -55,7 +55,7 @@ sem_trywait (sem_t * sem)
*
* PARAMETERS
* sem
- * pointer to an instance of sem_t
+ * pointer to an instance of sem_t
*
* DESCRIPTION
* This function tries to wait on a semaphore. If the
@@ -64,14 +64,14 @@ sem_trywait (sem_t * sem)
* this function returns immediately with the error EAGAIN
*
* RESULTS
- * 0 successfully decreased semaphore,
- * -1 failed, error in errno
+ * 0 successfully decreased semaphore,
+ * -1 failed, error in errno
* ERRNO
- * EAGAIN the semaphore was already locked,
- * EINVAL 'sem' is not a valid semaphore,
- * ENOTSUP sem_trywait is not supported,
- * EINTR the function was interrupted by a signal,
- * EDEADLK a deadlock condition was detected.
+ * EAGAIN the semaphore was already locked,
+ * EINVAL 'sem' is not a valid semaphore,
+ * ENOTSUP sem_trywait is not supported,
+ * EINTR the function was interrupted by a signal,
+ * EDEADLK a deadlock condition was detected.
*
* ------------------------------------------------------
*/