diff options
Diffstat (limited to 'libc-bottom-half/headers/public/__header_sys_ioctl.h')
-rw-r--r-- | libc-bottom-half/headers/public/__header_sys_ioctl.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/libc-bottom-half/headers/public/__header_sys_ioctl.h b/libc-bottom-half/headers/public/__header_sys_ioctl.h new file mode 100644 index 0000000..f2cf4ee --- /dev/null +++ b/libc-bottom-half/headers/public/__header_sys_ioctl.h @@ -0,0 +1,17 @@ +#ifndef __wasilibc___header_sys_ioctl_h +#define __wasilibc___header_sys_ioctl_h + +#define FIONREAD 1 +#define FIONBIO 2 + +#ifdef __cplusplus +extern "C" { +#endif + +int ioctl(int, int, ...); + +#ifdef __cplusplus +} +#endif + +#endif |