summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/sem_post.3
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/gen/sem_post.3')
-rw-r--r--lib/libc/gen/sem_post.37
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/libc/gen/sem_post.3 b/lib/libc/gen/sem_post.3
index 0c8dea4..bc0a031 100644
--- a/lib/libc/gen/sem_post.3
+++ b/lib/libc/gen/sem_post.3
@@ -52,12 +52,7 @@ the semaphore will be allowed to return from
.Fn sem_post
is signal-reentrant and may be called within signal handlers.
.Sh RETURN VALUES
-If successful,
-.Fn sem_post
-returns 0. Otherwise, -1 is returned and
-.Va errno
-is set to indicate the type of
-error.
+.Rv -std sem_post
.Sh ERRORS
.Fn sem_post
will fail if:
OpenPOWER on IntegriCloud