summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/sem_wait.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_wait.3
parent627ed40f49cb6d2aba1199b177f148ec46edb90d (diff)
downloadFreeBSD-src-9d678b540a55cef6a0dc68e22adef0aa02d0aaa1.zip
FreeBSD-src-9d678b540a55cef6a0dc68e22adef0aa02d0aaa1.tar.gz
Markup tidying.
Diffstat (limited to 'lib/libc/gen/sem_wait.3')
-rw-r--r--lib/libc/gen/sem_wait.36
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libc/gen/sem_wait.3 b/lib/libc/gen/sem_wait.3
index 1307aab..b6c3b7c 100644
--- a/lib/libc/gen/sem_wait.3
+++ b/lib/libc/gen/sem_wait.3
@@ -26,6 +26,7 @@
.\" EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
.\" $FreeBSD$
+.\"
.Dd February 15, 2000
.Dt SEM_WAIT 3
.Os
@@ -54,7 +55,8 @@ The
.Fn sem_trywait
function decrements (locks) the semaphore pointed to by
.Fa sem
-only if the value is non-zero. Otherwise, the semaphore is not decremented and
+only if the value is non-zero.
+Otherwise, the semaphore is not decremented and
an error is returned.
.Sh RETURN VALUES
.Rv -std
@@ -66,7 +68,9 @@ and
functions will fail if:
.Bl -tag -width Er
.It Bq Er EINVAL
+The
.Fa sem
+argument
points to an invalid semaphore.
.El
.Pp
OpenPOWER on IntegriCloud