From owner-freebsd-standards Mon Oct 7 12:34:37 2002 Delivered-To: freebsd-standards@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 31E8337B401 for ; Mon, 7 Oct 2002 12:34:36 -0700 (PDT) Received: from espresso.q9media.com (espresso.q9media.com [65.39.129.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D39543E97 for ; Mon, 7 Oct 2002 12:34:35 -0700 (PDT) (envelope-from mike@espresso.q9media.com) Received: by espresso.q9media.com (Postfix, from userid 1002) id 7DAAE9BC3; Mon, 7 Oct 2002 15:27:13 -0400 (EDT) Date: Mon, 7 Oct 2002 15:27:13 -0400 From: Mike Barcroft To: Craig Rodrigues Cc: freebsd-standards@freebsd.org Subject: Re: restrict qualifier task Message-ID: <20021007152713.F97120@espresso.q9media.com> References: <20021006214520.B97120@espresso.q9media.com> <20021006223653.A7728@attbi.com> <20021006224711.C97120@espresso.q9media.com> <20021007150513.A11025@attbi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021007150513.A11025@attbi.com>; from rodrigc@attbi.com on Mon, Oct 07, 2002 at 03:05:13PM -0400 Organization: The FreeBSD Project Sender: owner-freebsd-standards@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Craig Rodrigues writes: > On Sun, Oct 06, 2002 at 10:47:11PM -0400, Mike Barcroft wrote: > > Craig Rodrigues writes: > > > On Sun, Oct 06, 2002 at 09:45:20PM -0400, Mike Barcroft wrote: > > > > > > > > If someone's looking for an easy task to do, the following functions > > > > are missing restrict type-qualifiers: > > For this task, is it better to use the C99 restrict keyword itself, or use the __restrict > macro defined in ? > > statvfs() uses __restrict in the header file, but documents "restrict" in the man page. This is how it should be done. > pselect() uses __restrict in the header file, but doesn't document "restrict" or "__restrict" in the man page. Can you fix this in your patch? Best regards, Mike Barcroft To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message