- Add the 'restrict' type qualifier to match function prototype.

- Use .Lb libc rather than libpthread.

Reviewed by:	delphij
This commit is contained in:
Kevin Lo 2016-08-17 07:25:50 +00:00
parent bf965e6dee
commit 0de6c9d651
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=304268

View File

@ -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