Module Name: src
Committed By: wiz
Date: Thu Mar 8 22:13:32 UTC 2012
Modified Files:
src/lib/librt: sem_wait.3
Log Message:
Add sem_timedwait to NAME and fix SYNOPSIS. Add serial comma.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/lib/librt/sem_wait.3
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/librt/sem_wait.3
diff -u src/lib/librt/sem_wait.3:1.2 src/lib/librt/sem_wait.3:1.3
--- src/lib/librt/sem_wait.3:1.2 Thu Mar 8 21:59:29 2012
+++ src/lib/librt/sem_wait.3 Thu Mar 8 22:13:32 2012
@@ -1,4 +1,4 @@
-.\" $NetBSD: sem_wait.3,v 1.2 2012/03/08 21:59:29 joerg Exp $
+.\" $NetBSD: sem_wait.3,v 1.3 2012/03/08 22:13:32 wiz Exp $
.\"
.\" Copyright (C) 2000 Jason Evans <[email protected]>.
.\" All rights reserved.
@@ -32,6 +32,7 @@
.Os
.Sh NAME
.Nm sem_wait ,
+.Nm sem_timedwait ,
.Nm sem_trywait
.Nd decrement (lock) a semaphore
.Sh LIBRARY
@@ -41,7 +42,7 @@
.Ft int
.Fn sem_wait "sem_t *sem"
.Ft int
-.Fn sem_wait "sem_t *sem" "const struct timespec * restrict abstime"
+.Fn sem_timedwait "sem_t *sem" "const struct timespec * restrict abstime"
.Ft int
.Fn sem_trywait "sem_t *sem"
.Sh DESCRIPTION
@@ -71,7 +72,7 @@ Otherwise, the semaphore is not decremen
.Rv -std sem_wait
.Sh ERRORS
.Fn sem_wait ,
-.Fn sem_timedwait
+.Fn sem_timedwait ,
and
.Fn sem_trywait
will fail if: