Subject: Re: __restrict and arrays
To: Christos Zoulas <christos@astron.com>
From: David Laight <david@l8s.co.uk>
List: tech-userlevel
Date: 06/17/2007 19:53:51
On Sun, Jun 17, 2007 at 06:02:41PM +0000, Christos Zoulas wrote:
> >
> >b) Instead, use something like:
> >	struct aiocb * const __restrict *
> 
> I think b is better because it is simpler. Unless the standards mandate
> an array.

Hmmm, in which case it should be 'ptr to an array of ptrs to struct foo'
Which I make 'struct aiocb * (*)[]'.

	David

-- 
David Laight: david@l8s.co.uk