delorie.com/djgpp/doc/libc/libc_494.html   search  
libc.a reference

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

ioctl (General description)

ioctl performs low level calls to communicate with device drivers. As there are lots of different device drivers, no really general description is possible.

The DJGPP version tries to cope with two different flavors of ioctl, a DOSish and a UNIXish way. To distinguish between DOS-like and UNIX-like calls, all valid DOS commands have all 3 MSB set to 0, the UNIX command have at least one of the 3 MSB set to 1.


  webmaster     delorie software   privacy  
  Copyright © 2004     Updated Apr 2004