Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Oct 2002 15:27:13 -0400
From:      Mike Barcroft <mike@FreeBSD.org>
To:        Craig Rodrigues <rodrigc@attbi.com>
Cc:        freebsd-standards@freebsd.org
Subject:   Re: restrict qualifier task
Message-ID:  <20021007152713.F97120@espresso.q9media.com>
In-Reply-To: <20021007150513.A11025@attbi.com>; from rodrigc@attbi.com on Mon, Oct 07, 2002 at 03:05:13PM -0400
References:  <20021006214520.B97120@espresso.q9media.com> <20021006223653.A7728@attbi.com> <20021006224711.C97120@espresso.q9media.com> <20021007150513.A11025@attbi.com>

index | next in thread | previous in thread | raw e-mail

Craig Rodrigues <rodrigc@attbi.com> writes:
> On Sun, Oct 06, 2002 at 10:47:11PM -0400, Mike Barcroft wrote:
> > Craig Rodrigues <rodrigc@attbi.com> 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 <sys/cdefs.h>? 
> 
> 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



help

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