ioctl.h 341 B

12345678910111213141516171819202122
  1. #ifndef __IOCTL_H__
  2. #define __IOCTL_H__
  3. #ifndef _BSD_EXTENSION
  4. This header file is an extension to ANSI/POSIX
  5. #endif
  6. #ifdef __cplusplus
  7. extern "C" {
  8. #endif
  9. /* FIONREAD: return number of bytes readable in *(long*)arg */
  10. #define FIONREAD 1
  11. int ioctl(int, unsigned long, void*);
  12. #ifdef __cplusplus
  13. }
  14. #endif
  15. #endif /* !__IOCTL_H__ */