sem_post.3: Document EOVERFLOW error

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2009-03-30 14:55:55 +13:00
parent 1480fa812e
commit 642ff1cc5e
1 changed files with 5 additions and 1 deletions

View File

@ -23,7 +23,7 @@
.\" Formatted or processed versions of this manual, if unaccompanied by
.\" the source, must acknowledge the copyright and authors of this work.
.\"
.TH SEM_POST 3 2008-05-29 "Linux" "Linux Programmer's Manual"
.TH SEM_POST 3 2009-03-30 "Linux" "Linux Programmer's Manual"
.SH NAME
sem_post \- unlock a semaphore
.SH SYNOPSIS
@ -54,6 +54,10 @@ is set to indicate the error.
.B EINVAL
.I sem
is not a valid semaphore.
.TP
.B EOVERFLOW
.\" Added in POSIX.1-2008 TC1 (Austin Interpretation 213)
The maximum allowable value for a semaphore would be exceeded.
.SH CONFORMING TO
POSIX.1-2001.
.SH NOTES