mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-31 11:30:56 +08:00
Cygwin: socket.h: Add SIOCINQ, equivalent to FIONREAD
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
parent
03f380c2bc
commit
b89b6f4349
@ -22,6 +22,7 @@ details. */
|
||||
|
||||
#define SIOCATMARK _IOR('s', 7, long) /* at oob mark? */
|
||||
#define FIONREAD _IOR('f', 127, long) /* get # bytes to read */
|
||||
#define SIOCINQ FIONREAD
|
||||
/* Compatible with termios.h */
|
||||
#define FIONBIO 0x8004667e /* set/clear non-blocking i/o */
|
||||
#define FIOASYNC _IOW('f', 125, long) /* set/clear async i/o */
|
||||
|
Loading…
x
Reference in New Issue
Block a user