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<VoidPtr>, ArgSpec<IntType>, ArgSpec<SizeTType>]
69 [ArgSpec<IntType>, ArgSpec<CharPtr>, ArgSpec<SizeTType>]
74 [ArgSpec<ConstCharPtr>, ArgSpec<ConstCharPtr>]
79 HeaderSpec FEnv = HeaderSpec<
103 HeaderSpec StdIO = HeaderSpec<
106 [CookieIOFunctionsT], // Types
111 RetValSpec<VoidType>,
127 [ArgSpec<VoidPtr>, ArgSpec<ConstCharPtr>, ArgSpec<CookieIOFunctionsT>]
131 RetValSpec<SizeTType>,
132 [ArgSpec<VoidRestrictedPtr>,
135 ArgSpec<FILERestrictedPtr>]
139 RetValSpec<SizeTType>,
140 [ArgSpec<ConstVoidRestrictedPtr>,
143 ArgSpec<FILERestrictedPtr>]
153 HeaderSpec PThread = HeaderSpec<
160 "pthread_setname_np",
162 [ArgSpec<PThreadTType>, ArgSpec<ConstCharPtr>]
165 "pthread_getname_np",
167 [ArgSpec<PThreadTType>, ArgSpec<CharPtr>, ArgSpec<SizeTType>]
172 HeaderSpec SysAuxv = HeaderSpec<
180 HeaderSpec SendFile = HeaderSpec<
183 [OffTType, SizeTType, SSizeTType,], // Types
188 RetValSpec<SSizeTType>,
189 [ArgSpec<IntType>, ArgSpec<IntType>, ArgSpec<OffTPtr>, ArgSpec<SizeTType>]
194 HeaderSpec UniStd = HeaderSpec<
203 [ArgSpec<IntType>, ArgSpec<IntType>, ArgSpec<IntType>]