DEADSOFTWARE

2faf1d09055ed5d5f3769c9580e9195613b61232
[bbcp.git] / ubuntu / Lin / Mod / gen-Ioctl / mkioctl.c
1 #include <sys/ioctl.h>
2 #include <stdio.h>
4 #define PREFIX "\t\t"
6 void D (const char *s, int ctl)
7 {
8 printf("%s%s* = %d;\n", PREFIX, s, ctl);
9 }
11 int main (int argc, char *argv[])
12 {
13 D("FIOCLEX", FIOCLEX);
14 D("FIONCLEX", FIONCLEX);
15 D("FIONREAD", FIONREAD);
16 D("FIONBIO", FIONBIO);
17 D("FIOASYNC", FIOASYNC);
19 D("TIOCMGET", TIOCMGET);
20 D("TIOCMSET", TIOCMSET);
21 D("TIOCEXCL", TIOCEXCL);
22 D("TIOCNXCL", TIOCNXCL);
23 D("TIOCOUTQ", TIOCOUTQ);
24 D("TIOCSBRK", TIOCSBRK);
25 D("TIOCCBRK", TIOCCBRK);
26 D("TIOCMBIS", TIOCMBIS);
27 D("TIOCMBIC", TIOCMBIC);
29 return 0;
30 }