xref: /reactos/sdk/include/crt/sys/ioctl.h (revision dc0433f0)
1 /**
2  * This file has no copyright assigned and is placed in the Public Domain.
3  * This file is part of the w64 mingw-runtime package.
4  * No warranty is given; refer to the file DISCLAIMER within this package.
5  */
6 #ifndef _SYS_IOCTL_H
7 #define _SYS_IOCTL_H
8 
9 #include <sys/cdefs.h>
10 
11 #define WINDOWS_POST	0	/* Set write() behavior to PostMessage() */
12 #define WINDOWS_SEND	1	/* Set write() behavior to SendMessage() */
13 #define WINDOWS_HWND	2	/* Set hWnd for read() calls */
14 
15 __BEGIN_DECLS
16 
17 int ioctl (int __fd, int __cmd, ...);
18 
19 __END_DECLS
20 
21 #endif
22