aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2016-08-17 07:25:50 +0000
committerKevin Lo <kevlo@FreeBSD.org>2016-08-17 07:25:50 +0000
commit0de6c9d6511128de932f832371791335a89ef96d (patch)
tree85a12348d85ca7e8e65e6df26803f1a1be56411b
parentbf965e6dee281bb20b05ff9fbd1ef47787abd8e7 (diff)
downloadsrc-0de6c9d6511128de932f832371791335a89ef96d.tar.gz
src-0de6c9d6511128de932f832371791335a89ef96d.zip
- Add the 'restrict' type qualifier to match function prototype.
- Use .Lb libc rather than libpthread. Reviewed by: delphij
Notes
Notes: svn path=/head/; revision=304268
-rw-r--r--lib/libc/gen/sem_timedwait.36
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/gen/sem_timedwait.3 b/lib/libc/gen/sem_timedwait.3
index 254af6041724..16d107369ea0 100644
--- a/lib/libc/gen/sem_timedwait.3
+++ b/lib/libc/gen/sem_timedwait.3
@@ -34,18 +34,18 @@
.\"
.\" $FreeBSD$
.\"
-.Dd March 3, 2008
+.Dd August 17, 2016
.Dt SEM_TIMEDWAIT 3
.Os
.Sh NAME
.Nm sem_timedwait
.Nd "lock a semaphore"
.Sh LIBRARY
-.Lb libpthread
+.Lb libc
.Sh SYNOPSIS
.In semaphore.h
.Ft int
-.Fn sem_timedwait "sem_t *sem" "const struct timespec *abs_timeout"
+.Fn sem_timedwait "sem_t * restrict sem" "const struct timespec * restrict abs_timeout"
.Sh DESCRIPTION
The
.Fn sem_timedwait