On Fri, 22 Mar 2002, Garrett Wollman wrote:

> <<On Fri, 22 Mar 2002 10:08:05 -0700 (MST), "M. Warner Losh" <[EMAIL PROTECTED]> said:
> > -int        ioctl(int, unsigned long, ...);
> > +int        ioctl __P((int, unsigned long, ...));
>       int (ioctl)(int, unsigned long, ...);
> is the ISO-sanctioned way.

It is just a more robust hack when used in system headers:

        #define ioctl   you lose
        #include <sys/ioctl.h>

gives undefined behaviour which happens to break both of the above.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to