wut  v1.7.0
Wii U Toolchain
filio.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <sys/ioccom.h>
4 
5 /* Generic file-descriptor ioctl's. */
6 #define FIOCLEX _IO('f', 1) /* set close on exec on fd */
7 #define FIONCLEX _IO('f', 2) /* remove close on exec */
8 #define FIONREAD _IOR('f', 127, int) /* get # bytes to read */
9 #define FIONWRITE _IOR('f', 119, int) /* get # bytes (yet) to write */
10 #define FIONBIO _IOW('f', 126, int) /* set/clear non-blocking i/o */
11 #define FIOASYNC _IOW('f', 125, int) /* set/clear async i/o */
12 #define FIOSETOWN _IOW('f', 124, int) /* set owner */
13 #define FIOGETOWN _IOR('f', 123, int) /* get owner */
14 #define FIODTYPE _IOR('f', 122, int) /* get d_flags type part */
15 #define FIOGETLBA _IOR('f', 121, int) /* get start blk # */
16 struct fiodgname_arg {
17  int len;
18  void *buf;
19 };
20 #define FIODGNAME _IOW('f', 120, struct fiodgname_arg) /* get dev. name */
21 #define FIONSPACE _IOR('f', 118, int) /* get space in send queue */
void * buf
Definition: filio.h:18
int len
Definition: filio.h:17