2 * D header file for POSIX.
4 * License: $(HTTP www.boost.org/LICENSE_1_0.txt, Boost License 1.0).
7 module core
.sys
.posix
.sys
.filio
;
9 import core
.sys
.posix
.sys
.ioccom
;
17 else version (WatchOS
)
26 // File-descriptor ioctl's
27 enum uint FIOCLEX
= _IO('f', 1); // set close on exec on fd
28 enum uint FIONCLEX
= _IO('f', 2); // remove close on exec
29 enum uint FIONREAD
= _IOR
!(int)('f', 127); // get # bytes to read
30 enum uint FIONBIO
= _IOW
!(int)('f', 126); // set/clear non-blocking i/o
31 enum uint FIOASYNC
= _IOW
!(int)('f', 125); // set/clear async i/o
32 enum uint FIOSETOWN
= _IOW
!(int)('f', 124); // set owner
33 enum uint FIOGETOWN
= _IOR
!(int)('f', 123); // get owner
34 enum uint FIODTYPE
= _IOR
!(int)('f', 122); // get d_type
39 // File-descriptor ioctl's
40 enum uint FIOCLEX
= _IO('f', 1); // set close on exec on fd
41 enum uint FIONCLEX
= _IO('f', 2); // remove close on exec
42 enum uint FIONREAD
= _IOR
!(int)('f', 127); // get # bytes to read
43 enum uint FIONBIO
= _IOW
!(int)('f', 126); // set/clear non-blocking i/o
44 enum uint FIOASYNC
= _IOW
!(int)('f', 125); // set/clear async i/o
45 enum uint FIOSETOWN
= _IOW
!(int)('f', 124); // set owner
46 enum uint FIOGETOWN
= _IOR
!(int)('f', 123); // get owner