diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-09-28 15:37:02 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-09-28 15:37:02 -0700 |
commit | 32e88a57eb101df7a25f885699a05bcac1f791f7 (patch) | |
tree | aa3ff673ecb9cb9ade75e46385f029ff77d8a234 /system/include | |
parent | 46b3356e4812b8eb5e8986abee4626d9bac140b9 (diff) |
support ioctl-FIONREAD
Diffstat (limited to 'system/include')
-rw-r--r-- | system/include/sys/ioctl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/system/include/sys/ioctl.h b/system/include/sys/ioctl.h index edc9ea36..12857ae3 100644 --- a/system/include/sys/ioctl.h +++ b/system/include/sys/ioctl.h @@ -11,6 +11,8 @@ extern "C" { #define TIOCGSIZE 80 // bogus #define TIOCGWINSZ 80 // bogus +#define FIONREAD 1 + int ioctl(int d, int request, ...); #define SO_RCVTIMEO 1000 |