[lkml]   [2000]   [Sep]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [RFC] ioctl(2) return value
On Thu, Sep 21, 2000 at 01:33:14PM +0200, Andries Brouwer wrote:
> The current manpage says:
> 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.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:38    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean