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<"exp10", RetValSpec<DoubleType>, [ArgSpec<DoubleType>]>,
35 FunctionSpec<"exp10f", RetValSpec<FloatType>, [ArgSpec<FloatType>]>,
39 HeaderSpec Sched = HeaderSpec<
42 [PidT, SizeTType, CpuSetT], // Types
48 [ArgSpec<PidT>, ArgSpec<SizeTType>, ArgSpec<CpuSetPtr>]
53 [ArgSpec<PidT>, ArgSpec<SizeTType>, ArgSpec<ConstCpuSetPtr>]
58 HeaderSpec String = HeaderSpec<
67 [ArgSpec<ConstVoidPtr>, ArgSpec<SizeTType>, ArgSpec<ConstVoidPtr>, ArgSpec<SizeTType>]
72 [ArgSpec<VoidPtr>, ArgSpec<IntType>, ArgSpec<SizeTType>]
77 [ArgSpec<IntType>, ArgSpec<CharPtr>, ArgSpec<SizeTType>]
82 [ArgSpec<ConstCharPtr>, ArgSpec<ConstCharPtr>]
87 [ArgSpec<ConstCharPtr>, ArgSpec<IntType>]
92 HeaderSpec FEnv = HeaderSpec<
116 HeaderSpec StdIO = HeaderSpec<
119 [CookieIOFunctionsT], // Types
124 RetValSpec<VoidType>,
140 [ArgSpec<VoidPtr>, ArgSpec<ConstCharPtr>, ArgSpec<CookieIOFunctionsT>]
144 RetValSpec<SizeTType>,
145 [ArgSpec<VoidRestrictedPtr>,
148 ArgSpec<FILERestrictedPtr>]
152 RetValSpec<SizeTType>,
153 [ArgSpec<ConstVoidRestrictedPtr>,
156 ArgSpec<FILERestrictedPtr>]
166 HeaderSpec StdLib = HeaderSpec<
169 [QSortRCompareT], // Types
174 RetValSpec<VoidType>,
175 [ArgSpec<VoidPtr>, ArgSpec<SizeTType>, ArgSpec<SizeTType>, ArgSpec<QSortRCompareT>, ArgSpec<VoidPtr>]
180 HeaderSpec PThread = HeaderSpec<
187 "pthread_setname_np",
189 [ArgSpec<PThreadTType>, ArgSpec<ConstCharPtr>]
192 "pthread_getname_np",
194 [ArgSpec<PThreadTType>, ArgSpec<CharPtr>, ArgSpec<SizeTType>]
199 HeaderSpec SysAuxv = HeaderSpec<
207 HeaderSpec SendFile = HeaderSpec<
210 [OffTType, SizeTType, SSizeTType,], // Types
215 RetValSpec<SSizeTType>,
216 [ArgSpec<IntType>, ArgSpec<IntType>, ArgSpec<OffTPtr>, ArgSpec<SizeTType>]
221 HeaderSpec UniStd = HeaderSpec<
230 [ArgSpec<IntType>, ArgSpec<IntType>, ArgSpec<IntType>]