1 def SigSetType : NamedType<"sigset_t">;
2 def SigSetPtrType : PtrType<SigSetType>;
3 def ConstSigSetPtrType : ConstType<SigSetPtrType>;
4 def RestrictedSigSetType : RestrictedPtrType<SigSetType>;
5 def ConstRestrictedSigSetType : ConstType<RestrictedSigSetType>;
7 def SigInfoType : NamedType<"siginfo_t">;
8 def UnionSigVal : NamedType<"union sigval">;
10 def StructSigaction : NamedType<"struct sigaction">;
11 def StructSigactionPtr : PtrType<StructSigaction>;
12 def ConstStructSigactionPtr : ConstType<StructSigactionPtr>;
13 def RestrictedStructSigactionPtr : RestrictedPtrType<StructSigaction>;
14 def ConstRestrictedStructSigactionPtr : ConstType<RestrictedStructSigactionPtr>;
16 def PThreadStartT : NamedType<"__pthread_start_t">;
17 def PThreadTSSDtorT : NamedType<"__pthread_tss_dtor_t">;
18 def PThreadKeyT : NamedType<"pthread_key_t">;
19 def PThreadKeyTPtr : PtrType<PThreadKeyT>;
20 def PThreadOnceT : NamedType<"pthread_once_t">;
21 def PThreadOnceTPtr : PtrType<PThreadOnceT>;
22 def PThreadOnceCallback : NamedType<"__pthread_once_func_t">;
24 def InoT : NamedType<"ino_t">;
25 def UidT : NamedType<"uid_t">;
26 def GidT : NamedType<"gid_t">;
27 def DevT : NamedType<"dev_t">;
28 def ClockIdT : NamedType<"clockid_t">;
29 def BlkSizeT : NamedType<"blksize_t">;
30 def BlkCntT : NamedType<"blkcnt_t">;
31 def NLinkT : NamedType<"nlink_t">;
33 def StatType : NamedType<"struct stat">;
34 def StatTypePtr : PtrType<StatType>;
35 def RestrictedStatTypePtr : RestrictedPtrType<StatType>;
37 def DIR : NamedType<"DIR">;
38 def DIRPtr : PtrType<DIR>;
39 def DIRRestrictedPtr : RestrictedPtrType<DIR>;
40 def StructDirent : NamedType<"struct dirent">;
41 def StructDirentPtr : PtrType<StructDirent>;
42 def StructDirentPtrPtr : PtrType<StructDirentPtr>;
43 def ConstStructDirentPtrPtr : ConstType<StructDirentPtrPtr>;
45 def StructTimeSpec : NamedType<"struct timespec">;
46 def StructTimeSpecPtr : PtrType<StructTimeSpec>;
48 def ExecArgvT : NamedType<"__exec_argv_t">;
49 def ExecEnvpT : NamedType<"__exec_envp_t">;
51 def AtForkCallbackT : NamedType<"__atfork_callback_t">;
53 def PosixSpawnFileActionsT : NamedType<"posix_spawn_file_actions_t">;
54 def PosixSpawnFileActionsTPtr : PtrType<PosixSpawnFileActionsT>;
55 def ConstPosixSpawnFileActionsTPtr : ConstType<PosixSpawnFileActionsTPtr>;
56 def PosixSpawnFileActionsTRestrictedPtr : RestrictedPtrType<PosixSpawnFileActionsT>;
58 def PosixSpawnAttrT : NamedType<"posix_spawnattr_t">;
59 def RestrictedPosixSpawnAttrTPtrType : RestrictedPtrType<PosixSpawnAttrT>;
61 def CcT : NamedType<"cc_t">;
62 def SpeedT : NamedType<"speed_t">;
63 def StructTermios : NamedType<"struct termios">;
64 def StructTermiosPtr : PtrType<StructTermios>;
65 def ConstStructTermiosPtr : ConstType<StructTermiosPtr>;
66 def TcFlagT : NamedType<"tcflag_t">;
68 def StackT : NamedType<"stack_t">;
69 def StackTPtr : PtrType<StackT>;
70 def RestrictedStackTPtr : RestrictedPtrType<StackT>;
71 def ConstRestrictedStackTPtr : ConstType<RestrictedStackTPtr>;
73 def FdSet : NamedType<"fd_set">;
74 def FdSetPtr : PtrType<FdSet>;
75 def RestrictedFdSetPtr : RestrictedPtrType<FdSet>;
77 def GetoptArgvT : NamedType<"__getoptargv_t">;
79 def POSIX : StandardSpec<"POSIX"> {
80 PtrType CharPtr = PtrType<CharType>;
81 RestrictedPtrType RestrictedCharPtr = RestrictedPtrType<CharType>;
82 RestrictedPtrType CharRestrictedDoublePtr = RestrictedPtrType<CharPtr>;
83 ConstType ConstCharPtr = ConstType<CharPtr>;
84 ConstType ConstRestrictedCharPtr = ConstType<RestrictedCharPtr>;
86 NamedType ModeTType = NamedType<"mode_t">;
88 NamedType PThreadAttrTType = NamedType<"pthread_attr_t">;
89 PtrType PThreadAttrTPtr = PtrType<PThreadAttrTType>;
90 RestrictedPtrType RestrictedPThreadAttrTPtr = RestrictedPtrType<PThreadAttrTType>;
91 ConstType ConstPThreadAttrTPtr = ConstType<PThreadAttrTPtr>;
92 ConstType ConstRestrictedPThreadAttrTPtr = ConstType<RestrictedPThreadAttrTPtr>;
94 NamedType PThreadMutexAttrTType = NamedType<"pthread_mutexattr_t">;
95 PtrType PThreadMutexAttrTPtr = PtrType<PThreadMutexAttrTType>;
96 RestrictedPtrType RestrictedPThreadMutexAttrTPtr = RestrictedPtrType<PThreadMutexAttrTType>;
97 ConstType ConstPThreadMutexAttrTPtr = ConstType<PThreadMutexAttrTPtr>;
98 ConstType ConstRestrictedPThreadMutexAttrTPtr = ConstType<RestrictedPThreadMutexAttrTPtr>;
100 NamedType PThreadMutexTType = NamedType<"pthread_mutex_t">;
101 PtrType PThreadMutexTPtr = PtrType<PThreadMutexTType>;
102 RestrictedPtrType RestrictedPThreadMutexTPtr = RestrictedPtrType<PThreadMutexTType>;
103 ConstType ConstPThreadMutexTPtr = ConstType<PThreadMutexTPtr>;
104 ConstType ConstRestrictedPThreadMutexTPtr = ConstType<RestrictedPThreadMutexTPtr>;
106 PtrType PThreadTPtr = PtrType<PThreadTType>;
107 RestrictedPtrType RestrictedPThreadTPtr = RestrictedPtrType<PThreadTType>;
109 HeaderSpec Errno = HeaderSpec<
115 Macro<"EADDRNOTAVAIL">,
116 Macro<"EAFNOSUPPORT">,
124 Macro<"ECONNABORTED">,
125 Macro<"ECONNREFUSED">,
128 Macro<"EDESTADDRREQ">,
133 Macro<"EHOSTUNREACH">,
135 Macro<"EINPROGRESS">,
146 Macro<"ENAMETOOLONG">,
149 Macro<"ENETUNREACH">,
160 Macro<"ENOPROTOOPT">,
168 Macro<"ENOTRECOVERABLE">,
179 Macro<"EPROTONOSUPPORT">,
188 Macro<"EWOULDBLOCK">,
196 HeaderSpec FCntl = HeaderSpec<
205 [ArgSpec<ConstCharPtr>, ArgSpec<ModeTType>]
210 [ArgSpec<ConstCharPtr>, ArgSpec<IntType>, ArgSpec<VarArgType>]
215 [ArgSpec<IntType>, ArgSpec<ConstCharPtr>, ArgSpec<IntType>, ArgSpec<VarArgType>]
220 HeaderSpec SysMMan = HeaderSpec<
223 // TODO: Add a facility to bunch macros into bitwise-or-able groups.
224 // POSIX requires it, so such thing should be captured in this spec.
231 Macro<"MAP_PRIVATE">,
269 [ArgSpec<VoidPtr>, ArgSpec<SizeTType>]
281 HeaderSpec Signal = HeaderSpec<
304 ArgSpec<ConstRestrictedStructSigactionPtr>,
305 ArgSpec<RestrictedStructSigactionPtr>]
310 [ArgSpec<ConstRestrictedStackTPtr>, ArgSpec<RestrictedStackTPtr>]
315 [ArgSpec<SigSetPtrType>,
321 [ArgSpec<IntType>, ArgSpec<ConstRestrictedSigSetType>, ArgSpec<RestrictedSigSetType>]
326 [ArgSpec<SigSetPtrType>]
331 [ArgSpec<SigSetPtrType>,
337 [ArgSpec<SigSetPtrType>]
342 HeaderSpec UniStd = HeaderSpec<
360 [ArgSpec<ConstCharPtr>, ArgSpec<IntType>]
365 [ArgSpec<ConstCharPtr>]
375 [ArgSpec<IntType>, ArgSpec<IntType>]
380 [ArgSpec<IntType>, ArgSpec<IntType>, ArgSpec<IntType>]
390 [ArgSpec<CharPtr>, ArgSpec<SizeTType>]
400 [ArgSpec<ConstCharPtr>, ArgSpec<ExecArgvT>]
405 [ArgSpec<ConstCharPtr>, ArgSpec<ExecArgvT>, ArgSpec<ExecEnvpT>]
420 [ArgSpec<ConstCharPtr>, ArgSpec<OffTType>]
450 [ArgSpec<ConstCharPtr>, ArgSpec<ConstCharPtr>]
455 [ArgSpec<IntType>, ArgSpec<ConstCharPtr>, ArgSpec<IntType>, ArgSpec<ConstCharPtr>, ArgSpec<IntType>]
459 RetValSpec<OffTType>,
460 [ArgSpec<IntType>, ArgSpec<OffTType>, ArgSpec<IntType>]
464 RetValSpec<SSizeTType>,
465 [ArgSpec<IntType>, ArgSpec<VoidPtr>, ArgSpec<SizeTType>, ArgSpec<OffTType>]
469 RetValSpec<SSizeTType>,
470 [ArgSpec<IntType>, ArgSpec<ConstVoidPtr>, ArgSpec<SizeTType>, ArgSpec<OffTType>]
474 RetValSpec<SSizeTType>,
475 [ArgSpec<IntType>, ArgSpec<VoidPtr>, ArgSpec<SizeTType>]
479 RetValSpec<SSizeTType>,
480 [ArgSpec<ConstCharRestrictedPtr>, ArgSpec<CharRestrictedPtr>, ArgSpec<SizeTType>]
484 RetValSpec<SSizeTType>,
485 [ArgSpec<ConstCharRestrictedPtr>, ArgSpec<CharRestrictedPtr>, ArgSpec<SizeTType>]
490 [ArgSpec<ConstCharPtr>]
505 [ArgSpec<ConstCharPtr>, ArgSpec<ConstCharPtr>]
510 [ArgSpec<IntType>, ArgSpec<ConstCharPtr>, ArgSpec<IntType>, ArgSpec<ConstCharPtr>, ArgSpec<IntType>]
514 RetValSpec<OffTType>,
515 [ArgSpec<IntType>, ArgSpec<OffTType>, ArgSpec<IntType>]
519 RetValSpec<SSizeTType>,
520 [ArgSpec<IntType>, ArgSpec<VoidPtr>, ArgSpec<SizeTType>, ArgSpec<OffTType>]
524 RetValSpec<SSizeTType>,
525 [ArgSpec<IntType>, ArgSpec<ConstVoidPtr>, ArgSpec<SizeTType>, ArgSpec<OffTType>]
529 RetValSpec<SSizeTType>,
530 [ArgSpec<IntType>, ArgSpec<VoidPtr>, ArgSpec<SizeTType>]
534 RetValSpec<SSizeTType>,
535 [ArgSpec<ConstCharRestrictedPtr>, ArgSpec<CharRestrictedPtr>, ArgSpec<SizeTType>]
539 RetValSpec<SSizeTType>,
540 [ArgSpec<ConstCharRestrictedPtr>, ArgSpec<CharRestrictedPtr>, ArgSpec<SizeTType>]
545 [ArgSpec<ConstCharPtr>]
550 [ArgSpec<ConstCharPtr>, ArgSpec<ConstCharPtr>]
555 [ArgSpec<IntType>, ArgSpec<ConstCharPtr>, ArgSpec<IntType>, ArgSpec<ConstCharPtr>]
563 "__llvm_libc_syscall",
564 RetValSpec<LongType>,
565 [ArgSpec<LongType>,ArgSpec<LongType>,ArgSpec<LongType>,ArgSpec<LongType>,ArgSpec<LongType>,ArgSpec<LongType>,ArgSpec<LongType>]
570 [ArgSpec<IntType>, ArgSpec<OffTType>]
575 [ArgSpec<ConstCharPtr>]
580 [ArgSpec<IntType>, ArgSpec<ConstCharPtr>, ArgSpec<IntType>]
584 RetValSpec<SSizeTType>,
585 [ArgSpec<IntType>, ArgSpec<ConstVoidPtr>, ArgSpec<SizeTType>]
590 [ArgSpec<IntType>, ArgSpec<GetoptArgvT>, ArgSpec<ConstCharPtr>]
594 ObjectSpec<"environ", "char **">,
614 HeaderSpec StdLib = HeaderSpec<
623 [ArgSpec<ConstCharPtr>]
628 HeaderSpec String = HeaderSpec<
641 [ArgSpec<VoidRestrictedPtr>,
642 ArgSpec<ConstVoidRestrictedPtr>,
649 [ArgSpec<VoidRestrictedPtr>,
650 ArgSpec<ConstVoidRestrictedPtr>,
656 [ArgSpec<RestrictedCharPtr>,
657 ArgSpec<ConstRestrictedCharPtr>]
662 [ArgSpec<RestrictedCharPtr>,
663 ArgSpec<ConstRestrictedCharPtr>,
668 RetValSpec<SizeTType>,
669 [ArgSpec<ConstCharPtr>, ArgSpec<SizeTType>]
674 [ArgSpec<RestrictedCharPtr>,
675 ArgSpec<ConstRestrictedCharPtr>,
676 ArgSpec<CharRestrictedDoublePtr>]
686 HeaderSpec CType = HeaderSpec<
700 NamedType RLimTType = NamedType<"rlim_t">;
701 NamedType StructRLimitType = NamedType<"struct rlimit">;
702 PtrType StructRLimitPtr = PtrType<StructRLimitType>;
703 ConstType ConstStructRLimitPtr = ConstType<StructRLimitType>;
704 HeaderSpec SysResource = HeaderSpec<
707 [RLimTType, StructRLimitType], // Types
713 [ArgSpec<StructRLimitPtr>]
718 [ArgSpec<ConstStructRLimitPtr>]
723 HeaderSpec SysStat = HeaderSpec<
745 [ArgSpec<ConstCharPtr>, ArgSpec<ModeTType>]
750 [ArgSpec<IntType>, ArgSpec<ModeTType>]
755 [ArgSpec<IntType>, ArgSpec<ConstCharPtr>, ArgSpec<ModeTType>, ArgSpec<IntType>]
760 [ArgSpec<IntType>, ArgSpec<StatTypePtr>]
765 [ArgSpec<ConstRestrictedCharPtr>, ArgSpec<RestrictedStatTypePtr>]
770 [ArgSpec<ConstCharPtr>, ArgSpec<ModeTType>]
775 [ArgSpec<IntType>, ArgSpec<ConstCharPtr>, ArgSpec<ModeTType>]
780 [ArgSpec<ConstRestrictedCharPtr>, ArgSpec<RestrictedStatTypePtr>]
785 NamedType StructUtsName = NamedType<"struct utsname">;
786 PtrType StructUtsNamePtr = PtrType<StructUtsName>;
787 HeaderSpec SysUtsName = HeaderSpec<
790 [StructUtsName], // Types
796 [ArgSpec<StructUtsNamePtr>]
801 HeaderSpec ArpaInet = HeaderSpec<
809 RetValSpec<UInt32Type>,
810 [ArgSpec<UInt32Type>]
814 RetValSpec<UInt16Type>,
815 [ArgSpec<UInt16Type>]
819 RetValSpec<UInt32Type>,
820 [ArgSpec<UInt32Type>]
824 RetValSpec<UInt16Type>,
825 [ArgSpec<UInt16Type>]
830 HeaderSpec PThread = HeaderSpec<
837 PThreadMutexAttrTType,
850 [ArgSpec<AtForkCallbackT>, ArgSpec<AtForkCallbackT>, ArgSpec<AtForkCallbackT>]
855 [ArgSpec<PThreadAttrTPtr>]
858 "pthread_attr_destroy",
860 [ArgSpec<PThreadAttrTPtr>]
863 "pthread_attr_getdetachstate",
865 [ArgSpec<ConstPThreadAttrTPtr>, ArgSpec<IntPtr>]
868 "pthread_attr_setdetachstate",
870 [ArgSpec<PThreadAttrTPtr>, ArgSpec<IntType>]
873 "pthread_attr_getguardsize",
875 [ArgSpec<ConstRestrictedPThreadAttrTPtr>, ArgSpec<RestrictedSizeTPtr>]
878 "pthread_attr_setguardsize",
880 [ArgSpec<PThreadAttrTPtr>, ArgSpec<SizeTType>]
883 "pthread_attr_getstacksize",
885 [ArgSpec<ConstRestrictedPThreadAttrTPtr>, ArgSpec<RestrictedSizeTPtr>]
888 "pthread_attr_setstacksize",
890 [ArgSpec<PThreadAttrTPtr>, ArgSpec<SizeTType>]
893 "pthread_attr_getstack",
895 [ArgSpec<ConstRestrictedPThreadAttrTPtr>, ArgSpec<RestrictedVoidPtrPtr>, ArgSpec<RestrictedSizeTPtr>]
898 "pthread_attr_setstack",
900 [ArgSpec<PThreadAttrTPtr>, ArgSpec<VoidPtr>, ArgSpec<SizeTType>]
905 [ArgSpec<RestrictedPThreadTPtr>, ArgSpec<ConstRestrictedPThreadAttrTPtr>, ArgSpec<PThreadStartT>, ArgSpec<VoidPtr>]
910 [ArgSpec<PThreadTType>, ArgSpec<VoidPtrPtr>]
915 [ArgSpec<PThreadTType>]
919 RetValSpec<VoidType>,
924 RetValSpec<PThreadTType>,
930 [ArgSpec<PThreadTType>, ArgSpec<PThreadTType>]
933 "pthread_mutexattr_init",
935 [ArgSpec<PThreadMutexAttrTPtr>]
938 "pthread_mutexattr_destroy",
940 [ArgSpec<PThreadMutexAttrTPtr>]
943 "pthread_mutexattr_gettype",
945 [ArgSpec<ConstRestrictedPThreadMutexAttrTPtr>, ArgSpec<RestrictedIntPtr>]
948 "pthread_mutexattr_settype",
950 [ArgSpec<RestrictedPThreadMutexAttrTPtr>, ArgSpec<IntType>]
953 "pthread_mutexattr_getrobust",
955 [ArgSpec<ConstRestrictedPThreadMutexAttrTPtr>, ArgSpec<RestrictedIntPtr>]
958 "pthread_mutexattr_setrobust",
960 [ArgSpec<RestrictedPThreadMutexAttrTPtr>, ArgSpec<IntType>]
963 "pthread_mutexattr_getpshared",
965 [ArgSpec<ConstRestrictedPThreadMutexAttrTPtr>, ArgSpec<RestrictedIntPtr>]
968 "pthread_mutexattr_setpshared",
970 [ArgSpec<RestrictedPThreadMutexAttrTPtr>, ArgSpec<IntType>]
973 "pthread_mutexattr_getprotocol",
975 [ArgSpec<ConstRestrictedPThreadMutexAttrTPtr>, ArgSpec<RestrictedIntPtr>]
978 "pthread_mutexattr_setprotocol",
980 [ArgSpec<RestrictedPThreadMutexAttrTPtr>, ArgSpec<IntType>]
983 "pthread_mutexattr_getprioceiling",
985 [ArgSpec<ConstRestrictedPThreadMutexAttrTPtr>, ArgSpec<RestrictedIntPtr>]
988 "pthread_mutexattr_setprioceiling",
990 [ArgSpec<RestrictedPThreadMutexAttrTPtr>, ArgSpec<IntType>]
993 "pthread_mutex_init",
995 [ArgSpec<RestrictedPThreadMutexTPtr>, ArgSpec<ConstRestrictedPThreadMutexAttrTPtr>]
998 "pthread_mutex_destroy",
1000 [ArgSpec<PThreadMutexTPtr>]
1003 "pthread_mutex_lock",
1004 RetValSpec<IntType>,
1005 [ArgSpec<PThreadMutexTPtr>]
1008 "pthread_mutex_unlock",
1009 RetValSpec<IntType>,
1010 [ArgSpec<PThreadMutexTPtr>]
1013 "pthread_key_create",
1014 RetValSpec<IntType>,
1015 [ArgSpec<PThreadKeyTPtr>, ArgSpec<PThreadTSSDtorT>]
1018 "pthread_key_delete",
1019 RetValSpec<IntType>,
1020 [ArgSpec<PThreadKeyT>]
1023 "pthread_getspecific",
1024 RetValSpec<VoidPtr>,
1025 [ArgSpec<PThreadKeyT>]
1028 "pthread_setspecific",
1029 RetValSpec<VoidPtr>,
1030 [ArgSpec<PThreadKeyT>, ArgSpec<ConstVoidPtr>]
1034 RetValSpec<IntType>,
1035 [ArgSpec<PThreadOnceTPtr>, ArgSpec<PThreadOnceCallback>]
1040 HeaderSpec StdIO = HeaderSpec<
1048 RetValSpec<VoidType>,
1053 RetValSpec<VoidType>,
1058 RetValSpec<IntType>,
1064 HeaderSpec Dirent = HeaderSpec<
1067 [InoT, StructDirent, DIR], // Types
1072 RetValSpec<IntType>,
1073 [ArgSpec<ConstStructDirentPtrPtr>, ArgSpec<ConstStructDirentPtrPtr>]
1077 RetValSpec<IntType>,
1082 RetValSpec<IntType>,
1093 [ArgSpec<ConstCharPtr>]
1097 RetValSpec<StructDirentPtr>,
1103 HeaderSpec Time = HeaderSpec<
1106 [ClockIdT, StructTimeSpec, StructTimevalType], // Types
1111 RetValSpec<IntType>,
1112 [ArgSpec<ClockIdT>, ArgSpec<StructTimeSpecPtr>]
1116 RetValSpec<IntType>,
1117 [ArgSpec<StructTimevalPtr>, ArgSpec<VoidPtr>]
1121 RetValSpec<IntType>,
1122 [ArgSpec<StructTimeSpecPtr>, ArgSpec<StructTimeSpecPtr>]
1127 HeaderSpec SysWait = HeaderSpec<
1130 [PidT, StructRUsage],
1141 [ArgSpec<PidT>, ArgSpec<IntPtr>, ArgSpec<IntType>]
1146 HeaderSpec SysIOctl = HeaderSpec<
1156 HeaderSpec Spawn = HeaderSpec<
1159 [ModeTType, PosixSpawnAttrT, PidT, PosixSpawnFileActionsT],
1163 "posix_spawn_file_actions_addclose",
1164 RetValSpec<IntType>,
1165 [ArgSpec<PosixSpawnFileActionsTPtr>, ArgSpec<IntType>]
1168 "posix_spawn_file_actions_adddup2",
1169 RetValSpec<IntType>,
1170 [ArgSpec<PosixSpawnFileActionsTPtr>, ArgSpec<IntType>, ArgSpec<IntType>]
1173 "posix_spawn_file_actions_addopen",
1174 RetValSpec<IntType>,
1175 [ArgSpec<PosixSpawnFileActionsTRestrictedPtr>, ArgSpec<IntType>,
1176 ArgSpec<ConstCharRestrictedPtr>, ArgSpec<IntType>, ArgSpec<ModeTType>]
1179 "posix_spawn_file_actions_destroy",
1180 RetValSpec<IntType>,
1181 [ArgSpec<PosixSpawnFileActionsTPtr>]
1184 "posix_spawn_file_actions_init",
1185 RetValSpec<IntType>,
1186 [ArgSpec<PosixSpawnFileActionsTPtr>]
1190 RetValSpec<IntType>,
1191 [ArgSpec<RestrictedPidTPtr>, ArgSpec<ConstCharRestrictedPtr>,
1192 ArgSpec<PosixSpawnFileActionsTPtr>, ArgSpec<RestrictedPosixSpawnAttrTPtrType>,
1193 ArgSpec<ConstCharRestrictedPtrPtr>, ArgSpec<ConstCharRestrictedPtrPtr>]
1198 HeaderSpec Termios = HeaderSpec<
1203 [CcT, PidT, SpeedT, StructTermios, TcFlagT], // Types
1209 [ArgSpec<ConstStructTermiosPtr>]
1214 [ArgSpec<ConstStructTermiosPtr>]
1219 [ArgSpec<StructTermiosPtr>, ArgSpec<SpeedT>]
1224 [ArgSpec<StructTermiosPtr>, ArgSpec<SpeedT>]
1228 RetValSpec<IntType>,
1233 RetValSpec<IntType>,
1234 [ArgSpec<IntType>, ArgSpec<IntType>]
1238 RetValSpec<IntType>,
1239 [ArgSpec<IntType>, ArgSpec<IntType>]
1243 RetValSpec<IntType>,
1244 [ArgSpec<IntType>, ArgSpec<StructTermiosPtr>]
1253 RetValSpec<IntType>,
1254 [ArgSpec<IntType>, ArgSpec<IntType>]
1258 RetValSpec<IntType>,
1259 [ArgSpec<IntType>, ArgSpec<IntType>, ArgSpec<StructTermiosPtr>]
1264 HeaderSpec SysSelect = HeaderSpec<
1267 [FdSet, SigSetType, StructTimevalType, StructTimeSpec, SuSecondsT, TimeTType],
1272 RetValSpec<IntType>,
1274 ArgSpec<IntType>, ArgSpec<RestrictedFdSetPtr>, ArgSpec<RestrictedFdSetPtr>,
1275 ArgSpec<RestrictedFdSetPtr>, ArgSpec<RestrictedStructTimevalPtr>
1281 HeaderSpec SysTypes = HeaderSpec<
1284 [BlkCntT, BlkSizeT, ClockIdT, DevT, GidT, InoT, ModeTType, NLinkT, OffTType, PidT,
1285 PThreadAttrTType, PThreadKeyT, PThreadMutexTType, PThreadMutexAttrTType, PThreadOnceT, PThreadTType,
1286 SizeTType, SSizeTType, SuSecondsT, TimeTType, UidT],