Re: posix_spawn man page strangeness
Re: posix_spawn man page strangeness
- Subject: Re: posix_spawn man page strangeness
- From: Andrew Gallatin <email@hidden>
- Date: Wed, 11 Mar 2009 10:53:39 -0400
Stéphane Sudre wrote:
Is it a bug that the __restrict option is written behind the name of
every parameters of the posix_spawn and posix_spawnp prototypes in the
man page?
It might be better readable without the "restrict" word.
"restrict" is a C99 keyword that specifies that the referenced pointers
to the function must not be aliased (point to the same memory location).
This enables additional compiler optimizations. See
http://www.cellperformance.com/mike_acton/2006/05/demystifying_the_restrict_keyw.html
I think having that information in the man page is helpful.
Drew
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden