Re: [RFC] ioctl(2) return value

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Fri Sep 22 2000 - 03:57:45 EDT

  • Next message: David Howells: "Re: [RFC] Wine speedup through kernel module"

    > > Linux doesnt care. If you want ALSA to run on SYS5 or BSD derived kernels you
    > > should avoid returning anything but 0/error-code from ioctls.
    >
    > I'd like you clarify the reasons for this choice in these OS families.
    > Probably one of your gnomes knows it (I hope that this specific gnome is
    > not in hibernation in this season :-)

    Historically thats how ioctl worked, and that assumption is built into other
    systems. The ioctl returns value thing while in SuS isnt part of many systems
    or where it is, is embedded in the streams head not the normal ioctl paths.

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    Please read the FAQ at http://www.tux.org/lkml/



    This archive was generated by hypermail 2b29 : Fri Sep 22 2000 - 04:00:23 EDT