summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/sem_getvalue.3
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2004-07-02 16:45:56 +0000
committerru <ru@FreeBSD.org>2004-07-02 16:45:56 +0000
commit9d678b540a55cef6a0dc68e22adef0aa02d0aaa1 (patch)
tree78dccaeba712e69b1159fb258d39913bc17f4612 /lib/libc/gen/sem_getvalue.3
parent627ed40f49cb6d2aba1199b177f148ec46edb90d (diff)
downloadFreeBSD-src-9d678b540a55cef6a0dc68e22adef0aa02d0aaa1.zip
FreeBSD-src-9d678b540a55cef6a0dc68e22adef0aa02d0aaa1.tar.gz
Markup tidying.
Diffstat (limited to 'lib/libc/gen/sem_getvalue.3')
-rw-r--r--lib/libc/gen/sem_getvalue.37
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/libc/gen/sem_getvalue.3 b/lib/libc/gen/sem_getvalue.3
index 26a1e149..a8dd177 100644
--- a/lib/libc/gen/sem_getvalue.3
+++ b/lib/libc/gen/sem_getvalue.3
@@ -26,6 +26,7 @@
.\" EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
.\" $FreeBSD$
+.\"
.Dd February 15, 2000
.Dt SEM_GETVALUE 3
.Os
@@ -56,7 +57,9 @@ The
function will fail if:
.Bl -tag -width Er
.It Bq Er EINVAL
+The
.Fa sem
+argument
points to an invalid semaphore.
.El
.Sh SEE ALSO
@@ -71,6 +74,8 @@ function conforms to
.St -p1003.1-96 .
.Pp
The value of the semaphore is never negative, even if there are threads blocked
-on the semaphore. POSIX is somewhat ambiguous in its wording with regard to
+on the semaphore.
+.Tn POSIX
+is somewhat ambiguous in its wording with regard to
what the value of the semaphore should be if there are blocked waiting threads,
but this behavior is conformant, given the wording of the specification.
OpenPOWER on IntegriCloud