diff options
| -rw-r--r-- | sem_getvalue.c | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/sem_getvalue.c b/sem_getvalue.c index be80bea..eb6e6af 100644 --- a/sem_getvalue.c +++ b/sem_getvalue.c @@ -52,7 +52,9 @@ sem_getvalue (sem_t * sem, int *sval)        * ------------------------------------------------------        * DOCPUBLIC        *      This function stores the current count value of the -      *      semaphore. +      *      semaphore. If the count is negative, it's absolute +      *      value is the number of threads currently waiting on +      *      the semaphore.        * RESULTS        *        * Return value | 
