1 def CpuSetT : NamedType<"cpu_set_t">;
2 def CpuSetPtr : PtrType<CpuSetT>;
3 def ConstCpuSetPtr : ConstType<CpuSetPtr>;
5 def GnuExtensions : StandardSpec<"GNUExtensions"> {
6 NamedType CookieIOFunctionsT = NamedType<"cookie_io_functions_t">;
7 HeaderSpec CType = HeaderSpec<
21 HeaderSpec Math = HeaderSpec<
30 [ArgSpec<FloatType>, ArgSpec<FloatPtr>, ArgSpec<FloatPtr>]
32 FunctionSpec<"exp10f", RetValSpec<FloatType>, [ArgSpec<FloatType>]>,
36 HeaderSpec Sched = HeaderSpec<
39 [PidT, SizeTType, CpuSetT], // Types
45 [ArgSpec<PidT>, ArgSpec<SizeTType>, ArgSpec<CpuSetPtr>]
50 [ArgSpec<PidT>, ArgSpec<SizeTType>, ArgSpec<ConstCpuSetPtr>]
55 HeaderSpec String = HeaderSpec<
64 [ArgSpec<ConstVoidPtr>, ArgSpec<SizeTType>, ArgSpec<ConstVoidPtr>, ArgSpec<SizeTType>]
69 [ArgSpec<VoidPtr>, ArgSpec<IntType>, ArgSpec<SizeTType>]
74 [ArgSpec<IntType>, ArgSpec<CharPtr>, ArgSpec<SizeTType>]
79 [ArgSpec<ConstCharPtr>, ArgSpec<ConstCharPtr>]
84 [ArgSpec<ConstCharPtr>, ArgSpec<IntType>]
89 HeaderSpec FEnv = HeaderSpec<
113 HeaderSpec StdIO = HeaderSpec<
116 [CookieIOFunctionsT], // Types
121 RetValSpec<VoidType>,
137 [ArgSpec<VoidPtr>, ArgSpec<ConstCharPtr>, ArgSpec<CookieIOFunctionsT>]
141 RetValSpec<SizeTType>,
142 [ArgSpec<VoidRestrictedPtr>,
145 ArgSpec<FILERestrictedPtr>]
149 RetValSpec<SizeTType>,
150 [ArgSpec<ConstVoidRestrictedPtr>,
153 ArgSpec<FILERestrictedPtr>]
163 HeaderSpec PThread = HeaderSpec<
170 "pthread_setname_np",
172 [ArgSpec<PThreadTType>, ArgSpec<ConstCharPtr>]
175 "pthread_getname_np",
177 [ArgSpec<PThreadTType>, ArgSpec<CharPtr>, ArgSpec<SizeTType>]
182 HeaderSpec SysAuxv = HeaderSpec<
190 HeaderSpec SendFile = HeaderSpec<
193 [OffTType, SizeTType, SSizeTType,], // Types
198 RetValSpec<SSizeTType>,
199 [ArgSpec<IntType>, ArgSpec<IntType>, ArgSpec<OffTPtr>, ArgSpec<SizeTType>]
204 HeaderSpec UniStd = HeaderSpec<
213 [ArgSpec<IntType>, ArgSpec<IntType>, ArgSpec<IntType>]