1 def StructEpollEvent : NamedType<"struct epoll_event">;
2 def StructEpollEventPtr : PtrType<StructEpollEvent>;
4 def StructEpollData : NamedType<"struct epoll_data">;
6 def Linux : StandardSpec<"Linux"> {
7 HeaderSpec Errno = HeaderSpec<
27 Macro<"ETOOMANYREFS">,
36 Macro<"EKEYREJECTED">,
43 Macro<"EPFNOSUPPORT">,
57 Macro<"ESOCKTNOSUPPORT">,
66 HeaderSpec Sched = HeaderSpec<
75 Macro<"SCHED_DEADLINE">,
82 HeaderSpec SysMMan = HeaderSpec<
84 [Macro<"MAP_ANONYMOUS">],
94 ArgSpec<UnsignedCharPtr>,
103 ArgSpec<UnsignedIntType>,
132 HeaderSpec SysPrctl = HeaderSpec<
143 ArgSpec<UnsignedLongType>,
144 ArgSpec<UnsignedLongType>,
145 ArgSpec<UnsignedLongType>,
146 ArgSpec<UnsignedLongType>,
152 HeaderSpec SysRandom = HeaderSpec<
155 Macro<"GRND_RANDOM">,
156 Macro<"GRND_NONBLOCK">,
157 Macro<"GRND_INSECURE">,
159 [SizeTType, SSizeTType], // Types
164 RetValSpec<SSizeTType>,
168 ArgSpec<UnsignedIntType>
174 HeaderSpec SysTime = HeaderSpec<
183 [StructTimevalType], // Types
189 HeaderSpec SysEpoll = HeaderSpec<
221 ArgSpec<StructEpollEventPtr>
229 ArgSpec<StructEpollEventPtr>,
239 ArgSpec<StructEpollEventPtr>,
242 ArgSpec<ConstSigSetPtrType>
250 ArgSpec<StructEpollEventPtr>,
252 ArgSpec<ConstStructTimeSpecPtr>,
253 ArgSpec<ConstSigSetPtrType>
259 HeaderSpec Signal = HeaderSpec<
302 HeaderSpec UniStd = HeaderSpec<
311 [ArgSpec<IntPtr>, ArgSpec<IntType>] //TODO: make this int[2]