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