1 def CpuSetT : NamedType<"cpu_set_t">;
2 def CpuSetPtr : PtrType<CpuSetT>;
3 def ConstCpuSetPtr : ConstType<CpuSetPtr>;
5 def QSortRCompareT : NamedType<"__qsortrcompare_t">;
7 def GnuExtensions : StandardSpec<"GNUExtensions"> {
8 NamedType CookieIOFunctionsT = NamedType<"cookie_io_functions_t">;
9 HeaderSpec CType = HeaderSpec<
23 HeaderSpec Math = HeaderSpec<
32 [ArgSpec<FloatType>, ArgSpec<FloatPtr>, ArgSpec<FloatPtr>]
34 FunctionSpec<"exp10f", RetValSpec<FloatType>, [ArgSpec<FloatType>]>,
38 HeaderSpec Sched = HeaderSpec<
41 [PidT, SizeTType, CpuSetT], // Types
47 [ArgSpec<PidT>, ArgSpec<SizeTType>, ArgSpec<CpuSetPtr>]
52 [ArgSpec<PidT>, ArgSpec<SizeTType>, ArgSpec<ConstCpuSetPtr>]
57 HeaderSpec String = HeaderSpec<
66 [ArgSpec<ConstVoidPtr>, ArgSpec<SizeTType>, ArgSpec<ConstVoidPtr>, ArgSpec<SizeTType>]
71 [ArgSpec<VoidPtr>, ArgSpec<IntType>, ArgSpec<SizeTType>]
76 [ArgSpec<IntType>, ArgSpec<CharPtr>, ArgSpec<SizeTType>]
81 [ArgSpec<ConstCharPtr>, ArgSpec<ConstCharPtr>]
86 [ArgSpec<ConstCharPtr>, ArgSpec<IntType>]
91 HeaderSpec FEnv = HeaderSpec<
115 HeaderSpec StdIO = HeaderSpec<
118 [CookieIOFunctionsT], // Types
123 RetValSpec<VoidType>,
139 [ArgSpec<VoidPtr>, ArgSpec<ConstCharPtr>, ArgSpec<CookieIOFunctionsT>]
143 RetValSpec<SizeTType>,
144 [ArgSpec<VoidRestrictedPtr>,
147 ArgSpec<FILERestrictedPtr>]
151 RetValSpec<SizeTType>,
152 [ArgSpec<ConstVoidRestrictedPtr>,
155 ArgSpec<FILERestrictedPtr>]
165 HeaderSpec StdLib = HeaderSpec<
168 [QSortRCompareT], // Types
173 RetValSpec<VoidType>,
174 [ArgSpec<VoidPtr>, ArgSpec<SizeTType>, ArgSpec<SizeTType>, ArgSpec<QSortRCompareT>, ArgSpec<VoidPtr>]
179 HeaderSpec PThread = HeaderSpec<
186 "pthread_setname_np",
188 [ArgSpec<PThreadTType>, ArgSpec<ConstCharPtr>]
191 "pthread_getname_np",
193 [ArgSpec<PThreadTType>, ArgSpec<CharPtr>, ArgSpec<SizeTType>]
198 HeaderSpec SysAuxv = HeaderSpec<
206 HeaderSpec SendFile = HeaderSpec<
209 [OffTType, SizeTType, SSizeTType,], // Types
214 RetValSpec<SSizeTType>,
215 [ArgSpec<IntType>, ArgSpec<IntType>, ArgSpec<OffTPtr>, ArgSpec<SizeTType>]
220 HeaderSpec UniStd = HeaderSpec<
229 [ArgSpec<IntType>, ArgSpec<IntType>, ArgSpec<IntType>]