def LLVMLibcExt : StandardSpec<"llvm_libc_ext"> { HeaderSpec Strings = HeaderSpec< "strings.h", [], // Macros [], // Types [], // Enumerations [ FunctionSpec< "bcopy", RetValSpec, [ArgSpec, ArgSpec, ArgSpec] >, FunctionSpec< "bzero", RetValSpec, [ArgSpec, ArgSpec] >, FunctionSpec< "bcmp", RetValSpec, [ArgSpec, ArgSpec, ArgSpec] >, ] >; HeaderSpec Assert = HeaderSpec< "assert.h", [], // Macros [], // Types [], // Enumerations [ FunctionSpec< "__assert_fail", RetValSpec, [ArgSpec, ArgSpec, ArgSpec, ArgSpec] >, ] >; HeaderSpec Sched = HeaderSpec< "sched.h", [], // Macros [PidT, SizeTType, CpuSetT], // Types [], // Enumerations [ FunctionSpec< "__sched_getcpucount", RetValSpec, [ArgSpec, ArgSpec] >, ] >; let Headers = [ Strings, Sched, Assert, ]; }