aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/gen/sem_wait.3
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2004-07-02 16:45:56 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2004-07-02 16:45:56 +0000
commit26b6c45a92c8eae91cad4a7ce8935e08d2e5d368 (patch)
tree78dccaeba712e69b1159fb258d39913bc17f4612 /lib/libc/gen/sem_wait.3
parent0fe4fb09bc5d05bb01c0a45633738e5ad53fa3d4 (diff)
downloadsrc-26b6c45a92c8eae91cad4a7ce8935e08d2e5d368.tar.gz
src-26b6c45a92c8eae91cad4a7ce8935e08d2e5d368.zip
Markup tidying.
Notes
Notes: svn path=/head/; revision=131465
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 1307aabdabbc..b6c3b7c798ce 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