annotate libc/spec/posix.td @ 266:00f31e85ec16 default tip

Added tag current for changeset 31d058e83c98
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sat, 14 Oct 2023 10:13:55 +0900
parents 1f2b6ac9f198
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
173
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
1 def SigSetType : NamedType<"sigset_t">;
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
2 def SigSetPtrType : PtrType<SigSetType>;
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
3 def ConstSigSetPtrType : ConstType<SigSetPtrType>;
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
4 def RestrictedSigSetType : RestrictedPtrType<SigSetType>;
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
5 def ConstRestrictedSigSetType : ConstType<RestrictedSigSetType>;
173
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
6
236
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
7 def SigInfoType : NamedType<"siginfo_t">;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
8 def UnionSigVal : NamedType<"union sigval">;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
9
173
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
10 def StructSigaction : NamedType<"struct sigaction">;
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
11 def StructSigactionPtr : PtrType<StructSigaction>;
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
12 def ConstStructSigactionPtr : ConstType<StructSigactionPtr>;
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
13 def RestrictedStructSigactionPtr : RestrictedPtrType<StructSigaction>;
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
14 def ConstRestrictedStructSigactionPtr : ConstType<RestrictedStructSigactionPtr>;
173
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
15
236
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
16 def PThreadStartT : NamedType<"__pthread_start_t">;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
17 def PThreadTSSDtorT : NamedType<"__pthread_tss_dtor_t">;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
18 def PThreadKeyT : NamedType<"pthread_key_t">;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
19 def PThreadKeyTPtr : PtrType<PThreadKeyT>;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
20 def PThreadOnceT : NamedType<"pthread_once_t">;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
21 def PThreadOnceTPtr : PtrType<PThreadOnceT>;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
22 def PThreadOnceCallback : NamedType<"__pthread_once_func_t">;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
23
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
24 def InoT : NamedType<"ino_t">;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
25 def UidT : NamedType<"uid_t">;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
26 def GidT : NamedType<"gid_t">;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
27 def DevT : NamedType<"dev_t">;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
28 def ClockIdT : NamedType<"clockid_t">;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
29 def BlkSizeT : NamedType<"blksize_t">;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
30 def BlkCntT : NamedType<"blkcnt_t">;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
31 def NLinkT : NamedType<"nlink_t">;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
32
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
33 def StatType : NamedType<"struct stat">;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
34 def StatTypePtr : PtrType<StatType>;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
35 def RestrictedStatTypePtr : RestrictedPtrType<StatType>;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
36
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
37 def DIR : NamedType<"DIR">;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
38 def DIRPtr : PtrType<DIR>;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
39 def DIRRestrictedPtr : RestrictedPtrType<DIR>;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
40 def StructDirent : NamedType<"struct dirent">;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
41 def StructDirentPtr : PtrType<StructDirent>;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
42 def StructDirentPtrPtr : PtrType<StructDirentPtr>;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
43 def ConstStructDirentPtrPtr : ConstType<StructDirentPtrPtr>;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
44
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
45 def StructTimeSpec : NamedType<"struct timespec">;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
46 def StructTimeSpecPtr : PtrType<StructTimeSpec>;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
47
252
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
48 def StructSchedParam : NamedType<"struct sched_param">;
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
49 def StructSchedParamPtr : PtrType<StructSchedParam>;
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
50 def ConstStructSchedParamPtr : ConstType<StructSchedParamPtr>;
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
51
236
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
52 def ExecArgvT : NamedType<"__exec_argv_t">;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
53 def ExecEnvpT : NamedType<"__exec_envp_t">;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
54
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
55 def AtForkCallbackT : NamedType<"__atfork_callback_t">;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
56
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
57 def PosixSpawnFileActionsT : NamedType<"posix_spawn_file_actions_t">;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
58 def PosixSpawnFileActionsTPtr : PtrType<PosixSpawnFileActionsT>;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
59 def ConstPosixSpawnFileActionsTPtr : ConstType<PosixSpawnFileActionsTPtr>;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
60 def PosixSpawnFileActionsTRestrictedPtr : RestrictedPtrType<PosixSpawnFileActionsT>;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
61
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
62 def PosixSpawnAttrT : NamedType<"posix_spawnattr_t">;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
63 def RestrictedPosixSpawnAttrTPtrType : RestrictedPtrType<PosixSpawnAttrT>;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
64
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
65 def CcT : NamedType<"cc_t">;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
66 def SpeedT : NamedType<"speed_t">;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
67 def StructTermios : NamedType<"struct termios">;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
68 def StructTermiosPtr : PtrType<StructTermios>;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
69 def ConstStructTermiosPtr : ConstType<StructTermiosPtr>;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
70 def TcFlagT : NamedType<"tcflag_t">;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
71
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
72 def StackT : NamedType<"stack_t">;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
73 def StackTPtr : PtrType<StackT>;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
74 def RestrictedStackTPtr : RestrictedPtrType<StackT>;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
75 def ConstRestrictedStackTPtr : ConstType<RestrictedStackTPtr>;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
76
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
77 def FdSet : NamedType<"fd_set">;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
78 def FdSetPtr : PtrType<FdSet>;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
79 def RestrictedFdSetPtr : RestrictedPtrType<FdSet>;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
80
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
81 def GetoptArgvT : NamedType<"__getoptargv_t">;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
82
252
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
83 def StructSockAddr : NamedType<"struct sockaddr">;
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
84 def StructSockAddrPtr : PtrType<StructSockAddr>;
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
85 def SAFamilyType : NamedType<"sa_family_t">;
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
86
150
anatofuz
parents:
diff changeset
87 def POSIX : StandardSpec<"POSIX"> {
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
88 PtrType CharPtr = PtrType<CharType>;
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
89 RestrictedPtrType RestrictedCharPtr = RestrictedPtrType<CharType>;
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
90 RestrictedPtrType CharRestrictedDoublePtr = RestrictedPtrType<CharPtr>;
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
91 ConstType ConstCharPtr = ConstType<CharPtr>;
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
92 ConstType ConstRestrictedCharPtr = ConstType<RestrictedCharPtr>;
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
93
236
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
94 NamedType ModeTType = NamedType<"mode_t">;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
95
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
96 NamedType PThreadAttrTType = NamedType<"pthread_attr_t">;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
97 PtrType PThreadAttrTPtr = PtrType<PThreadAttrTType>;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
98 RestrictedPtrType RestrictedPThreadAttrTPtr = RestrictedPtrType<PThreadAttrTType>;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
99 ConstType ConstPThreadAttrTPtr = ConstType<PThreadAttrTPtr>;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
100 ConstType ConstRestrictedPThreadAttrTPtr = ConstType<RestrictedPThreadAttrTPtr>;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
101
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
102 NamedType PThreadMutexAttrTType = NamedType<"pthread_mutexattr_t">;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
103 PtrType PThreadMutexAttrTPtr = PtrType<PThreadMutexAttrTType>;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
104 RestrictedPtrType RestrictedPThreadMutexAttrTPtr = RestrictedPtrType<PThreadMutexAttrTType>;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
105 ConstType ConstPThreadMutexAttrTPtr = ConstType<PThreadMutexAttrTPtr>;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
106 ConstType ConstRestrictedPThreadMutexAttrTPtr = ConstType<RestrictedPThreadMutexAttrTPtr>;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
107
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
108 NamedType PThreadMutexTType = NamedType<"pthread_mutex_t">;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
109 PtrType PThreadMutexTPtr = PtrType<PThreadMutexTType>;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
110 RestrictedPtrType RestrictedPThreadMutexTPtr = RestrictedPtrType<PThreadMutexTType>;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
111 ConstType ConstPThreadMutexTPtr = ConstType<PThreadMutexTPtr>;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
112 ConstType ConstRestrictedPThreadMutexTPtr = ConstType<RestrictedPThreadMutexTPtr>;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
113
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
114 PtrType PThreadTPtr = PtrType<PThreadTType>;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
115 RestrictedPtrType RestrictedPThreadTPtr = RestrictedPtrType<PThreadTType>;
150
anatofuz
parents:
diff changeset
116
anatofuz
parents:
diff changeset
117 HeaderSpec Errno = HeaderSpec<
anatofuz
parents:
diff changeset
118 "errno.h",
anatofuz
parents:
diff changeset
119 [
anatofuz
parents:
diff changeset
120 Macro<"E2BIG">,
anatofuz
parents:
diff changeset
121 Macro<"EACCES">,
anatofuz
parents:
diff changeset
122 Macro<"EADDRINUSE">,
anatofuz
parents:
diff changeset
123 Macro<"EADDRNOTAVAIL">,
anatofuz
parents:
diff changeset
124 Macro<"EAFNOSUPPORT">,
anatofuz
parents:
diff changeset
125 Macro<"EAGAIN">,
anatofuz
parents:
diff changeset
126 Macro<"EALREADY">,
anatofuz
parents:
diff changeset
127 Macro<"EBADF">,
anatofuz
parents:
diff changeset
128 Macro<"EBADMSG">,
anatofuz
parents:
diff changeset
129 Macro<"EBUSY">,
anatofuz
parents:
diff changeset
130 Macro<"ECANCELED">,
anatofuz
parents:
diff changeset
131 Macro<"ECHILD">,
anatofuz
parents:
diff changeset
132 Macro<"ECONNABORTED">,
anatofuz
parents:
diff changeset
133 Macro<"ECONNREFUSED">,
anatofuz
parents:
diff changeset
134 Macro<"ECONNRESET">,
anatofuz
parents:
diff changeset
135 Macro<"EDEADLK">,
anatofuz
parents:
diff changeset
136 Macro<"EDESTADDRREQ">,
anatofuz
parents:
diff changeset
137 Macro<"EDQUOT">,
anatofuz
parents:
diff changeset
138 Macro<"EEXIST">,
anatofuz
parents:
diff changeset
139 Macro<"EFAULT">,
anatofuz
parents:
diff changeset
140 Macro<"EFBIG">,
anatofuz
parents:
diff changeset
141 Macro<"EHOSTUNREACH">,
anatofuz
parents:
diff changeset
142 Macro<"EIDRM">,
anatofuz
parents:
diff changeset
143 Macro<"EINPROGRESS">,
anatofuz
parents:
diff changeset
144 Macro<"EINTR">,
anatofuz
parents:
diff changeset
145 Macro<"EINVAL">,
anatofuz
parents:
diff changeset
146 Macro<"EIO">,
anatofuz
parents:
diff changeset
147 Macro<"EISCONN">,
anatofuz
parents:
diff changeset
148 Macro<"EISDIR">,
anatofuz
parents:
diff changeset
149 Macro<"ELOOP">,
anatofuz
parents:
diff changeset
150 Macro<"EMFILE">,
anatofuz
parents:
diff changeset
151 Macro<"EMLINK">,
anatofuz
parents:
diff changeset
152 Macro<"EMSGSIZE">,
anatofuz
parents:
diff changeset
153 Macro<"EMULTIHOP">,
anatofuz
parents:
diff changeset
154 Macro<"ENAMETOOLONG">,
anatofuz
parents:
diff changeset
155 Macro<"ENETDOWN">,
anatofuz
parents:
diff changeset
156 Macro<"ENETRESET">,
anatofuz
parents:
diff changeset
157 Macro<"ENETUNREACH">,
anatofuz
parents:
diff changeset
158 Macro<"ENFILE">,
anatofuz
parents:
diff changeset
159 Macro<"ENOBUFS">,
anatofuz
parents:
diff changeset
160 Macro<"ENODATA">,
anatofuz
parents:
diff changeset
161 Macro<"ENODEV">,
anatofuz
parents:
diff changeset
162 Macro<"ENOENT">,
anatofuz
parents:
diff changeset
163 Macro<"ENOEXEC">,
anatofuz
parents:
diff changeset
164 Macro<"ENOLCK">,
anatofuz
parents:
diff changeset
165 Macro<"ENOLINK">,
anatofuz
parents:
diff changeset
166 Macro<"ENOMEM">,
anatofuz
parents:
diff changeset
167 Macro<"ENOMSG">,
anatofuz
parents:
diff changeset
168 Macro<"ENOPROTOOPT">,
anatofuz
parents:
diff changeset
169 Macro<"ENOSPC">,
anatofuz
parents:
diff changeset
170 Macro<"ENOSR">,
anatofuz
parents:
diff changeset
171 Macro<"ENOSTR">,
anatofuz
parents:
diff changeset
172 Macro<"ENOSYS">,
anatofuz
parents:
diff changeset
173 Macro<"ENOTCONN">,
anatofuz
parents:
diff changeset
174 Macro<"ENOTDIR">,
anatofuz
parents:
diff changeset
175 Macro<"ENOTEMPTY">,
anatofuz
parents:
diff changeset
176 Macro<"ENOTRECOVERABLE">,
anatofuz
parents:
diff changeset
177 Macro<"ENOTSOCK">,
anatofuz
parents:
diff changeset
178 Macro<"ENOTSUP">,
anatofuz
parents:
diff changeset
179 Macro<"ENOTTY">,
anatofuz
parents:
diff changeset
180 Macro<"ENXIO">,
anatofuz
parents:
diff changeset
181 Macro<"EOPNOTSUPP">,
anatofuz
parents:
diff changeset
182 Macro<"EOVERFLOW">,
anatofuz
parents:
diff changeset
183 Macro<"EOWNERDEAD">,
anatofuz
parents:
diff changeset
184 Macro<"EPERM">,
anatofuz
parents:
diff changeset
185 Macro<"EPIPE">,
anatofuz
parents:
diff changeset
186 Macro<"EPROTO">,
anatofuz
parents:
diff changeset
187 Macro<"EPROTONOSUPPORT">,
anatofuz
parents:
diff changeset
188 Macro<"EPROTOTYPE">,
anatofuz
parents:
diff changeset
189 Macro<"EROFS">,
anatofuz
parents:
diff changeset
190 Macro<"ESPIPE">,
anatofuz
parents:
diff changeset
191 Macro<"ESRCH">,
anatofuz
parents:
diff changeset
192 Macro<"ESTALE">,
anatofuz
parents:
diff changeset
193 Macro<"ETIME">,
anatofuz
parents:
diff changeset
194 Macro<"ETIMEDOUT">,
anatofuz
parents:
diff changeset
195 Macro<"ETXTBSY">,
anatofuz
parents:
diff changeset
196 Macro<"EWOULDBLOCK">,
anatofuz
parents:
diff changeset
197 Macro<"EXDEV">,
anatofuz
parents:
diff changeset
198 ],
anatofuz
parents:
diff changeset
199 [], // Types
173
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
200 [], // Enumerations
150
anatofuz
parents:
diff changeset
201 [] // Functions
anatofuz
parents:
diff changeset
202 >;
anatofuz
parents:
diff changeset
203
236
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
204 HeaderSpec FCntl = HeaderSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
205 "fcntl.h",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
206 [], // Macros
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
207 [ModeTType],
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
208 [], // Enumerations
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
209 [
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
210 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
211 "creat",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
212 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
213 [ArgSpec<ConstCharPtr>, ArgSpec<ModeTType>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
214 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
215 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
216 "open",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
217 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
218 [ArgSpec<ConstCharPtr>, ArgSpec<IntType>, ArgSpec<VarArgType>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
219 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
220 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
221 "openat",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
222 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
223 [ArgSpec<IntType>, ArgSpec<ConstCharPtr>, ArgSpec<IntType>, ArgSpec<VarArgType>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
224 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
225 ]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
226 >;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
227
150
anatofuz
parents:
diff changeset
228 HeaderSpec SysMMan = HeaderSpec<
anatofuz
parents:
diff changeset
229 "sys/mman.h",
anatofuz
parents:
diff changeset
230 [
anatofuz
parents:
diff changeset
231 // TODO: Add a facility to bunch macros into bitwise-or-able groups.
anatofuz
parents:
diff changeset
232 // POSIX requires it, so such thing should be captured in this spec.
anatofuz
parents:
diff changeset
233 Macro<"PROT_EXEC">,
anatofuz
parents:
diff changeset
234 Macro<"PROT_NONE">,
anatofuz
parents:
diff changeset
235 Macro<"PROT_READ">,
anatofuz
parents:
diff changeset
236 Macro<"PROT_WRITE">,
anatofuz
parents:
diff changeset
237
anatofuz
parents:
diff changeset
238 Macro<"MAP_FIXED">,
anatofuz
parents:
diff changeset
239 Macro<"MAP_PRIVATE">,
anatofuz
parents:
diff changeset
240 Macro<"MAP_SHARED">,
anatofuz
parents:
diff changeset
241
anatofuz
parents:
diff changeset
242 Macro<"MAP_FAILED">,
anatofuz
parents:
diff changeset
243 ],
anatofuz
parents:
diff changeset
244 [
anatofuz
parents:
diff changeset
245 SizeTType,
anatofuz
parents:
diff changeset
246 OffTType,
anatofuz
parents:
diff changeset
247 ],
173
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
248 [], // Enumerations
150
anatofuz
parents:
diff changeset
249 [
anatofuz
parents:
diff changeset
250 FunctionSpec<
236
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
251 "madvise",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
252 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
253 [ArgSpec<VoidPtr>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
254 ArgSpec<SizeTType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
255 ArgSpec<IntType>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
256 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
257 FunctionSpec<
150
anatofuz
parents:
diff changeset
258 "mmap",
anatofuz
parents:
diff changeset
259 RetValSpec<VoidPtr>,
anatofuz
parents:
diff changeset
260 [ArgSpec<VoidPtr>,
anatofuz
parents:
diff changeset
261 ArgSpec<SizeTType>,
anatofuz
parents:
diff changeset
262 ArgSpec<IntType>,
anatofuz
parents:
diff changeset
263 ArgSpec<IntType>,
anatofuz
parents:
diff changeset
264 ArgSpec<IntType>,
anatofuz
parents:
diff changeset
265 ArgSpec<OffTType>]
anatofuz
parents:
diff changeset
266 >,
anatofuz
parents:
diff changeset
267 FunctionSpec<
236
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
268 "mprotect",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
269 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
270 [ArgSpec<VoidPtr>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
271 ArgSpec<SizeTType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
272 ArgSpec<IntType>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
273 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
274 FunctionSpec<
150
anatofuz
parents:
diff changeset
275 "munmap",
anatofuz
parents:
diff changeset
276 RetValSpec<IntType>,
anatofuz
parents:
diff changeset
277 [ArgSpec<VoidPtr>, ArgSpec<SizeTType>]
anatofuz
parents:
diff changeset
278 >,
236
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
279 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
280 "posix_madvise",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
281 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
282 [ArgSpec<VoidPtr>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
283 ArgSpec<SizeTType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
284 ArgSpec<IntType>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
285 >,
150
anatofuz
parents:
diff changeset
286 ]
anatofuz
parents:
diff changeset
287 >;
anatofuz
parents:
diff changeset
288
173
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
289 HeaderSpec Signal = HeaderSpec<
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
290 "signal.h",
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
291 [], // Macros
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
292 [
236
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
293 SigInfoType,
173
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
294 SigSetType,
236
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
295 StackT,
173
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
296 StructSigaction,
236
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
297 UnionSigVal,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
298 PidT,
173
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
299 ],
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
300 [], // Enumerations
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
301 [
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
302 FunctionSpec<
236
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
303 "kill",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
304 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
305 [ArgSpec<PidT>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
306 ArgSpec<IntType>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
307 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
308 FunctionSpec<
173
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
309 "sigaction",
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
310 RetValSpec<IntType>,
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
311 [ArgSpec<IntType>,
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
312 ArgSpec<ConstRestrictedStructSigactionPtr>,
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
313 ArgSpec<RestrictedStructSigactionPtr>]
173
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
314 >,
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
315 FunctionSpec<
236
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
316 "sigaltstack",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
317 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
318 [ArgSpec<ConstRestrictedStackTPtr>, ArgSpec<RestrictedStackTPtr>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
319 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
320 FunctionSpec<
173
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
321 "sigdelset",
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
322 RetValSpec<IntType>,
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
323 [ArgSpec<SigSetPtrType>,
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
324 ArgSpec<IntType>]
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
325 >,
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
326 FunctionSpec<
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
327 "sigprocmask",
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
328 RetValSpec<IntType>,
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
329 [ArgSpec<IntType>, ArgSpec<ConstRestrictedSigSetType>, ArgSpec<RestrictedSigSetType>]
173
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
330 >,
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
331 FunctionSpec<
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
332 "sigemptyset",
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
333 RetValSpec<IntType>,
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
334 [ArgSpec<SigSetPtrType>]
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
335 >,
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
336 FunctionSpec<
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
337 "sigaddset",
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
338 RetValSpec<IntType>,
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
339 [ArgSpec<SigSetPtrType>,
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
340 ArgSpec<IntType>]
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
341 >,
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
342 FunctionSpec<
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
343 "sigfillset",
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
344 RetValSpec<IntType>,
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
345 [ArgSpec<SigSetPtrType>]
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
346 >,
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
347 ]
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
348 >;
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
349
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
350 HeaderSpec UniStd = HeaderSpec<
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
351 "unistd.h",
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
352 [], // Macros
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
353 [
236
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
354 ExecArgvT,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
355 ExecEnvpT,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
356 OffTType,
173
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
357 SSizeTType,
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
358 SizeTType,
236
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
359 PidT,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
360 UidT,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
361 GetoptArgvT,
173
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
362 ],
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
363 [], // Enumerations
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
364 [
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
365 FunctionSpec<
236
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
366 "access",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
367 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
368 [ArgSpec<ConstCharPtr>, ArgSpec<IntType>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
369 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
370 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
371 "chdir",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
372 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
373 [ArgSpec<ConstCharPtr>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
374 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
375 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
376 "dup",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
377 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
378 [ArgSpec<IntType>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
379 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
380 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
381 "dup2",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
382 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
383 [ArgSpec<IntType>, ArgSpec<IntType>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
384 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
385 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
386 "dup3",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
387 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
388 [ArgSpec<IntType>, ArgSpec<IntType>, ArgSpec<IntType>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
389 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
390 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
391 "fchdir",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
392 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
393 [ArgSpec<IntType>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
394 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
395 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
396 "getcwd",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
397 RetValSpec<CharPtr>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
398 [ArgSpec<CharPtr>, ArgSpec<SizeTType>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
399 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
400 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
401 "close",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
402 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
403 [ArgSpec<IntType>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
404 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
405 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
406 "execv",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
407 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
408 [ArgSpec<ConstCharPtr>, ArgSpec<ExecArgvT>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
409 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
410 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
411 "execve",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
412 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
413 [ArgSpec<ConstCharPtr>, ArgSpec<ExecArgvT>, ArgSpec<ExecEnvpT>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
414 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
415 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
416 "fork",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
417 RetValSpec<PidT>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
418 [ArgSpec<VoidType>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
419 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
420 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
421 "fsync",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
422 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
423 [ArgSpec<IntType>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
424 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
425 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
426 "ftruncate",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
427 RetValSpec<IntType>,
252
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
428 [ArgSpec<IntType>, ArgSpec<OffTType>]
236
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
429 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
430 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
431 "geteuid",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
432 RetValSpec<UidT>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
433 [ArgSpec<VoidType>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
434 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
435 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
436 "getpid",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
437 RetValSpec<PidT>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
438 [ArgSpec<VoidType>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
439 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
440 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
441 "getppid",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
442 RetValSpec<PidT>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
443 [ArgSpec<VoidType>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
444 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
445 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
446 "getuid",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
447 RetValSpec<UidT>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
448 [ArgSpec<VoidType>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
449 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
450 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
451 "isatty",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
452 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
453 [ArgSpec<IntType>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
454 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
455 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
456 "link",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
457 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
458 [ArgSpec<ConstCharPtr>, ArgSpec<ConstCharPtr>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
459 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
460 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
461 "linkat",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
462 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
463 [ArgSpec<IntType>, ArgSpec<ConstCharPtr>, ArgSpec<IntType>, ArgSpec<ConstCharPtr>, ArgSpec<IntType>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
464 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
465 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
466 "lseek",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
467 RetValSpec<OffTType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
468 [ArgSpec<IntType>, ArgSpec<OffTType>, ArgSpec<IntType>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
469 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
470 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
471 "pread",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
472 RetValSpec<SSizeTType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
473 [ArgSpec<IntType>, ArgSpec<VoidPtr>, ArgSpec<SizeTType>, ArgSpec<OffTType>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
474 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
475 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
476 "pwrite",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
477 RetValSpec<SSizeTType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
478 [ArgSpec<IntType>, ArgSpec<ConstVoidPtr>, ArgSpec<SizeTType>, ArgSpec<OffTType>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
479 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
480 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
481 "read",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
482 RetValSpec<SSizeTType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
483 [ArgSpec<IntType>, ArgSpec<VoidPtr>, ArgSpec<SizeTType>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
484 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
485 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
486 "readlink",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
487 RetValSpec<SSizeTType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
488 [ArgSpec<ConstCharRestrictedPtr>, ArgSpec<CharRestrictedPtr>, ArgSpec<SizeTType>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
489 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
490 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
491 "readlinkat",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
492 RetValSpec<SSizeTType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
493 [ArgSpec<ConstCharRestrictedPtr>, ArgSpec<CharRestrictedPtr>, ArgSpec<SizeTType>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
494 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
495 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
496 "rmdir",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
497 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
498 [ArgSpec<ConstCharPtr>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
499 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
500 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
501 "getpid",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
502 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
503 [ArgSpec<VoidType>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
504 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
505 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
506 "getppid",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
507 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
508 [ArgSpec<VoidType>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
509 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
510 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
511 "link",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
512 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
513 [ArgSpec<ConstCharPtr>, ArgSpec<ConstCharPtr>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
514 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
515 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
516 "linkat",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
517 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
518 [ArgSpec<IntType>, ArgSpec<ConstCharPtr>, ArgSpec<IntType>, ArgSpec<ConstCharPtr>, ArgSpec<IntType>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
519 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
520 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
521 "lseek",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
522 RetValSpec<OffTType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
523 [ArgSpec<IntType>, ArgSpec<OffTType>, ArgSpec<IntType>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
524 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
525 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
526 "pread",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
527 RetValSpec<SSizeTType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
528 [ArgSpec<IntType>, ArgSpec<VoidPtr>, ArgSpec<SizeTType>, ArgSpec<OffTType>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
529 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
530 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
531 "pwrite",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
532 RetValSpec<SSizeTType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
533 [ArgSpec<IntType>, ArgSpec<ConstVoidPtr>, ArgSpec<SizeTType>, ArgSpec<OffTType>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
534 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
535 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
536 "read",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
537 RetValSpec<SSizeTType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
538 [ArgSpec<IntType>, ArgSpec<VoidPtr>, ArgSpec<SizeTType>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
539 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
540 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
541 "readlink",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
542 RetValSpec<SSizeTType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
543 [ArgSpec<ConstCharRestrictedPtr>, ArgSpec<CharRestrictedPtr>, ArgSpec<SizeTType>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
544 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
545 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
546 "readlinkat",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
547 RetValSpec<SSizeTType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
548 [ArgSpec<ConstCharRestrictedPtr>, ArgSpec<CharRestrictedPtr>, ArgSpec<SizeTType>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
549 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
550 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
551 "rmdir",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
552 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
553 [ArgSpec<ConstCharPtr>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
554 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
555 FunctionSpec<
252
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
556 "swab",
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
557 RetValSpec<VoidType>,
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
558 [ArgSpec<ConstVoidRestrictedPtr>, ArgSpec<VoidPtr>, ArgSpec<SSizeTType>]
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
559 >,
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
560 FunctionSpec<
236
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
561 "symlink",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
562 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
563 [ArgSpec<ConstCharPtr>, ArgSpec<ConstCharPtr>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
564 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
565 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
566 "symlinkat",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
567 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
568 [ArgSpec<IntType>, ArgSpec<ConstCharPtr>, ArgSpec<IntType>, ArgSpec<ConstCharPtr>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
569 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
570 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
571 "sysconf",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
572 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
573 [ArgSpec<IntType>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
574 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
575 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
576 "__llvm_libc_syscall",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
577 RetValSpec<LongType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
578 [ArgSpec<LongType>,ArgSpec<LongType>,ArgSpec<LongType>,ArgSpec<LongType>,ArgSpec<LongType>,ArgSpec<LongType>,ArgSpec<LongType>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
579 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
580 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
581 "truncate",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
582 RetValSpec<IntType>,
252
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
583 [ArgSpec<ConstCharPtr>, ArgSpec<OffTType>]
236
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
584 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
585 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
586 "unlink",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
587 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
588 [ArgSpec<ConstCharPtr>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
589 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
590 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
591 "unlinkat",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
592 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
593 [ArgSpec<IntType>, ArgSpec<ConstCharPtr>, ArgSpec<IntType>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
594 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
595 FunctionSpec<
173
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
596 "write",
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
597 RetValSpec<SSizeTType>,
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
598 [ArgSpec<IntType>, ArgSpec<ConstVoidPtr>, ArgSpec<SizeTType>]
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
599 >,
236
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
600 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
601 "getopt",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
602 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
603 [ArgSpec<IntType>, ArgSpec<GetoptArgvT>, ArgSpec<ConstCharPtr>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
604 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
605 ],
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
606 [
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
607 ObjectSpec<"environ", "char **">,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
608 ObjectSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
609 "optarg",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
610 "char *"
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
611 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
612 ObjectSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
613 "optind",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
614 "int"
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
615 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
616 ObjectSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
617 "opterr",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
618 "int"
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
619 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
620 ObjectSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
621 "optopt",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
622 "int"
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
623 >,
173
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
624 ]
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
625 >;
236
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
626
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
627 HeaderSpec StdLib = HeaderSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
628 "stdlib.h",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
629 [], // Macros
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
630 [], // Types
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
631 [], // Enumerations
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
632 [
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
633 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
634 "getenv",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
635 RetValSpec<CharPtr>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
636 [ArgSpec<ConstCharPtr>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
637 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
638 ]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
639 >;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
640
252
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
641 HeaderSpec Sched = HeaderSpec<
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
642 "sched.h",
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
643 [], // Macros
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
644 [PidT, TimeTType, StructTimeSpec, StructSchedParam], // Types
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
645 [], // Enumerations
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
646 [
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
647 FunctionSpec<
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
648 "sched_yield",
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
649 RetValSpec<IntType>,
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
650 [ArgSpec<VoidType>]
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
651 >,
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
652 FunctionSpec<
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
653 "sched_setparam",
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
654 RetValSpec<IntType>,
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
655 [ArgSpec<PidT>, ArgSpec<ConstStructSchedParamPtr>]
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
656 >,
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
657
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
658 FunctionSpec<
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
659 "sched_getparam",
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
660 RetValSpec<IntType>,
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
661 [ArgSpec<PidT>, ArgSpec<StructSchedParamPtr>]
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
662 >,
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
663
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
664 FunctionSpec<
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
665 "sched_setscheduler",
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
666 RetValSpec<IntType>,
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
667 [ArgSpec<PidT>]
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
668 >,
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
669
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
670 FunctionSpec<
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
671 "sched_getscheduler",
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
672 RetValSpec<IntType>,
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
673 [ArgSpec<PidT>, ArgSpec<IntType>, ArgSpec<ConstStructSchedParamPtr>]
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
674 >,
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
675
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
676 FunctionSpec<
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
677 "sched_get_priority_min",
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
678 RetValSpec<IntType>,
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
679 [ArgSpec<IntType>]
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
680 >,
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
681
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
682 FunctionSpec<
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
683 "sched_get_priority_max",
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
684 RetValSpec<IntType>,
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
685 [ArgSpec<IntType>]
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
686 >,
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
687
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
688 FunctionSpec<
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
689 "sched_rr_get_interval",
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
690 RetValSpec<IntType>,
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
691 [ArgSpec<PidT>, ArgSpec<StructTimeSpecPtr>]
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
692 >,
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
693 ]
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
694 >;
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
695
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
696 HeaderSpec String = HeaderSpec<
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
697 "string.h",
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
698 [
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
699 Macro<"NULL">,
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
700 ],
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
701 [
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
702 SizeTType,
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
703 ],
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
704 [], // Enumerations
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
705 [
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
706 FunctionSpec<
236
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
707 "memccpy",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
708 RetValSpec<VoidPtr>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
709 [ArgSpec<VoidRestrictedPtr>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
710 ArgSpec<ConstVoidRestrictedPtr>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
711 ArgSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
712 ArgSpec<SizeTType>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
713 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
714 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
715 "mempcpy",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
716 RetValSpec<VoidPtr>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
717 [ArgSpec<VoidRestrictedPtr>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
718 ArgSpec<ConstVoidRestrictedPtr>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
719 ArgSpec<SizeTType>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
720 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
721 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
722 "stpcpy",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
723 RetValSpec<CharPtr>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
724 [ArgSpec<RestrictedCharPtr>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
725 ArgSpec<ConstRestrictedCharPtr>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
726 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
727 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
728 "stpncpy",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
729 RetValSpec<CharPtr>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
730 [ArgSpec<RestrictedCharPtr>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
731 ArgSpec<ConstRestrictedCharPtr>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
732 ArgSpec<SizeTType>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
733 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
734 FunctionSpec<
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
735 "strnlen",
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
736 RetValSpec<SizeTType>,
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
737 [ArgSpec<ConstCharPtr>, ArgSpec<SizeTType>]
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
738 >,
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
739 FunctionSpec<
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
740 "strtok_r",
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
741 RetValSpec<CharPtr>,
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
742 [ArgSpec<RestrictedCharPtr>,
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
743 ArgSpec<ConstRestrictedCharPtr>,
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
744 ArgSpec<CharRestrictedDoublePtr>]
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
745 >,
236
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
746 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
747 "strsignal",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
748 RetValSpec<CharPtr>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
749 [ArgSpec<IntType>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
750 >,
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
751 ]
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
752 >;
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
753
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
754 HeaderSpec CType = HeaderSpec<
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
755 "ctype.h",
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
756 [], // Macros
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
757 [], // Types
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
758 [], // Enumerations
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
759 [
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
760 FunctionSpec<
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
761 "isascii",
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
762 RetValSpec<IntType>,
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
763 [ArgSpec<IntType>]
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
764 >,
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
765 ]
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
766 >;
173
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
767
236
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
768 NamedType RLimTType = NamedType<"rlim_t">;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
769 NamedType StructRLimitType = NamedType<"struct rlimit">;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
770 PtrType StructRLimitPtr = PtrType<StructRLimitType>;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
771 ConstType ConstStructRLimitPtr = ConstType<StructRLimitType>;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
772 HeaderSpec SysResource = HeaderSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
773 "sys/resource.h",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
774 [], // Macros
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
775 [RLimTType, StructRLimitType], // Types
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
776 [], // Enumerations
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
777 [
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
778 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
779 "getrlimit",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
780 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
781 [ArgSpec<StructRLimitPtr>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
782 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
783 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
784 "setrlimit",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
785 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
786 [ArgSpec<ConstStructRLimitPtr>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
787 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
788 ]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
789 >;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
790
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
791 HeaderSpec SysStat = HeaderSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
792 "sys/stat.h",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
793 [], // Macros
252
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
794 [
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
795 ModeTType,
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
796 DevT,
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
797 InoT,
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
798 UidT,
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
799 GidT,
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
800 StructTimeSpec,
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
801 StructTimevalType,
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
802 BlkSizeT,
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
803 BlkCntT,
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
804 OffTType,
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
805 NLinkT,
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
806 StatType,
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
807 ], // Types
236
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
808 [], // Enumerations
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
809 [
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
810 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
811 "chmod",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
812 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
813 [ArgSpec<ConstCharPtr>, ArgSpec<ModeTType>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
814 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
815 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
816 "fchmod",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
817 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
818 [ArgSpec<IntType>, ArgSpec<ModeTType>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
819 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
820 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
821 "fchmodat",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
822 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
823 [ArgSpec<IntType>, ArgSpec<ConstCharPtr>, ArgSpec<ModeTType>, ArgSpec<IntType>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
824 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
825 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
826 "fstat",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
827 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
828 [ArgSpec<IntType>, ArgSpec<StatTypePtr>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
829 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
830 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
831 "lstat",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
832 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
833 [ArgSpec<ConstRestrictedCharPtr>, ArgSpec<RestrictedStatTypePtr>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
834 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
835 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
836 "mkdir",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
837 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
838 [ArgSpec<ConstCharPtr>, ArgSpec<ModeTType>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
839 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
840 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
841 "mkdirat",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
842 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
843 [ArgSpec<IntType>, ArgSpec<ConstCharPtr>, ArgSpec<ModeTType>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
844 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
845 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
846 "stat",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
847 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
848 [ArgSpec<ConstRestrictedCharPtr>, ArgSpec<RestrictedStatTypePtr>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
849 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
850 ]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
851 >;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
852
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
853 NamedType StructUtsName = NamedType<"struct utsname">;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
854 PtrType StructUtsNamePtr = PtrType<StructUtsName>;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
855 HeaderSpec SysUtsName = HeaderSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
856 "sys/utsname.h",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
857 [], // Macros
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
858 [StructUtsName], // Types
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
859 [], // Enumerations
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
860 [
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
861 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
862 "uname",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
863 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
864 [ArgSpec<StructUtsNamePtr>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
865 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
866 ]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
867 >;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
868
252
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
869 HeaderSpec ArpaInet = HeaderSpec<
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
870 "arpa/inet.h",
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
871 [], // Macros
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
872 [], // Types
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
873 [], // Enumerations
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
874 [
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
875 FunctionSpec<
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
876 "htonl",
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
877 RetValSpec<UInt32Type>,
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
878 [ArgSpec<UInt32Type>]
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
879 >,
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
880 FunctionSpec<
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
881 "htons",
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
882 RetValSpec<UInt16Type>,
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
883 [ArgSpec<UInt16Type>]
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
884 >,
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
885 FunctionSpec<
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
886 "ntohl",
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
887 RetValSpec<UInt32Type>,
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
888 [ArgSpec<UInt32Type>]
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
889 >,
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
890 FunctionSpec<
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
891 "ntohs",
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
892 RetValSpec<UInt16Type>,
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
893 [ArgSpec<UInt16Type>]
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
894 >,
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
895 ]
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
896 >;
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
897
236
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
898 HeaderSpec PThread = HeaderSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
899 "pthread.h",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
900 [], // Macros
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
901 [
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
902 AtForkCallbackT,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
903 PThreadAttrTType,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
904 PThreadKeyT,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
905 PThreadMutexAttrTType,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
906 PThreadMutexTType,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
907 PThreadOnceCallback,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
908 PThreadOnceT,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
909 PThreadStartT,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
910 PThreadTSSDtorT,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
911 PThreadTType,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
912 ], // Types
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
913 [], // Enumerations
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
914 [
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
915 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
916 "pthread_atfork",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
917 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
918 [ArgSpec<AtForkCallbackT>, ArgSpec<AtForkCallbackT>, ArgSpec<AtForkCallbackT>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
919 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
920 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
921 "pthread_attr_init",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
922 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
923 [ArgSpec<PThreadAttrTPtr>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
924 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
925 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
926 "pthread_attr_destroy",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
927 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
928 [ArgSpec<PThreadAttrTPtr>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
929 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
930 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
931 "pthread_attr_getdetachstate",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
932 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
933 [ArgSpec<ConstPThreadAttrTPtr>, ArgSpec<IntPtr>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
934 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
935 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
936 "pthread_attr_setdetachstate",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
937 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
938 [ArgSpec<PThreadAttrTPtr>, ArgSpec<IntType>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
939 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
940 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
941 "pthread_attr_getguardsize",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
942 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
943 [ArgSpec<ConstRestrictedPThreadAttrTPtr>, ArgSpec<RestrictedSizeTPtr>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
944 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
945 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
946 "pthread_attr_setguardsize",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
947 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
948 [ArgSpec<PThreadAttrTPtr>, ArgSpec<SizeTType>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
949 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
950 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
951 "pthread_attr_getstacksize",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
952 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
953 [ArgSpec<ConstRestrictedPThreadAttrTPtr>, ArgSpec<RestrictedSizeTPtr>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
954 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
955 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
956 "pthread_attr_setstacksize",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
957 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
958 [ArgSpec<PThreadAttrTPtr>, ArgSpec<SizeTType>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
959 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
960 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
961 "pthread_attr_getstack",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
962 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
963 [ArgSpec<ConstRestrictedPThreadAttrTPtr>, ArgSpec<RestrictedVoidPtrPtr>, ArgSpec<RestrictedSizeTPtr>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
964 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
965 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
966 "pthread_attr_setstack",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
967 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
968 [ArgSpec<PThreadAttrTPtr>, ArgSpec<VoidPtr>, ArgSpec<SizeTType>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
969 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
970 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
971 "pthread_create",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
972 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
973 [ArgSpec<RestrictedPThreadTPtr>, ArgSpec<ConstRestrictedPThreadAttrTPtr>, ArgSpec<PThreadStartT>, ArgSpec<VoidPtr>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
974 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
975 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
976 "pthread_join",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
977 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
978 [ArgSpec<PThreadTType>, ArgSpec<VoidPtrPtr>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
979 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
980 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
981 "pthread_detach",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
982 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
983 [ArgSpec<PThreadTType>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
984 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
985 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
986 "pthread_exit",
252
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
987 RetValSpec<NoReturn>,
236
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
988 [ArgSpec<VoidPtr>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
989 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
990 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
991 "pthread_self",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
992 RetValSpec<PThreadTType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
993 [ArgSpec<VoidType>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
994 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
995 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
996 "pthread_equal",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
997 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
998 [ArgSpec<PThreadTType>, ArgSpec<PThreadTType>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
999 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1000 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1001 "pthread_mutexattr_init",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1002 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1003 [ArgSpec<PThreadMutexAttrTPtr>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1004 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1005 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1006 "pthread_mutexattr_destroy",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1007 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1008 [ArgSpec<PThreadMutexAttrTPtr>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1009 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1010 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1011 "pthread_mutexattr_gettype",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1012 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1013 [ArgSpec<ConstRestrictedPThreadMutexAttrTPtr>, ArgSpec<RestrictedIntPtr>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1014 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1015 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1016 "pthread_mutexattr_settype",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1017 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1018 [ArgSpec<RestrictedPThreadMutexAttrTPtr>, ArgSpec<IntType>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1019 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1020 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1021 "pthread_mutexattr_getrobust",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1022 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1023 [ArgSpec<ConstRestrictedPThreadMutexAttrTPtr>, ArgSpec<RestrictedIntPtr>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1024 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1025 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1026 "pthread_mutexattr_setrobust",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1027 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1028 [ArgSpec<RestrictedPThreadMutexAttrTPtr>, ArgSpec<IntType>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1029 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1030 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1031 "pthread_mutexattr_getpshared",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1032 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1033 [ArgSpec<ConstRestrictedPThreadMutexAttrTPtr>, ArgSpec<RestrictedIntPtr>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1034 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1035 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1036 "pthread_mutexattr_setpshared",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1037 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1038 [ArgSpec<RestrictedPThreadMutexAttrTPtr>, ArgSpec<IntType>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1039 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1040 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1041 "pthread_mutexattr_getprotocol",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1042 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1043 [ArgSpec<ConstRestrictedPThreadMutexAttrTPtr>, ArgSpec<RestrictedIntPtr>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1044 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1045 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1046 "pthread_mutexattr_setprotocol",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1047 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1048 [ArgSpec<RestrictedPThreadMutexAttrTPtr>, ArgSpec<IntType>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1049 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1050 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1051 "pthread_mutexattr_getprioceiling",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1052 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1053 [ArgSpec<ConstRestrictedPThreadMutexAttrTPtr>, ArgSpec<RestrictedIntPtr>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1054 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1055 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1056 "pthread_mutexattr_setprioceiling",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1057 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1058 [ArgSpec<RestrictedPThreadMutexAttrTPtr>, ArgSpec<IntType>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1059 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1060 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1061 "pthread_mutex_init",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1062 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1063 [ArgSpec<RestrictedPThreadMutexTPtr>, ArgSpec<ConstRestrictedPThreadMutexAttrTPtr>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1064 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1065 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1066 "pthread_mutex_destroy",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1067 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1068 [ArgSpec<PThreadMutexTPtr>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1069 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1070 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1071 "pthread_mutex_lock",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1072 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1073 [ArgSpec<PThreadMutexTPtr>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1074 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1075 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1076 "pthread_mutex_unlock",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1077 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1078 [ArgSpec<PThreadMutexTPtr>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1079 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1080 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1081 "pthread_key_create",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1082 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1083 [ArgSpec<PThreadKeyTPtr>, ArgSpec<PThreadTSSDtorT>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1084 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1085 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1086 "pthread_key_delete",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1087 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1088 [ArgSpec<PThreadKeyT>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1089 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1090 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1091 "pthread_getspecific",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1092 RetValSpec<VoidPtr>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1093 [ArgSpec<PThreadKeyT>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1094 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1095 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1096 "pthread_setspecific",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1097 RetValSpec<VoidPtr>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1098 [ArgSpec<PThreadKeyT>, ArgSpec<ConstVoidPtr>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1099 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1100 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1101 "pthread_once",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1102 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1103 [ArgSpec<PThreadOnceTPtr>, ArgSpec<PThreadOnceCallback>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1104 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1105 ]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1106 >;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1107
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1108 HeaderSpec StdIO = HeaderSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1109 "stdio.h",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1110 [], // Macros
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1111 [], // Types
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1112 [], // Enumerations
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1113 [
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1114 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1115 "flockfile",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1116 RetValSpec<VoidType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1117 [ArgSpec<FILEPtr>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1118 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1119 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1120 "funlockfile",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1121 RetValSpec<VoidType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1122 [ArgSpec<FILEPtr>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1123 >,
252
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
1124 FunctionSpec<
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
1125 "getc_unlocked",
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
1126 RetValSpec<IntType>,
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
1127 [ArgSpec<FILEPtr>]
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
1128 >,
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
1129 FunctionSpec<
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
1130 "getchar_unlocked",
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
1131 RetValSpec<IntType>,
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
1132 [ArgSpec<VoidType>]
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
1133 >,
236
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1134 ]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1135 >;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1136
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1137 HeaderSpec Dirent = HeaderSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1138 "dirent.h",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1139 [], // Macros
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1140 [InoT, StructDirent, DIR], // Types
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1141 [], // Enumerations
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1142 [
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1143 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1144 "alphasort",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1145 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1146 [ArgSpec<ConstStructDirentPtrPtr>, ArgSpec<ConstStructDirentPtrPtr>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1147 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1148 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1149 "closedir",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1150 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1151 [ArgSpec<DIRPtr>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1152 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1153 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1154 "dirfd",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1155 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1156 [ArgSpec<DIRPtr>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1157 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1158 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1159 "fdopendir",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1160 RetValSpec<DIRPtr>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1161 [ArgSpec<IntType>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1162 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1163 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1164 "opendir",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1165 RetValSpec<DIRPtr>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1166 [ArgSpec<ConstCharPtr>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1167 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1168 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1169 "readdir",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1170 RetValSpec<StructDirentPtr>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1171 [ArgSpec<DIRPtr>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1172 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1173 ]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1174 >;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1175
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1176 HeaderSpec Time = HeaderSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1177 "time.h",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1178 [], // Macros
252
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
1179 [ClockIdT, StructTimeSpec, StructTimevalType], // Types
236
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1180 [], // Enumerations
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1181 [
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1182 FunctionSpec<
252
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
1183 "clock_gettime",
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
1184 RetValSpec<IntType>,
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
1185 [ArgSpec<ClockIdT>, ArgSpec<StructTimeSpecPtr>]
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
1186 >,
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
1187 FunctionSpec<
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
1188 "gettimeofday",
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
1189 RetValSpec<IntType>,
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
1190 [ArgSpec<StructTimevalPtr>, ArgSpec<VoidPtr>]
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
1191 >,
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
1192 FunctionSpec<
236
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1193 "nanosleep",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1194 RetValSpec<IntType>,
252
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
1195 [ArgSpec<StructTimeSpecPtr>, ArgSpec<StructTimeSpecPtr>]
236
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1196 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1197 ]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1198 >;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1199
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1200 HeaderSpec SysWait = HeaderSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1201 "sys/wait.h",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1202 [], // Macros
252
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
1203 [PidT, StructRUsage, SigInfoType],
236
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1204 [], // Enumerations
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1205 [
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1206 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1207 "wait",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1208 RetValSpec<PidT>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1209 [ArgSpec<IntPtr>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1210 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1211 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1212 "waitpid",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1213 RetValSpec<PidT>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1214 [ArgSpec<PidT>, ArgSpec<IntPtr>, ArgSpec<IntType>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1215 >
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1216 ]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1217 >;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1218
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1219 HeaderSpec SysIOctl = HeaderSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1220 "sys/ioctl.h",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1221 [
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1222 Macro<"TIOCGETD">,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1223 ], // Macros
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1224 [], // Types
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1225 [], // Enumerations
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1226 [] // Functions
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1227 >;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1228
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1229 HeaderSpec Spawn = HeaderSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1230 "spawn.h",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1231 [], // Macros
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1232 [ModeTType, PosixSpawnAttrT, PidT, PosixSpawnFileActionsT],
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1233 [], // Enumerations
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1234 [
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1235 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1236 "posix_spawn_file_actions_addclose",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1237 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1238 [ArgSpec<PosixSpawnFileActionsTPtr>, ArgSpec<IntType>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1239 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1240 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1241 "posix_spawn_file_actions_adddup2",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1242 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1243 [ArgSpec<PosixSpawnFileActionsTPtr>, ArgSpec<IntType>, ArgSpec<IntType>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1244 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1245 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1246 "posix_spawn_file_actions_addopen",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1247 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1248 [ArgSpec<PosixSpawnFileActionsTRestrictedPtr>, ArgSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1249 ArgSpec<ConstCharRestrictedPtr>, ArgSpec<IntType>, ArgSpec<ModeTType>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1250 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1251 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1252 "posix_spawn_file_actions_destroy",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1253 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1254 [ArgSpec<PosixSpawnFileActionsTPtr>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1255 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1256 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1257 "posix_spawn_file_actions_init",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1258 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1259 [ArgSpec<PosixSpawnFileActionsTPtr>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1260 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1261 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1262 "posix_spawn",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1263 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1264 [ArgSpec<RestrictedPidTPtr>, ArgSpec<ConstCharRestrictedPtr>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1265 ArgSpec<PosixSpawnFileActionsTPtr>, ArgSpec<RestrictedPosixSpawnAttrTPtrType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1266 ArgSpec<ConstCharRestrictedPtrPtr>, ArgSpec<ConstCharRestrictedPtrPtr>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1267 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1268 ]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1269 >;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1270
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1271 HeaderSpec Termios = HeaderSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1272 "termios.h",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1273 [
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1274 Macro<"NCCS">,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1275 ],
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1276 [CcT, PidT, SpeedT, StructTermios, TcFlagT], // Types
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1277 [], // Enumerations
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1278 [
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1279 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1280 "cfgetispeed",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1281 RetValSpec<SpeedT>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1282 [ArgSpec<ConstStructTermiosPtr>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1283 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1284 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1285 "cfgetospeed",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1286 RetValSpec<SpeedT>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1287 [ArgSpec<ConstStructTermiosPtr>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1288 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1289 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1290 "cfsetispeed",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1291 RetValSpec<SpeedT>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1292 [ArgSpec<StructTermiosPtr>, ArgSpec<SpeedT>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1293 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1294 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1295 "cfsetospeed",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1296 RetValSpec<SpeedT>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1297 [ArgSpec<StructTermiosPtr>, ArgSpec<SpeedT>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1298 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1299 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1300 "tcdrain",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1301 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1302 [ArgSpec<IntType>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1303 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1304 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1305 "tcflow",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1306 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1307 [ArgSpec<IntType>, ArgSpec<IntType>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1308 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1309 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1310 "tcflush",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1311 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1312 [ArgSpec<IntType>, ArgSpec<IntType>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1313 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1314 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1315 "tcgetattr",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1316 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1317 [ArgSpec<IntType>, ArgSpec<StructTermiosPtr>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1318 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1319 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1320 "tcgetsid",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1321 RetValSpec<PidT>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1322 [ArgSpec<IntType>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1323 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1324 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1325 "tcsendbreak",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1326 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1327 [ArgSpec<IntType>, ArgSpec<IntType>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1328 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1329 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1330 "tcsetattr",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1331 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1332 [ArgSpec<IntType>, ArgSpec<IntType>, ArgSpec<StructTermiosPtr>]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1333 >,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1334 ]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1335 >;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1336
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1337 HeaderSpec SysSelect = HeaderSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1338 "sys/select.h",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1339 [], // Macros
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1340 [FdSet, SigSetType, StructTimevalType, StructTimeSpec, SuSecondsT, TimeTType],
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1341 [], // Enumerations
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1342 [
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1343 FunctionSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1344 "select",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1345 RetValSpec<IntType>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1346 [
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1347 ArgSpec<IntType>, ArgSpec<RestrictedFdSetPtr>, ArgSpec<RestrictedFdSetPtr>,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1348 ArgSpec<RestrictedFdSetPtr>, ArgSpec<RestrictedStructTimevalPtr>
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1349 ]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1350 >
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1351 ]
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1352 >;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1353
252
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
1354 HeaderSpec SysSocket = HeaderSpec<
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
1355 "sys/socket.h",
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
1356 [
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
1357 Macro<"AF_UNSPEC">,
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
1358 Macro<"AF_UNIX">,
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
1359 Macro<"AF_LOCAL">,
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
1360 Macro<"AF_INET">,
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
1361 Macro<"AF_INET6">,
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
1362 Macro<"SOCK_STREAM">,
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
1363 Macro<"SOCK_DGRAM">,
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
1364 Macro<"SOCK_RAW">,
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
1365 Macro<"SOCK_RDM">,
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
1366 Macro<"SOCK_SEQPACKET">,
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
1367 Macro<"SOCK_PACKET">,
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
1368 ], // Macros
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
1369 [
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
1370 StructSockAddr, SAFamilyType,
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
1371 ], // Types
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
1372 [], // Enumerations
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
1373 [
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
1374 FunctionSpec<
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
1375 "socket",
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
1376 RetValSpec<IntType>,
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
1377 [ArgSpec<IntType>, ArgSpec<IntType>, ArgSpec<IntType>]
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
1378 >,
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
1379 ] // Functions
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
1380 >;
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
1381
236
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1382 HeaderSpec SysTypes = HeaderSpec<
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1383 "sys/types.h",
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1384 [], // Macros
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1385 [BlkCntT, BlkSizeT, ClockIdT, DevT, GidT, InoT, ModeTType, NLinkT, OffTType, PidT,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1386 PThreadAttrTType, PThreadKeyT, PThreadMutexTType, PThreadMutexAttrTType, PThreadOnceT, PThreadTType,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1387 SizeTType, SSizeTType, SuSecondsT, TimeTType, UidT],
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1388 [], // Enumerations
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1389 [] // Functions
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1390 >;
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1391
150
anatofuz
parents:
diff changeset
1392 let Headers = [
252
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
1393 ArpaInet,
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1394 CType,
236
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1395 Dirent,
150
anatofuz
parents:
diff changeset
1396 Errno,
236
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1397 FCntl,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1398 PThread,
252
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
1399 Sched,
236
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1400 Signal,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1401 Spawn,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1402 StdIO,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1403 StdLib,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1404 SysIOctl,
150
anatofuz
parents:
diff changeset
1405 SysMMan,
236
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1406 SysResource,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1407 SysSelect,
252
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
1408 SysSocket,
236
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1409 SysStat,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1410 SysTypes,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1411 SysUtsName,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1412 SysWait,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1413 Time,
c4bab56944e8 LLVM 16
kono
parents: 221
diff changeset
1414 Termios,
173
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
1415 UniStd,
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1416 String
150
anatofuz
parents:
diff changeset
1417 ];
anatofuz
parents:
diff changeset
1418 }