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
> Not only Sun does, Linux does too (e.g. in various networking ioctls).
> I would just fix the man page.

Ach - more ugliness in Linux.
New man page fragment:

...
RETURN VALUE
Usually, on success zero is returned. A few ioctls use
the return value as an output parameter and return a non­
negative value on success. On error, -1 is returned, and
errno is set appropriately.
...

Andries
-
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.020 / U:0.400 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site