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<"expf", RetValSpec<FloatType>, [ArgSpec<FloatType>]>,
438 FunctionSpec<"exp2f", RetValSpec<FloatType>, [ArgSpec<FloatType>]>,
439 FunctionSpec<"expm1f", RetValSpec<FloatType>, [ArgSpec<FloatType>]>,
441 FunctionSpec<"remainderf", RetValSpec<FloatType>, [ArgSpec<FloatType>, ArgSpec<FloatType>]>,
442 FunctionSpec<"remainder", RetValSpec<DoubleType>, [ArgSpec<DoubleType>, ArgSpec<DoubleType>]>,
443 FunctionSpec<"remainderl", RetValSpec<LongDoubleType>, [ArgSpec<LongDoubleType>, ArgSpec<LongDoubleType>]>,
445 FunctionSpec<"remquof", RetValSpec<FloatType>, [ArgSpec<FloatType>, ArgSpec<FloatType>, ArgSpec<IntPtr>]>,
446 FunctionSpec<"remquo", RetValSpec<DoubleType>, [ArgSpec<DoubleType>, ArgSpec<DoubleType>, ArgSpec<IntPtr>]>,
447 FunctionSpec<"remquol", RetValSpec<LongDoubleType>, [ArgSpec<LongDoubleType>, ArgSpec<LongDoubleType>, ArgSpec<IntPtr>]>,
449 FunctionSpec<"round", RetValSpec<DoubleType>, [ArgSpec<DoubleType>]>,
450 FunctionSpec<"roundf", RetValSpec<FloatType>, [ArgSpec<FloatType>]>,
451 FunctionSpec<"roundl", RetValSpec<LongDoubleType>, [ArgSpec<LongDoubleType>]>,
453 FunctionSpec<"lround", RetValSpec<LongType>, [ArgSpec<DoubleType>]>,
454 FunctionSpec<"lroundf", RetValSpec<LongType>, [ArgSpec<FloatType>]>,
455 FunctionSpec<"lroundl", RetValSpec<LongType>, [ArgSpec<LongDoubleType>]>,
457 FunctionSpec<"llround", RetValSpec<LongLongType>, [ArgSpec<DoubleType>]>,
458 FunctionSpec<"llroundf", RetValSpec<LongLongType>, [ArgSpec<FloatType>]>,
459 FunctionSpec<"llroundl", RetValSpec<LongLongType>, [ArgSpec<LongDoubleType>]>,
461 FunctionSpec<"rint", RetValSpec<DoubleType>, [ArgSpec<DoubleType>]>,
462 FunctionSpec<"rintf", RetValSpec<FloatType>, [ArgSpec<FloatType>]>,
463 FunctionSpec<"rintl", RetValSpec<LongDoubleType>, [ArgSpec<LongDoubleType>]>,
465 FunctionSpec<"lrint", RetValSpec<LongType>, [ArgSpec<DoubleType>]>,
466 FunctionSpec<"lrintf", RetValSpec<LongType>, [ArgSpec<FloatType>]>,
467 FunctionSpec<"lrintl", RetValSpec<LongType>, [ArgSpec<LongDoubleType>]>,
469 FunctionSpec<"llrint", RetValSpec<LongLongType>, [ArgSpec<DoubleType>]>,
470 FunctionSpec<"llrintf", RetValSpec<LongLongType>, [ArgSpec<FloatType>]>,
471 FunctionSpec<"llrintl", RetValSpec<LongLongType>, [ArgSpec<LongDoubleType>]>,
473 FunctionSpec<"sqrt", RetValSpec<DoubleType>, [ArgSpec<DoubleType>]>,
474 FunctionSpec<"sqrtf", RetValSpec<FloatType>, [ArgSpec<FloatType>]>,
475 FunctionSpec<"sqrtl", RetValSpec<LongDoubleType>, [ArgSpec<LongDoubleType>]>,
477 FunctionSpec<"trunc", RetValSpec<DoubleType>, [ArgSpec<DoubleType>]>,
478 FunctionSpec<"truncf", RetValSpec<FloatType>, [ArgSpec<FloatType>]>,
479 FunctionSpec<"truncl", RetValSpec<LongDoubleType>, [ArgSpec<LongDoubleType>]>,
481 FunctionSpec<"nearbyint", RetValSpec<DoubleType>, [ArgSpec<DoubleType>]>,
482 FunctionSpec<"nearbyintf", RetValSpec<FloatType>, [ArgSpec<FloatType>]>,
483 FunctionSpec<"nearbyintl", RetValSpec<LongDoubleType>, [ArgSpec<LongDoubleType>]>,
485 FunctionSpec<"nextafterf", RetValSpec<FloatType>, [ArgSpec<FloatType>, ArgSpec<FloatType>]>,
486 FunctionSpec<"nextafter", RetValSpec<DoubleType>, [ArgSpec<DoubleType>, ArgSpec<DoubleType>]>,
487 FunctionSpec<"nextafterl", RetValSpec<LongDoubleType>, [ArgSpec<LongDoubleType>, ArgSpec<LongDoubleType>]>,
489 FunctionSpec<"pow", RetValSpec<DoubleType>, [ArgSpec<DoubleType>, ArgSpec<DoubleType>]>,
491 FunctionSpec<"coshf", RetValSpec<FloatType>, [ArgSpec<FloatType>]>,
492 FunctionSpec<"sinhf", RetValSpec<FloatType>, [ArgSpec<FloatType>]>,
493 FunctionSpec<"tanhf", RetValSpec<FloatType>, [ArgSpec<FloatType>]>,
495 FunctionSpec<"acosf", RetValSpec<FloatType>, [ArgSpec<FloatType>]>,
496 FunctionSpec<"asinf", RetValSpec<FloatType>, [ArgSpec<FloatType>]>,
497 FunctionSpec<"asin", RetValSpec<DoubleType>, [ArgSpec<DoubleType>]>,
498 FunctionSpec<"atanf", RetValSpec<FloatType>, [ArgSpec<FloatType>]>,
500 FunctionSpec<"acoshf", RetValSpec<FloatType>, [ArgSpec<FloatType>]>,
501 FunctionSpec<"asinhf", RetValSpec<FloatType>, [ArgSpec<FloatType>]>,
502 FunctionSpec<"atanhf", RetValSpec<FloatType>, [ArgSpec<FloatType>]>,
504 FunctionSpec<"scalbn", RetValSpec<DoubleType>, [ArgSpec<DoubleType>, ArgSpec<IntType>]>,
505 FunctionSpec<"scalbnf", RetValSpec<FloatType>, [ArgSpec<FloatType>, ArgSpec<IntType>]>,
506 FunctionSpec<"scalbnl", RetValSpec<LongDoubleType>, [ArgSpec<LongDoubleType>, ArgSpec<IntType>]>,
510 HeaderSpec StdIO = HeaderSpec<
529 RetValSpec<VoidType>,
556 ArgSpec<CharRestrictedPtr>,
558 ArgSpec<FILERestrictedPtr>,
569 [ArgSpec<ConstCharPtr>,
570 ArgSpec<ConstCharPtr>]
580 RetValSpec<LongType>,
607 [ArgSpec<ConstCharRestrictedPtr>,
608 ArgSpec<FILERestrictedPtr>]
613 [ArgSpec<ConstCharRestrictedPtr>]
617 RetValSpec<SizeTType>,
618 [ArgSpec<VoidRestrictedPtr>,
621 ArgSpec<FILERestrictedPtr>]
632 RetValSpec<SizeTType>,
633 [ArgSpec<ConstVoidRestrictedPtr>,
636 ArgSpec<FILERestrictedPtr>]
641 [ArgSpec<ConstCharPtr>]
645 RetValSpec<VoidType>,
646 [ArgSpec<FILERestrictedPtr>, ArgSpec<CharRestrictedPtr>]
651 [ArgSpec<FILERestrictedPtr>, ArgSpec<CharRestrictedPtr>, ArgSpec<IntType>, ArgSpec<SizeTType>]
656 [ArgSpec<ConstCharRestrictedPtr>,
657 ArgSpec<ConstCharRestrictedPtr>,
663 [ArgSpec<ConstCharRestrictedPtr>,
669 [ArgSpec<FILERestrictedPtr>,
670 ArgSpec<ConstCharRestrictedPtr>,
676 [ArgSpec<CharRestrictedPtr>,
677 ArgSpec<ConstCharRestrictedPtr>,
683 [ArgSpec<CharRestrictedPtr>,
685 ArgSpec<ConstCharRestrictedPtr>,
691 [ArgSpec<ConstCharRestrictedPtr>,
697 [ArgSpec<FILERestrictedPtr>,
698 ArgSpec<ConstCharRestrictedPtr>,
704 [ArgSpec<IntType>, ArgSpec<FILEPtr>]
723 HeaderSpec StdLib = HeaderSpec<
737 FunctionSpec<"abort", RetValSpec<NoReturn>, [ArgSpec<VoidType>]>,
739 FunctionSpec<"bsearch", RetValSpec<VoidPtr>, [ArgSpec<ConstVoidPtr>, ArgSpec<ConstVoidPtr>, ArgSpec<SizeTType>, ArgSpec<SizeTType>, ArgSpec<BSearchCompareT>]>,
741 FunctionSpec<"abs", RetValSpec<IntType>, [ArgSpec<IntType>]>,
742 FunctionSpec<"labs", RetValSpec<LongType>, [ArgSpec<LongType>]>,
743 FunctionSpec<"llabs", RetValSpec<LongLongType>, [ArgSpec<LongLongType>]>,
745 FunctionSpec<"atof", RetValSpec<DoubleType>, [ArgSpec<ConstCharRestrictedPtr>]>,
746 FunctionSpec<"atoi", RetValSpec<IntType>, [ArgSpec<ConstCharPtr>]>,
747 FunctionSpec<"atol", RetValSpec<LongType>, [ArgSpec<ConstCharPtr>]>,
748 FunctionSpec<"atoll", RetValSpec<LongLongType>, [ArgSpec<ConstCharPtr>]>,
750 FunctionSpec<"div", RetValSpec<DivTType>, [ArgSpec<IntType>, ArgSpec<IntType>]>,
751 FunctionSpec<"ldiv", RetValSpec<LDivTType>, [ArgSpec<LongType>, ArgSpec<LongType>]>,
752 FunctionSpec<"lldiv", RetValSpec<LLDivTType>, [ArgSpec<LongLongType>, ArgSpec<LongLongType>]>,
754 FunctionSpec<"qsort", RetValSpec<VoidType>, [ArgSpec<VoidPtr>, ArgSpec<SizeTType>, ArgSpec<SizeTType>, ArgSpec<QSortCompareT>]>,
756 FunctionSpec<"rand", RetValSpec<IntType>, [ArgSpec<VoidType>]>,
757 FunctionSpec<"srand", RetValSpec<VoidType>, [ArgSpec<UnsignedIntType>]>,
759 FunctionSpec<"strtof", RetValSpec<FloatType>, [ArgSpec<ConstCharRestrictedPtr>, ArgSpec<CharRestrictedPtrPtr>]>,
760 FunctionSpec<"strtod", RetValSpec<DoubleType>, [ArgSpec<ConstCharRestrictedPtr>, ArgSpec<CharRestrictedPtrPtr>]>,
761 FunctionSpec<"strtold", RetValSpec<LongDoubleType>, [ArgSpec<ConstCharRestrictedPtr>, ArgSpec<CharRestrictedPtrPtr>]>,
762 FunctionSpec<"strtol", RetValSpec<LongType>, [ArgSpec<ConstCharRestrictedPtr>, ArgSpec<CharRestrictedPtrPtr>, ArgSpec<IntType>]>,
763 FunctionSpec<"strtoll", RetValSpec<LongLongType>, [ArgSpec<ConstCharRestrictedPtr>, ArgSpec<CharRestrictedPtrPtr>, ArgSpec<IntType>]>,
764 FunctionSpec<"strtoul", RetValSpec<UnsignedLongType>, [ArgSpec<ConstCharRestrictedPtr>, ArgSpec<CharRestrictedPtrPtr>, ArgSpec<IntType>]>,
765 FunctionSpec<"strtoull", RetValSpec<UnsignedLongLongType>, [ArgSpec<ConstCharRestrictedPtr>, ArgSpec<CharRestrictedPtrPtr>, ArgSpec<IntType>]>,
767 FunctionSpec<"malloc", RetValSpec<VoidPtr>, [ArgSpec<SizeTType>]>,
768 FunctionSpec<"calloc", RetValSpec<VoidPtr>, [ArgSpec<SizeTType>, ArgSpec<SizeTType>]>,
769 FunctionSpec<"realloc", RetValSpec<VoidPtr>, [ArgSpec<VoidPtr>, ArgSpec<SizeTType>]>,
770 FunctionSpec<"aligned_alloc", RetValSpec<VoidPtr>, [ArgSpec<SizeTType>, ArgSpec<SizeTType>]>,
771 FunctionSpec<"free", RetValSpec<VoidType>, [ArgSpec<VoidPtr>]>,
773 FunctionSpec<"_Exit", RetValSpec<NoReturn>, [ArgSpec<IntType>]>,
774 FunctionSpec<"exit", RetValSpec<NoReturn>, [ArgSpec<IntType>]>,
775 FunctionSpec<"atexit", RetValSpec<IntType>, [ArgSpec<AtexitHandlerT>]>,
779 NamedType IMaxDivTType = NamedType<"imaxdiv_t">;
781 HeaderSpec IntTypes = HeaderSpec<
789 FunctionSpec<"imaxabs", RetValSpec<IntMaxTType>, [ArgSpec<IntMaxTType>]>,
790 FunctionSpec<"imaxdiv", RetValSpec<IMaxDivTType>, [ArgSpec<IntMaxTType>, ArgSpec<IntMaxTType>]>,
791 FunctionSpec<"strtoimax", RetValSpec<IntMaxTType>, [ArgSpec<ConstCharRestrictedPtr>, ArgSpec<CharRestrictedPtrPtr>, ArgSpec<IntType>]>,
792 FunctionSpec<"strtoumax", RetValSpec<UIntMaxTType>, [ArgSpec<ConstCharRestrictedPtr>, ArgSpec<CharRestrictedPtrPtr>, ArgSpec<IntType>]>,
796 HeaderSpec Errno = HeaderSpec<
806 NamedType SigAtomicT = NamedType<"sig_atomic_t">;
807 HeaderSpec Signal = HeaderSpec<
811 Macro<"SIG_UNBLOCK">,
812 Macro<"SIG_SETMASK">,
828 FunctionSpec<"raise", RetValSpec<IntType>, [ArgSpec<IntType>]>,
831 RetValSpec<SigHandlerT>,
832 [ArgSpec<IntType>, ArgSpec<SigHandlerT>]
837 HeaderSpec Threads = HeaderSpec<
840 Macro<"ONCE_FLAG_INIT">,
853 EnumeratedNameValue<"mtx_plain">,
854 EnumeratedNameValue<"mtx_recursive">,
855 EnumeratedNameValue<"mtx_timed">,
856 EnumeratedNameValue<"thrd_timedout">,
857 EnumeratedNameValue<"thrd_success">,
858 EnumeratedNameValue<"thrd_busy">,
859 EnumeratedNameValue<"thrd_error">,
860 EnumeratedNameValue<"thrd_nomem">,
865 RetValSpec<VoidType>,
867 ArgSpec<OnceFlagTypePtr>,
868 ArgSpec<CallOnceFuncType>,
875 ArgSpec<CndTTypePtr>,
880 RetValSpec<VoidType>,
882 ArgSpec<CndTTypePtr>,
889 ArgSpec<CndTTypePtr>,
896 ArgSpec<CndTTypePtr>,
903 ArgSpec<CndTTypePtr>,
904 ArgSpec<MtxTTypePtr>,
911 ArgSpec<MtxTTypePtr>,
926 ArgSpec<MtxTTypePtr>,
933 ArgSpec<MtxTTypePtr>,
940 ArgSpec<ThrdTTypePtr>,
941 ArgSpec<ThrdStartTType>,
960 RetValSpec<ThrdTType>,
966 [ArgSpec<ThrdTType>, ArgSpec<ThrdTType>]
970 RetValSpec<VoidType>,
976 [ArgSpec<TssTPtr>, ArgSpec<TssDtorTType>]
991 [ArgSpec<TssTType>, ArgSpec<VoidPtr>]
996 HeaderSpec Time = HeaderSpec<
1008 RetValSpec<CharPtr>,
1009 [ArgSpec<StructTmPtr>]
1013 RetValSpec<CharPtr>,
1015 ArgSpec<StructTmPtr>,
1026 RetValSpec<DoubleType>,
1034 RetValSpec<StructTmPtr>,
1035 [ArgSpec<TimeTTypePtr>]
1039 RetValSpec<StructTmPtr>,
1041 ArgSpec<TimeTTypePtr>,
1042 ArgSpec<StructTmPtr>,
1047 RetValSpec<TimeTType>,
1048 [ArgSpec<StructTmPtr>]
1052 RetValSpec<TimeTType>,
1053 [ArgSpec<TimeTTypePtr>]
1058 HeaderSpec SetJmp = HeaderSpec<
1066 RetValSpec<NoReturn>,
1067 [ArgSpec<JmpBuf>, ArgSpec<IntType>]
1071 RetValSpec<IntType>,
1076 RetValSpec<VoidType>,
1077 [ArgSpec<JmpBuf>, ArgSpec<IntType>]
1082 HeaderSpec WChar = HeaderSpec<
1096 RetValSpec<IntType>,