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
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to