diff options
author | Kevin Lo <kevlo@FreeBSD.org> | 2016-08-17 07:25:50 +0000 |
---|---|---|
committer | Kevin Lo <kevlo@FreeBSD.org> | 2016-08-17 07:25:50 +0000 |
commit | 0de6c9d6511128de932f832371791335a89ef96d (patch) | |
tree | 85a12348d85ca7e8e65e6df26803f1a1be56411b | |
parent | bf965e6dee281bb20b05ff9fbd1ef47787abd8e7 (diff) | |
download | src-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.3 | 6 |
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 |