Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/librt Add sem_timedwait to NAME and fix SYNOPSIS. Add se...
details: https://anonhg.NetBSD.org/src/rev/bccfe18e76c3
branches: trunk
changeset: 777911:bccfe18e76c3
user: wiz <wiz%NetBSD.org@localhost>
date: Thu Mar 08 22:13:32 2012 +0000
description:
Add sem_timedwait to NAME and fix SYNOPSIS. Add serial comma.
diffstat:
lib/librt/sem_wait.3 | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (35 lines):
diff -r 2c384df1c000 -r bccfe18e76c3 lib/librt/sem_wait.3
--- a/lib/librt/sem_wait.3 Thu Mar 08 22:13:05 2012 +0000
+++ b/lib/librt/sem_wait.3 Thu Mar 08 22:13:32 2012 +0000
@@ -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 <jasone%FreeBSD.org@localhost>.
.\" 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 @@
.Rv -std sem_wait
.Sh ERRORS
.Fn sem_wait ,
-.Fn sem_timedwait
+.Fn sem_timedwait ,
and
.Fn sem_trywait
will fail if:
Home |
Main Index |
Thread Index |
Old Index