Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Aug 2016 07:25:50 +0000 (UTC)
From:      Kevin Lo <kevlo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r304268 - head/lib/libc/gen
Message-ID:  <201608170725.u7H7Pola007725@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201608170725.u7H7Pola007725>