From owner-svn-src-stable-8@FreeBSD.ORG Sun Feb 27 09:12:25 2011 Return-Path: Delivered-To: svn-src-stable-8@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F2749106564A; Sun, 27 Feb 2011 09:12:24 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id DF2458FC25; Sun, 27 Feb 2011 09:12:24 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1R9COBN063612; Sun, 27 Feb 2011 09:12:24 GMT (envelope-from kib@svn.freebsd.org) Received: (from kib@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1R9COAT063609; Sun, 27 Feb 2011 09:12:24 GMT (envelope-from kib@svn.freebsd.org) Message-Id: <201102270912.p1R9COAT063609@svn.freebsd.org> From: Konstantin Belousov Date: Sun, 27 Feb 2011 09:12:24 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219080 - in stable/8: include share/man/man3 X-BeenThere: svn-src-stable-8@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for only the 8-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Feb 2011 09:12:25 -0000 Author: kib Date: Sun Feb 27 09:12:24 2011 New Revision: 219080 URL: http://svn.freebsd.org/changeset/base/219080 Log: MFC r218881: Add restrict keyword to pthread_sigmask prototype and manpage. Modified: stable/8/include/signal.h stable/8/share/man/man3/pthread_sigmask.3 Directory Properties: stable/8/include/ (props changed) stable/8/share/man/man3/ (props changed) Modified: stable/8/include/signal.h ============================================================================== --- stable/8/include/signal.h Sun Feb 27 02:06:09 2011 (r219079) +++ stable/8/include/signal.h Sun Feb 27 09:12:24 2011 (r219080) @@ -73,7 +73,8 @@ int raise(int); #if __POSIX_VISIBLE || __XSI_VISIBLE int kill(__pid_t, int); int pthread_kill(__pthread_t, int); -int pthread_sigmask(int, const __sigset_t *, __sigset_t *); +int pthread_sigmask(int, const __sigset_t * __restrict, + __sigset_t * __restrict); int sigaction(int, const struct sigaction * __restrict, struct sigaction * __restrict); int sigaddset(sigset_t *, int); Modified: stable/8/share/man/man3/pthread_sigmask.3 ============================================================================== --- stable/8/share/man/man3/pthread_sigmask.3 Sun Feb 27 02:06:09 2011 (r219079) +++ stable/8/share/man/man3/pthread_sigmask.3 Sun Feb 27 09:12:24 2011 (r219080) @@ -26,7 +26,7 @@ .\" EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" .\" $FreeBSD$ -.Dd April 27, 2000 +.Dd February 19, 2011 .Dt PTHREAD_SIGMASK 3 .Os .Sh NAME @@ -38,7 +38,8 @@ .In pthread.h .In signal.h .Ft int -.Fn pthread_sigmask "int how" "const sigset_t *set" "sigset_t *oset" +.Fn pthread_sigmask "int how" "const sigset_t * restrict set" \ + "sigset_t * restrict oset" .Sh DESCRIPTION The .Fn pthread_sigmask