1 /* sys/ioctl.h */ 2 3 #ifndef _SYS_IOCTL_H 4 #define _SYS_IOCTL_H 5 6 #include <sys/cdefs.h> 7 8 /* /dev/windows ioctls */ 9 10 #define WINDOWS_POST 0 /* Set write() behavior to PostMessage() */ 11 #define WINDOWS_SEND 1 /* Set write() behavior to SendMessage() */ 12 #define WINDOWS_HWND 2 /* Set hWnd for read() calls */ 13 14 __BEGIN_DECLS 15 16 int ioctl (int __fd, int __cmd, void *); 17 18 __END_DECLS 19 20 #endif |