diff options
Diffstat (limited to 'lib/libpthread/man/sem_post.3')
-rw-r--r-- | lib/libpthread/man/sem_post.3 | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/lib/libpthread/man/sem_post.3 b/lib/libpthread/man/sem_post.3 index c2dd704..918fef5 100644 --- a/lib/libpthread/man/sem_post.3 +++ b/lib/libpthread/man/sem_post.3 @@ -49,13 +49,15 @@ is called, then the highest priority thread that has been blocked the longest on the semaphore will be allowed to return from .Fn sem_wait . .Pp +The .Fn sem_post -is signal-reentrant and may be called within signal handlers. +function is signal-reentrant and may be called within signal handlers. .Sh RETURN VALUES .Rv -std sem_post .Sh ERRORS +The .Fn sem_post -will fail if: +function will fail if: .Bl -tag -width Er .It Bq Er EINVAL .Fa sem @@ -63,8 +65,10 @@ points to an invalid semaphore. .El .Sh SEE ALSO .Xr sem_trywait 3 , -.Xr sem_wait 3 +.Xr sem_wait 3 , +.Xr sem 4 .Sh STANDARDS +The .Fn sem_post -conforms to +function conforms to .St -p1003.1-96 . |