>I have still not heard any reason for the varargs here..
>except "it's needed for portability"..
>portability with WHO?

        portability with other *BSD projects (NetBSD, OpenBSD, BSD/OS, MacOSX
        maybe).

>BSD4.4 certainly didn't have varargs there....

        4.4BSD did not have prototype in protosw.h, there's no varargs either.
        freebsd added prototype on its own, and thus change/broke some of the
        existing xx{in,out}put prototypes.  netbsd/openbsd added varargs, to
        keep existing practices in 4.4BSD.
        see it for yourself.
        http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/sys/protosw.h
        http://www.openbsd.org/cgi-bin/cvsweb/src/sys/sys/protosw.h
        http://cvsweb.netbsd.org/bsdweb.cgi/syssrc/sys/sys/protosw.h

itojun

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

Reply via email to