1 def StdC : StandardSpec<"stdc"> {
3 NamedType StructTmType = NamedType<"struct tm">;
4 PtrType StructTmPtr = PtrType<StructTmType>;
5 PtrType TimeTTypePtr = PtrType<TimeTType>;
6 NamedType ClockT = NamedType<"clock_t">;
8 NamedType DivTType = NamedType<"div_t">;
9 NamedType LDivTType = NamedType<"ldiv_t">;
10 NamedType LLDivTType = NamedType<"lldiv_t">;
12 NamedType JmpBuf = NamedType<"jmp_buf">;
14 NamedType TssTType = NamedType<"tss_t">;
15 PtrType TssTPtr = PtrType<TssTType>;
16 NamedType TssDtorTType = NamedType<"tss_dtor_t">;
18 HeaderSpec Assert = HeaderSpec<
21 Macro<"static_assert">,
29 HeaderSpec CType = HeaderSpec<
108 NamedType FEnvT = NamedType<"fenv_t">;
109 PtrType FEnvTPtr = PtrType<FEnvT>;
110 ConstType ConstFEnvTPtr = ConstType<FEnvTPtr>;
111 NamedType FExceptT = NamedType<"fexcept_t">;
112 PtrType FExceptTPtr = PtrType<FExceptT>;
113 ConstType ConstFExceptTPtr = ConstType<FExceptTPtr>;
114 HeaderSpec Fenv = HeaderSpec<
117 Macro<"FE_DIVBYZERO">,
120 Macro<"FE_OVERFLOW">,
121 Macro<"FE_UNDERFLOW">,
122 Macro<"FE_ALL_EXCEPT">,
124 Macro<"FE_DOWNWARD">,
125 Macro<"FE_TONEAREST">,
126 Macro<"FE_TOWARDZERO">,
133 NamedType<"fexcept_t">,
170 [ArgSpec<ConstFEnvTPtr>]
175 [ArgSpec<FExceptTPtr>, ArgSpec<IntType>]
180 [ArgSpec<ConstFExceptTPtr>, ArgSpec<IntType>]
190 [ArgSpec<ConstFEnvTPtr>]
195 HeaderSpec String = HeaderSpec<
208 [ArgSpec<VoidRestrictedPtr>,
209 ArgSpec<ConstVoidRestrictedPtr>,
215 [ArgSpec<VoidPtr>, ArgSpec<ConstVoidPtr>, ArgSpec<SizeTType>]
220 [ArgSpec<ConstVoidPtr>, ArgSpec<ConstVoidPtr>, ArgSpec<SizeTType>]
225 [ArgSpec<ConstVoidPtr>, ArgSpec<IntType>, ArgSpec<SizeTType>]
230 [ArgSpec<VoidPtr>, ArgSpec<IntType>, ArgSpec<SizeTType>]
235 [ArgSpec<CharRestrictedPtr>, ArgSpec<ConstCharRestrictedPtr>]
240 [ArgSpec<CharRestrictedPtr>,
241 ArgSpec<ConstCharRestrictedPtr>,
247 [ArgSpec<CharRestrictedPtr>, ArgSpec<ConstCharRestrictedPtr>]
252 [ArgSpec<CharPtr>, ArgSpec<ConstCharPtr>, ArgSpec<SizeTType>]
257 [ArgSpec<ConstCharPtr>, ArgSpec<ConstCharPtr>]
262 [ArgSpec<ConstCharPtr>, ArgSpec<ConstCharPtr>]
267 [ArgSpec<ConstCharPtr>, ArgSpec<ConstCharPtr>, ArgSpec<SizeTType>]
271 RetValSpec<SizeTType>,
272 [ArgSpec<CharRestrictedPtr>,
273 ArgSpec<ConstCharRestrictedPtr>,
279 [ArgSpec<ConstCharPtr>, ArgSpec<IntType>]
283 RetValSpec<SizeTType>,
284 [ArgSpec<ConstCharPtr>, ArgSpec<ConstCharPtr>]
289 [ArgSpec<ConstCharPtr>]
294 [ArgSpec<ConstCharPtr>,ArgSpec<SizeTType>]
299 [ArgSpec<ConstCharPtr>, ArgSpec<ConstCharPtr>]
304 [ArgSpec<ConstCharPtr>, ArgSpec<IntType>]
308 RetValSpec<SizeTType>,
309 [ArgSpec<ConstCharPtr>, ArgSpec<ConstCharPtr>]
314 [ArgSpec<ConstCharPtr>, ArgSpec<ConstCharPtr>]
319 [ArgSpec<CharRestrictedPtr>, ArgSpec<ConstCharRestrictedPtr>]
328 RetValSpec<SizeTType>,
329 [ArgSpec<ConstCharPtr>]
334 HeaderSpec Math = HeaderSpec<
338 Macro<"MATH_ERREXCEPT">,
339 Macro<"math_errhandling">,
346 Macro<"FP_ILOGBNAN">,
353 NamedType<"float_t">,
354 NamedType<"double_t">,
358 FunctionSpec<"copysign", RetValSpec<DoubleType>, [ArgSpec<DoubleType>, ArgSpec<DoubleType>]>,
359 FunctionSpec<"copysignf", RetValSpec<FloatType>, [ArgSpec<FloatType>, ArgSpec<FloatType>]>,
360 FunctionSpec<"copysignl", RetValSpec<LongDoubleType>, [ArgSpec<LongDoubleType>, ArgSpec<LongDoubleType>]>,
362 FunctionSpec<"ceil", RetValSpec<DoubleType>, [ArgSpec<DoubleType>]>,
363 FunctionSpec<"ceilf", RetValSpec<FloatType>, [ArgSpec<FloatType>]>,
364 FunctionSpec<"ceill", RetValSpec<LongDoubleType>, [ArgSpec<LongDoubleType>]>,
366 FunctionSpec<"fabs", RetValSpec<DoubleType>, [ArgSpec<DoubleType>]>,
367 FunctionSpec<"fabsf", RetValSpec<FloatType>, [ArgSpec<FloatType>]>,
368 FunctionSpec<"fabsl", RetValSpec<LongDoubleType>, [ArgSpec<LongDoubleType>]>,
370 FunctionSpec<"fdim", RetValSpec<DoubleType>, [ArgSpec<DoubleType>, ArgSpec<DoubleType>]>,
371 FunctionSpec<"fdimf", RetValSpec<FloatType>, [ArgSpec<FloatType>, ArgSpec<FloatType>]>,
372 FunctionSpec<"fdiml", RetValSpec<LongDoubleType>, [ArgSpec<LongDoubleType>, ArgSpec<LongDoubleType>]>,
374 FunctionSpec<"floor", RetValSpec<DoubleType>, [ArgSpec<DoubleType>]>,
375 FunctionSpec<"floorf", RetValSpec<FloatType>, [ArgSpec<FloatType>]>,
376 FunctionSpec<"floorl", RetValSpec<LongDoubleType>, [ArgSpec<LongDoubleType>]>,
378 FunctionSpec<"fmin", RetValSpec<DoubleType>, [ArgSpec<DoubleType>, ArgSpec<DoubleType>]>,
379 FunctionSpec<"fminf", RetValSpec<FloatType>, [ArgSpec<FloatType>, ArgSpec<FloatType>]>,
380 FunctionSpec<"fminl", RetValSpec<LongDoubleType>, [ArgSpec<LongDoubleType>, ArgSpec<LongDoubleType>]>,
382 FunctionSpec<"fmax", RetValSpec<DoubleType>, [ArgSpec<DoubleType>, ArgSpec<DoubleType>]>,
383 FunctionSpec<"fmaxf", RetValSpec<FloatType>, [ArgSpec<FloatType>, ArgSpec<FloatType>]>,
384 FunctionSpec<"fmaxl", RetValSpec<LongDoubleType>, [ArgSpec<LongDoubleType>, ArgSpec<LongDoubleType>]>,
386 FunctionSpec<"fma", RetValSpec<DoubleType>, [ArgSpec<DoubleType>, ArgSpec<DoubleType>, ArgSpec<DoubleType>]>,
387 FunctionSpec<"fmaf", RetValSpec<FloatType>, [ArgSpec<FloatType>, ArgSpec<FloatType>, ArgSpec<FloatType>]>,
389 FunctionSpec<"fmod", RetValSpec<DoubleType>, [ArgSpec<DoubleType>, ArgSpec<DoubleType>]>,
391 FunctionSpec<"fmodf", RetValSpec<FloatType>, [ArgSpec<FloatType>, ArgSpec<FloatType>]>,
393 FunctionSpec<"frexp", RetValSpec<DoubleType>, [ArgSpec<DoubleType>, ArgSpec<IntPtr>]>,
394 FunctionSpec<"frexpf", RetValSpec<FloatType>, [ArgSpec<FloatType>, ArgSpec<IntPtr>]>,
395 FunctionSpec<"frexpl", RetValSpec<LongDoubleType>, [ArgSpec<LongDoubleType>, ArgSpec<IntPtr>]>,
397 FunctionSpec<"hypot", RetValSpec<DoubleType>, [ArgSpec<DoubleType>, ArgSpec<DoubleType>]>,
398 FunctionSpec<"hypotf", RetValSpec<FloatType>, [ArgSpec<FloatType>, ArgSpec<FloatType>]>,
400 FunctionSpec<"ilogb", RetValSpec<IntType>, [ArgSpec<DoubleType>]>,
401 FunctionSpec<"ilogbf", RetValSpec<IntType>, [ArgSpec<FloatType>]>,
402 FunctionSpec<"ilogbl", RetValSpec<IntType>, [ArgSpec<LongDoubleType>]>,
404 FunctionSpec<"ldexp", RetValSpec<DoubleType>, [ArgSpec<DoubleType>, ArgSpec<IntType>]>,
405 FunctionSpec<"ldexpf", RetValSpec<FloatType>, [ArgSpec<FloatType>, ArgSpec<IntType>]>,
406 FunctionSpec<"ldexpl", RetValSpec<LongDoubleType>, [ArgSpec<LongDoubleType>, ArgSpec<IntType>]>,
408 FunctionSpec<"log10", RetValSpec<DoubleType>, [ArgSpec<DoubleType>]>,
409 FunctionSpec<"log10f", RetValSpec<FloatType>, [ArgSpec<FloatType>]>,
411 FunctionSpec<"log1p", RetValSpec<DoubleType>, [ArgSpec<DoubleType>]>,
412 FunctionSpec<"log1pf", RetValSpec<FloatType>, [ArgSpec<FloatType>]>,
414 FunctionSpec<"log2", RetValSpec<DoubleType>, [ArgSpec<DoubleType>]>,
415 FunctionSpec<"log2f", RetValSpec<FloatType>, [ArgSpec<FloatType>]>,
417 FunctionSpec<"log", RetValSpec<DoubleType>, [ArgSpec<DoubleType>]>,
418 FunctionSpec<"logf", RetValSpec<FloatType>, [ArgSpec<FloatType>]>,
420 FunctionSpec<"logb", RetValSpec<DoubleType>, [ArgSpec<DoubleType>]>,
421 FunctionSpec<"logbf", RetValSpec<FloatType>, [ArgSpec<FloatType>]>,
422 FunctionSpec<"logbl", RetValSpec<LongDoubleType>, [ArgSpec<LongDoubleType>]>,
424 FunctionSpec<"modf", RetValSpec<DoubleType>, [ArgSpec<DoubleType>, ArgSpec<DoublePtr>]>,
425 FunctionSpec<"modff", RetValSpec<FloatType>, [ArgSpec<FloatType>, ArgSpec<FloatPtr>]>,
426 FunctionSpec<"modfl", RetValSpec<LongDoubleType>, [ArgSpec<LongDoubleType>, ArgSpec<LongDoublePtr>]>,
428 FunctionSpec<"cos", RetValSpec<DoubleType>, [ArgSpec<DoubleType>]>,
429 FunctionSpec<"cosf", RetValSpec<FloatType>, [ArgSpec<FloatType>]>,
430 FunctionSpec<"sin", RetValSpec<DoubleType>, [ArgSpec<DoubleType>]>,
431 FunctionSpec<"sinf", RetValSpec<FloatType>, [ArgSpec<FloatType>]>,
432 FunctionSpec<"tan", RetValSpec<DoubleType>, [ArgSpec<DoubleType>]>,
433 FunctionSpec<"tanf", RetValSpec<FloatType>, [ArgSpec<FloatType>]>,
435 FunctionSpec<"erff", RetValSpec<FloatType>, [ArgSpec<FloatType>]>,
437 FunctionSpec<"exp", RetValSpec<DoubleType>, [ArgSpec<DoubleType>]>,
438 FunctionSpec<"expf", RetValSpec<FloatType>, [ArgSpec<FloatType>]>,
440 FunctionSpec<"exp2", RetValSpec<DoubleType>, [ArgSpec<DoubleType>]>,
441 FunctionSpec<"exp2f", RetValSpec<FloatType>, [ArgSpec<FloatType>]>,
443 FunctionSpec<"expm1", RetValSpec<DoubleType>, [ArgSpec<DoubleType>]>,
444 FunctionSpec<"expm1f", RetValSpec<FloatType>, [ArgSpec<FloatType>]>,
446 FunctionSpec<"remainderf", RetValSpec<FloatType>, [ArgSpec<FloatType>, ArgSpec<FloatType>]>,
447 FunctionSpec<"remainder", RetValSpec<DoubleType>, [ArgSpec<DoubleType>, ArgSpec<DoubleType>]>,
448 FunctionSpec<"remainderl", RetValSpec<LongDoubleType>, [ArgSpec<LongDoubleType>, ArgSpec<LongDoubleType>]>,
450 FunctionSpec<"remquof", RetValSpec<FloatType>, [ArgSpec<FloatType>, ArgSpec<FloatType>, ArgSpec<IntPtr>]>,
451 FunctionSpec<"remquo", RetValSpec<DoubleType>, [ArgSpec<DoubleType>, ArgSpec<DoubleType>, ArgSpec<IntPtr>]>,
452 FunctionSpec<"remquol", RetValSpec<LongDoubleType>, [ArgSpec<LongDoubleType>, ArgSpec<LongDoubleType>, ArgSpec<IntPtr>]>,
454 FunctionSpec<"round", RetValSpec<DoubleType>, [ArgSpec<DoubleType>]>,
455 FunctionSpec<"roundf", RetValSpec<FloatType>, [ArgSpec<FloatType>]>,
456 FunctionSpec<"roundl", RetValSpec<LongDoubleType>, [ArgSpec<LongDoubleType>]>,
458 FunctionSpec<"lround", RetValSpec<LongType>, [ArgSpec<DoubleType>]>,
459 FunctionSpec<"lroundf", RetValSpec<LongType>, [ArgSpec<FloatType>]>,
460 FunctionSpec<"lroundl", RetValSpec<LongType>, [ArgSpec<LongDoubleType>]>,
462 FunctionSpec<"llround", RetValSpec<LongLongType>, [ArgSpec<DoubleType>]>,
463 FunctionSpec<"llroundf", RetValSpec<LongLongType>, [ArgSpec<FloatType>]>,
464 FunctionSpec<"llroundl", RetValSpec<LongLongType>, [ArgSpec<LongDoubleType>]>,
466 FunctionSpec<"rint", RetValSpec<DoubleType>, [ArgSpec<DoubleType>]>,
467 FunctionSpec<"rintf", RetValSpec<FloatType>, [ArgSpec<FloatType>]>,
468 FunctionSpec<"rintl", RetValSpec<LongDoubleType>, [ArgSpec<LongDoubleType>]>,
470 FunctionSpec<"lrint", RetValSpec<LongType>, [ArgSpec<DoubleType>]>,
471 FunctionSpec<"lrintf", RetValSpec<LongType>, [ArgSpec<FloatType>]>,
472 FunctionSpec<"lrintl", RetValSpec<LongType>, [ArgSpec<LongDoubleType>]>,
474 FunctionSpec<"llrint", RetValSpec<LongLongType>, [ArgSpec<DoubleType>]>,
475 FunctionSpec<"llrintf", RetValSpec<LongLongType>, [ArgSpec<FloatType>]>,
476 FunctionSpec<"llrintl", RetValSpec<LongLongType>, [ArgSpec<LongDoubleType>]>,
478 FunctionSpec<"sqrt", RetValSpec<DoubleType>, [ArgSpec<DoubleType>]>,
479 FunctionSpec<"sqrtf", RetValSpec<FloatType>, [ArgSpec<FloatType>]>,
480 FunctionSpec<"sqrtl", RetValSpec<LongDoubleType>, [ArgSpec<LongDoubleType>]>,
482 FunctionSpec<"trunc", RetValSpec<DoubleType>, [ArgSpec<DoubleType>]>,
483 FunctionSpec<"truncf", RetValSpec<FloatType>, [ArgSpec<FloatType>]>,
484 FunctionSpec<"truncl", RetValSpec<LongDoubleType>, [ArgSpec<LongDoubleType>]>,
486 FunctionSpec<"nearbyint", RetValSpec<DoubleType>, [ArgSpec<DoubleType>]>,
487 FunctionSpec<"nearbyintf", RetValSpec<FloatType>, [ArgSpec<FloatType>]>,
488 FunctionSpec<"nearbyintl", RetValSpec<LongDoubleType>, [ArgSpec<LongDoubleType>]>,
490 FunctionSpec<"nextafterf", RetValSpec<FloatType>, [ArgSpec<FloatType>, ArgSpec<FloatType>]>,
491 FunctionSpec<"nextafter", RetValSpec<DoubleType>, [ArgSpec<DoubleType>, ArgSpec<DoubleType>]>,
492 FunctionSpec<"nextafterl", RetValSpec<LongDoubleType>, [ArgSpec<LongDoubleType>, ArgSpec<LongDoubleType>]>,
494 FunctionSpec<"pow", RetValSpec<DoubleType>, [ArgSpec<DoubleType>, ArgSpec<DoubleType>]>,
496 FunctionSpec<"coshf", RetValSpec<FloatType>, [ArgSpec<FloatType>]>,
497 FunctionSpec<"sinhf", RetValSpec<FloatType>, [ArgSpec<FloatType>]>,
498 FunctionSpec<"tanhf", RetValSpec<FloatType>, [ArgSpec<FloatType>]>,
500 FunctionSpec<"acosf", RetValSpec<FloatType>, [ArgSpec<FloatType>]>,
501 FunctionSpec<"asinf", RetValSpec<FloatType>, [ArgSpec<FloatType>]>,
502 FunctionSpec<"asin", RetValSpec<DoubleType>, [ArgSpec<DoubleType>]>,
503 FunctionSpec<"atanf", RetValSpec<FloatType>, [ArgSpec<FloatType>]>,
505 FunctionSpec<"acoshf", RetValSpec<FloatType>, [ArgSpec<FloatType>]>,
506 FunctionSpec<"asinhf", RetValSpec<FloatType>, [ArgSpec<FloatType>]>,
507 FunctionSpec<"atanhf", RetValSpec<FloatType>, [ArgSpec<FloatType>]>,
509 FunctionSpec<"scalbn", RetValSpec<DoubleType>, [ArgSpec<DoubleType>, ArgSpec<IntType>]>,
510 FunctionSpec<"scalbnf", RetValSpec<FloatType>, [ArgSpec<FloatType>, ArgSpec<IntType>]>,
511 FunctionSpec<"scalbnl", RetValSpec<LongDoubleType>, [ArgSpec<LongDoubleType>, ArgSpec<IntType>]>,
515 HeaderSpec StdIO = HeaderSpec<
534 RetValSpec<VoidType>,
561 ArgSpec<CharRestrictedPtr>,
563 ArgSpec<FILERestrictedPtr>,
574 [ArgSpec<ConstCharPtr>,
575 ArgSpec<ConstCharPtr>]
585 RetValSpec<LongType>,
612 [ArgSpec<ConstCharRestrictedPtr>,
613 ArgSpec<FILERestrictedPtr>]
618 [ArgSpec<ConstCharRestrictedPtr>]
622 RetValSpec<SizeTType>,
623 [ArgSpec<VoidRestrictedPtr>,
626 ArgSpec<FILERestrictedPtr>]
637 RetValSpec<SizeTType>,
638 [ArgSpec<ConstVoidRestrictedPtr>,
641 ArgSpec<FILERestrictedPtr>]
646 [ArgSpec<ConstCharPtr>]
650 RetValSpec<VoidType>,
651 [ArgSpec<FILERestrictedPtr>, ArgSpec<CharRestrictedPtr>]
656 [ArgSpec<FILERestrictedPtr>, ArgSpec<CharRestrictedPtr>, ArgSpec<IntType>, ArgSpec<SizeTType>]
661 [ArgSpec<ConstCharRestrictedPtr>,
662 ArgSpec<ConstCharRestrictedPtr>,
668 [ArgSpec<ConstCharRestrictedPtr>,
674 [ArgSpec<FILERestrictedPtr>,
675 ArgSpec<ConstCharRestrictedPtr>,
681 [ArgSpec<CharRestrictedPtr>,
682 ArgSpec<ConstCharRestrictedPtr>,
688 [ArgSpec<CharRestrictedPtr>,
690 ArgSpec<ConstCharRestrictedPtr>,
696 [ArgSpec<ConstCharRestrictedPtr>,
702 [ArgSpec<FILERestrictedPtr>,
703 ArgSpec<ConstCharRestrictedPtr>,
709 [ArgSpec<CharRestrictedPtr>,
710 ArgSpec<ConstCharRestrictedPtr>,
716 [ArgSpec<CharRestrictedPtr>,
718 ArgSpec<ConstCharRestrictedPtr>,
724 [ArgSpec<ConstCharRestrictedPtr>,
730 [ArgSpec<FILERestrictedPtr>,
731 ArgSpec<ConstCharRestrictedPtr>,
737 [ArgSpec<IntType>, ArgSpec<FILEPtr>]
756 HeaderSpec StdLib = HeaderSpec<
770 FunctionSpec<"abort", RetValSpec<NoReturn>, [ArgSpec<VoidType>]>,
772 FunctionSpec<"bsearch", RetValSpec<VoidPtr>, [ArgSpec<ConstVoidPtr>, ArgSpec<ConstVoidPtr>, ArgSpec<SizeTType>, ArgSpec<SizeTType>, ArgSpec<BSearchCompareT>]>,
774 FunctionSpec<"abs", RetValSpec<IntType>, [ArgSpec<IntType>]>,
775 FunctionSpec<"labs", RetValSpec<LongType>, [ArgSpec<LongType>]>,
776 FunctionSpec<"llabs", RetValSpec<LongLongType>, [ArgSpec<LongLongType>]>,
778 FunctionSpec<"atof", RetValSpec<DoubleType>, [ArgSpec<ConstCharRestrictedPtr>]>,
779 FunctionSpec<"atoi", RetValSpec<IntType>, [ArgSpec<ConstCharPtr>]>,
780 FunctionSpec<"atol", RetValSpec<LongType>, [ArgSpec<ConstCharPtr>]>,
781 FunctionSpec<"atoll", RetValSpec<LongLongType>, [ArgSpec<ConstCharPtr>]>,
783 FunctionSpec<"div", RetValSpec<DivTType>, [ArgSpec<IntType>, ArgSpec<IntType>]>,
784 FunctionSpec<"ldiv", RetValSpec<LDivTType>, [ArgSpec<LongType>, ArgSpec<LongType>]>,
785 FunctionSpec<"lldiv", RetValSpec<LLDivTType>, [ArgSpec<LongLongType>, ArgSpec<LongLongType>]>,
787 FunctionSpec<"qsort", RetValSpec<VoidType>, [ArgSpec<VoidPtr>, ArgSpec<SizeTType>, ArgSpec<SizeTType>, ArgSpec<QSortCompareT>]>,
789 FunctionSpec<"rand", RetValSpec<IntType>, [ArgSpec<VoidType>]>,
790 FunctionSpec<"srand", RetValSpec<VoidType>, [ArgSpec<UnsignedIntType>]>,
792 FunctionSpec<"strtof", RetValSpec<FloatType>, [ArgSpec<ConstCharRestrictedPtr>, ArgSpec<CharRestrictedPtrPtr>]>,
793 FunctionSpec<"strtod", RetValSpec<DoubleType>, [ArgSpec<ConstCharRestrictedPtr>, ArgSpec<CharRestrictedPtrPtr>]>,
794 FunctionSpec<"strtold", RetValSpec<LongDoubleType>, [ArgSpec<ConstCharRestrictedPtr>, ArgSpec<CharRestrictedPtrPtr>]>,
795 FunctionSpec<"strtol", RetValSpec<LongType>, [ArgSpec<ConstCharRestrictedPtr>, ArgSpec<CharRestrictedPtrPtr>, ArgSpec<IntType>]>,
796 FunctionSpec<"strtoll", RetValSpec<LongLongType>, [ArgSpec<ConstCharRestrictedPtr>, ArgSpec<CharRestrictedPtrPtr>, ArgSpec<IntType>]>,
797 FunctionSpec<"strtoul", RetValSpec<UnsignedLongType>, [ArgSpec<ConstCharRestrictedPtr>, ArgSpec<CharRestrictedPtrPtr>, ArgSpec<IntType>]>,
798 FunctionSpec<"strtoull", RetValSpec<UnsignedLongLongType>, [ArgSpec<ConstCharRestrictedPtr>, ArgSpec<CharRestrictedPtrPtr>, ArgSpec<IntType>]>,
800 FunctionSpec<"malloc", RetValSpec<VoidPtr>, [ArgSpec<SizeTType>]>,
801 FunctionSpec<"calloc", RetValSpec<VoidPtr>, [ArgSpec<SizeTType>, ArgSpec<SizeTType>]>,
802 FunctionSpec<"realloc", RetValSpec<VoidPtr>, [ArgSpec<VoidPtr>, ArgSpec<SizeTType>]>,
803 FunctionSpec<"aligned_alloc", RetValSpec<VoidPtr>, [ArgSpec<SizeTType>, ArgSpec<SizeTType>]>,
804 FunctionSpec<"free", RetValSpec<VoidType>, [ArgSpec<VoidPtr>]>,
806 FunctionSpec<"_Exit", RetValSpec<NoReturn>, [ArgSpec<IntType>]>,
807 FunctionSpec<"exit", RetValSpec<NoReturn>, [ArgSpec<IntType>]>,
808 FunctionSpec<"atexit", RetValSpec<IntType>, [ArgSpec<AtexitHandlerT>]>,
812 NamedType IMaxDivTType = NamedType<"imaxdiv_t">;
814 HeaderSpec IntTypes = HeaderSpec<
822 FunctionSpec<"imaxabs", RetValSpec<IntMaxTType>, [ArgSpec<IntMaxTType>]>,
823 FunctionSpec<"imaxdiv", RetValSpec<IMaxDivTType>, [ArgSpec<IntMaxTType>, ArgSpec<IntMaxTType>]>,
824 FunctionSpec<"strtoimax", RetValSpec<IntMaxTType>, [ArgSpec<ConstCharRestrictedPtr>, ArgSpec<CharRestrictedPtrPtr>, ArgSpec<IntType>]>,
825 FunctionSpec<"strtoumax", RetValSpec<UIntMaxTType>, [ArgSpec<ConstCharRestrictedPtr>, ArgSpec<CharRestrictedPtrPtr>, ArgSpec<IntType>]>,
829 HeaderSpec Errno = HeaderSpec<
839 NamedType SigAtomicT = NamedType<"sig_atomic_t">;
840 HeaderSpec Signal = HeaderSpec<
844 Macro<"SIG_UNBLOCK">,
845 Macro<"SIG_SETMASK">,
861 FunctionSpec<"raise", RetValSpec<IntType>, [ArgSpec<IntType>]>,
864 RetValSpec<SigHandlerT>,
865 [ArgSpec<IntType>, ArgSpec<SigHandlerT>]
870 HeaderSpec Threads = HeaderSpec<
873 Macro<"ONCE_FLAG_INIT">,
886 EnumeratedNameValue<"mtx_plain">,
887 EnumeratedNameValue<"mtx_recursive">,
888 EnumeratedNameValue<"mtx_timed">,
889 EnumeratedNameValue<"thrd_timedout">,
890 EnumeratedNameValue<"thrd_success">,
891 EnumeratedNameValue<"thrd_busy">,
892 EnumeratedNameValue<"thrd_error">,
893 EnumeratedNameValue<"thrd_nomem">,
898 RetValSpec<VoidType>,
900 ArgSpec<OnceFlagTypePtr>,
901 ArgSpec<CallOnceFuncType>,
908 ArgSpec<CndTTypePtr>,
913 RetValSpec<VoidType>,
915 ArgSpec<CndTTypePtr>,
922 ArgSpec<CndTTypePtr>,
929 ArgSpec<CndTTypePtr>,
936 ArgSpec<CndTTypePtr>,
937 ArgSpec<MtxTTypePtr>,
944 ArgSpec<MtxTTypePtr>,
959 ArgSpec<MtxTTypePtr>,
966 ArgSpec<MtxTTypePtr>,
973 ArgSpec<ThrdTTypePtr>,
974 ArgSpec<ThrdStartTType>,
993 RetValSpec<ThrdTType>,
999 [ArgSpec<ThrdTType>, ArgSpec<ThrdTType>]
1003 RetValSpec<VoidType>,
1008 RetValSpec<IntType>,
1009 [ArgSpec<TssTPtr>, ArgSpec<TssDtorTType>]
1013 RetValSpec<IntType>,
1018 RetValSpec<VoidPtr>,
1023 RetValSpec<IntType>,
1024 [ArgSpec<TssTType>, ArgSpec<VoidPtr>]
1029 HeaderSpec Time = HeaderSpec<
1041 RetValSpec<CharPtr>,
1042 [ArgSpec<StructTmPtr>]
1046 RetValSpec<CharPtr>,
1048 ArgSpec<StructTmPtr>,
1059 RetValSpec<DoubleType>,
1067 RetValSpec<StructTmPtr>,
1068 [ArgSpec<TimeTTypePtr>]
1072 RetValSpec<StructTmPtr>,
1074 ArgSpec<TimeTTypePtr>,
1075 ArgSpec<StructTmPtr>,
1080 RetValSpec<TimeTType>,
1081 [ArgSpec<StructTmPtr>]
1085 RetValSpec<TimeTType>,
1086 [ArgSpec<TimeTTypePtr>]
1091 HeaderSpec SetJmp = HeaderSpec<
1099 RetValSpec<NoReturn>,
1100 [ArgSpec<JmpBuf>, ArgSpec<IntType>]
1104 RetValSpec<IntType>,
1109 RetValSpec<VoidType>,
1110 [ArgSpec<JmpBuf>, ArgSpec<IntType>]
1115 HeaderSpec WChar = HeaderSpec<
1129 RetValSpec<IntType>,