svn commit: r304268 - head/lib/libc/gen
Kevin Lo
kevlo at FreeBSD.org
Wed Aug 17 07:25:51 UTC 2016
Author: kevlo
Date: Wed Aug 17 07:25:50 2016
New Revision: 304268
URL: https://svnweb.freebsd.org/changeset/base/304268
Log:
- Add the 'restrict' type qualifier to match function prototype.
- Use .Lb libc rather than libpthread.
Reviewed by: delphij
Modified:
head/lib/libc/gen/sem_timedwait.3
Modified: head/lib/libc/gen/sem_timedwait.3
==============================================================================
--- head/lib/libc/gen/sem_timedwait.3 Wed Aug 17 07:25:21 2016 (r304267)
+++ head/lib/libc/gen/sem_timedwait.3 Wed Aug 17 07:25:50 2016 (r304268)
@@ -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
More information about the svn-src-head
mailing list