[Haifux] Telling the kernel business is closed (my weekly riddle)

Shachar Shemesh shachar at shemesh.biz
Tue Jun 28 21:08:32 MSD 2011


On 28/06/11 19:54, Nadav Har'El wrote:
> For ioctl(2), I don't know what to use -
> the manual page doesn't list EIO; Perhaps your ioctl(2) can return the failure
> announcement as part of its normal return value, and don't fail the actual
> ioctl?
>
IOCTL are not documented, as they cannot be documented. This is an open 
interface between specific user space program and specific kernel code, 
and anything goes there. I don't think that's what Eli was aiming for, 
however.

Shachar



-- 
Shachar Shemesh
Lingnu Open Source Consulting Ltd.
http://www.lingnu.com




More information about the Haifux mailing list