Messages in this thread |  | | Date | Thu, 21 Sep 2000 13:36:39 +0200 | From | "Andi Kleen" <> | Subject | Re: [RFC] ioctl(2) return value |
| |
On Thu, Sep 21, 2000 at 01:33:14PM +0200, Andries Brouwer wrote: > The current manpage says: > > RETURN VALUE > On success, zero is returned. On error, -1 is returned, > and errno is set appropriately. > > Adding: "except on ALSA where certain other return values are used" > would be really ugly. > > But you are right, Sun uses other return values with STREAMS ioctls.
Not only Sun does, Linux does too (e.g. in various networking ioctls) I would just fix the man page.
-Andi - 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/
|  |