tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Bogus ifdef guard in sys/null.h

On Sat, Jul 17, 2010 at 12:16:13PM +0300, Stathis Kamperis wrote:
> POSIX says that both stddef.h and unistd.h shall provide NULL. This
> isn't just a thought experiment. It actually broke a test from here:
> Please consider changing it, or explain why it shouldn't.

Both headers provide NULL. I remember certain headers are allowed to
include others to provide the complete API, which would break rather
badly if this behavior was actually allowed.

So let me turn your question back -- why should this behavior be


Home | Main Index | Thread Index | Old Index