• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1def Linux : StandardSpec<"Linux"> {
2  HeaderSpec Errno = HeaderSpec<
3      "errno.h",
4      [
5        Macro<"ENOMEDIUM">,
6        Macro<"ENOTBLK">,
7        Macro<"EMEDIUMTYPE">,
8        Macro<"EBADSLT">,
9        Macro<"ECHRNG">,
10        Macro<"ERFKILL">,
11        Macro<"EUSERS">,
12        Macro<"EBADR">,
13        Macro<"EL3HLT">,
14        Macro<"ENOTUNIQ">,
15        Macro<"EXFULL">,
16        Macro<"EHOSTDOWN">,
17        Macro<"EL3RST">,
18        Macro<"ENOPKG">,
19        Macro<"ENOCSI">,
20        Macro<"EUNATCH">,
21        Macro<"EREMCHG">,
22        Macro<"ETOOMANYREFS">,
23        Macro<"EL2HLT">,
24        Macro<"EBADFD">,
25        Macro<"EREMOTEIO">,
26        Macro<"ENAVAIL">,
27        Macro<"ELIBEXEC">,
28        Macro<"ESHUTDOWN">,
29        Macro<"ENOKEY">,
30        Macro<"ESTRPIPE">,
31        Macro<"EKEYREJECTED">,
32        Macro<"ESRMNT">,
33        Macro<"EKEYREVOKED">,
34        Macro<"EBADE">,
35        Macro<"ELIBBAD">,
36        Macro<"EISNAM">,
37        Macro<"EBFONT">,
38        Macro<"EPFNOSUPPORT">,
39        Macro<"EREMOTE">,
40        Macro<"EDEADLOCK">,
41        Macro<"ENONET">,
42        Macro<"EDOTDOT">,
43        Macro<"EKEYEXPIRED">,
44        Macro<"ELIBSCN">,
45        Macro<"ERESTART">,
46        Macro<"EBADRQC">,
47        Macro<"EUCLEAN">,
48        Macro<"ENOANO">,
49        Macro<"ELIBACC">,
50        Macro<"EHWPOISON">,
51        Macro<"ELIBMAX">,
52        Macro<"ESOCKTNOSUPPORT">,
53        Macro<"ENOTNAM">,
54        Macro<"ELNRNG">,
55        Macro<"EL2NSYNC">,
56        Macro<"EADV">,
57        Macro<"ECOMM">,
58      ]
59  >;
60
61  HeaderSpec SysMMan = HeaderSpec<
62      "sys/mman.h",
63      [Macro<"MAP_ANONYMOUS">]
64  >;
65
66  HeaderSpec Signal = HeaderSpec<
67      "signal.h",
68      [
69        Macro<"NSIG">,
70
71        Macro<"SIGHUP">,
72        Macro<"SIGINT">,
73        Macro<"SIGQUIT">,
74        Macro<"SIGILL">,
75        Macro<"SIGTRAP">,
76        Macro<"SIGABRT">,
77        Macro<"SIGIOT">,
78        Macro<"SIGBUS">,
79        Macro<"SIGFPE">,
80        Macro<"SIGKILL">,
81        Macro<"SIGUSR1">,
82        Macro<"SIGSEGV">,
83        Macro<"SIGUSR2">,
84        Macro<"SIGPIPE">,
85        Macro<"SIGALRM">,
86        Macro<"SIGTERM">,
87        Macro<"SIGSTKFLT">,
88        Macro<"SIGCHLD">,
89        Macro<"SIGCONT">,
90        Macro<"SIGSTOP">,
91        Macro<"SIGTSTP">,
92        Macro<"SIGTTIN">,
93        Macro<"SIGTTOU">,
94        Macro<"SIGURG">,
95        Macro<"SIGXCPU">,
96        Macro<"SIGXFSZ">,
97        Macro<"SIGVTALRM">,
98        Macro<"SIGPROF">,
99        Macro<"SIGWINCH">,
100        Macro<"SIGIO">,
101        Macro<"SIGPOLL">,
102        Macro<"SIGPWR">,
103        Macro<"SIGSYS">,
104        Macro<"SIGUNUSED">,
105      ]
106  >;
107
108  let Headers = [
109    Errno,
110    SysMMan,
111    Signal,
112  ];
113}
114