Configfs vs ioctl
Posted Aug 26, 2005 15:37 UTC (Fri) by
giraffedata (subscriber, #1954)
In reply to:
Configfs - an introduction by farnz
Parent article:
Configfs - an introduction
I can't see how you could ever phase out ioctl via this strategy. libc (and generic parts of the kernel) have no idea what the argument to ioctl means. Individual device drivers and filesystem drivers assign meaning to it. That's the major reason ioctls are used. Would you put cases for every known use of ioctl in libc? And even if you did, how would libc know which language the particular ioctl is in?
(
Log in to post comments)