>
> > I'm just curious why pollhead is defined under _KERNEL and _KMEMUSER. :)
>
>Well, who else would need it?  If you're not the kernel, and you're not a
>kmem reader, it's useless to you.


And the other point is that <sys/poll.h> needs to be included by many 
applications (anything using poll(2)) so protecting the kernel declarations
from user land is more important than in socketvar.h which is only used by 
the implementation of the socket library calls.

Casper

_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to