lkml.org 
[lkml]   [2000]   [Sep]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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/

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.879 / U:0.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site