configure: add --enable-psi-maintainer-mode
[m6w6/ext-psi] / m4 / posix / unistd.m4
1 PSI_CHECK_UNISTD() {
2 PSI_CONST(F_LOCK, int)
3 PSI_CONST(F_TEST, int)
4 PSI_CONST(F_TLOCK, int)
5 PSI_CONST(F_ULOCK, int)
6 PSI_CONST(F_OK, int)
7 PSI_CONST(R_OK, int)
8 PSI_CONST(W_OK, int)
9 PSI_CONST(X_OK, int)
10 PSI_CONST(STDERR_FILENO, int)
11 PSI_CONST(STDIN_FILENO, int)
12 PSI_CONST(STDOUT_FILENO, int)
13 PSI_CONST(_CS_PATH, int)
14 PSI_CONST(_CS_POSIX_V6_ILP32_OFF32_CFLAGS, int)
15 PSI_CONST(_CS_POSIX_V6_ILP32_OFF32_LDFLAGS, int)
16 PSI_CONST(_CS_POSIX_V6_ILP32_OFF32_LIBS, int)
17 PSI_CONST(_CS_POSIX_V6_ILP32_OFFBIG_CFLAGS, int)
18 PSI_CONST(_CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS, int)
19 PSI_CONST(_CS_POSIX_V6_ILP32_OFFBIG_LIBS, int)
20 PSI_CONST(_CS_POSIX_V6_LP64_OFF64_CFLAGS, int)
21 PSI_CONST(_CS_POSIX_V6_LP64_OFF64_LDFLAGS, int)
22 PSI_CONST(_CS_POSIX_V6_LP64_OFF64_LIBS, int)
23 PSI_CONST(_CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS, int)
24 PSI_CONST(_CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS, int)
25 PSI_CONST(_CS_POSIX_V6_LPBIG_OFFBIG_LIBS, int)
26 PSI_CONST(_CS_POSIX_V6_WIDTH_RESTRICTED_ENVS, int)
27 PSI_CONST(_CS_POSIX_V7_ILP32_OFF32_CFLAGS, int)
28 PSI_CONST(_CS_POSIX_V7_ILP32_OFF32_LDFLAGS, int)
29 PSI_CONST(_CS_POSIX_V7_ILP32_OFF32_LIBS, int)
30 PSI_CONST(_CS_POSIX_V7_ILP32_OFFBIG_CFLAGS, int)
31 PSI_CONST(_CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS, int)
32 PSI_CONST(_CS_POSIX_V7_ILP32_OFFBIG_LIBS, int)
33 PSI_CONST(_CS_POSIX_V7_LP64_OFF64_CFLAGS, int)
34 PSI_CONST(_CS_POSIX_V7_LP64_OFF64_LDFLAGS, int)
35 PSI_CONST(_CS_POSIX_V7_LP64_OFF64_LIBS, int)
36 PSI_CONST(_CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS, int)
37 PSI_CONST(_CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS, int)
38 PSI_CONST(_CS_POSIX_V7_LPBIG_OFFBIG_LIBS, int)
39 PSI_CONST(_CS_POSIX_V7_THREADS_CFLAGS, int)
40 PSI_CONST(_CS_POSIX_V7_THREADS_LDFLAGS, int)
41 PSI_CONST(_CS_POSIX_V7_WIDTH_RESTRICTED_ENVS, int)
42 PSI_CONST(_CS_V6_ENV, int)
43 PSI_CONST(_CS_V7_ENV, int)
44 PSI_CONST(_PC_2_SYMLINKS, int)
45 PSI_CONST(_PC_ALLOC_SIZE_MIN, int)
46 PSI_CONST(_PC_ASYNC_IO, int)
47 PSI_CONST(_PC_CHOWN_RESTRICTED, int)
48 PSI_CONST(_PC_FILESIZEBITS, int)
49 PSI_CONST(_PC_LINK_MAX, int)
50 PSI_CONST(_PC_MAX_CANON, int)
51 PSI_CONST(_PC_MAX_INPUT, int)
52 PSI_CONST(_PC_NAME_MAX, int)
53 PSI_CONST(_PC_NO_TRUNC, int)
54 PSI_CONST(_PC_PATH_MAX, int)
55 PSI_CONST(_PC_PIPE_BUF, int)
56 PSI_CONST(_PC_PRIO_IO, int)
57 PSI_CONST(_PC_REC_INCR_XFER_SIZE, int)
58 PSI_CONST(_PC_REC_MAX_XFER_SIZE, int)
59 PSI_CONST(_PC_REC_MIN_XFER_SIZE, int)
60 PSI_CONST(_PC_REC_XFER_ALIGN, int)
61 PSI_CONST(_PC_SYMLINK_MAX, int)
62 PSI_CONST(_PC_SYNC_IO, int)
63 PSI_CONST(_PC_TIMESTAMP_RESOLUTION, int)
64 PSI_CONST(_PC_VDISABLE, int)
65 PSI_CONST(_POSIX2_CHAR_TERM, int)
66 PSI_CONST(_POSIX2_C_BIND, int)
67 PSI_CONST(_POSIX2_C_DEV, int)
68 PSI_CONST(_POSIX2_FORT_DEV, int)
69 PSI_CONST(_POSIX2_FORT_RUN, int)
70 PSI_CONST(_POSIX2_LOCALEDEF, int)
71 PSI_CONST(_POSIX2_PBS, int)
72 PSI_CONST(_POSIX2_PBS_ACCOUNTING, int)
73 PSI_CONST(_POSIX2_PBS_CHECKPOINT, int)
74 PSI_CONST(_POSIX2_PBS_LOCATE, int)
75 PSI_CONST(_POSIX2_PBS_MESSAGE, int)
76 PSI_CONST(_POSIX2_PBS_TRACK, int)
77 PSI_CONST(_POSIX2_SW_DEV, int)
78 PSI_CONST(_POSIX2_SYMLINKS, int)
79 PSI_CONST(_POSIX2_UPE, int)
80 PSI_CONST(_POSIX2_VERSION, int)
81 PSI_CONST(_POSIX_ADVISORY_INFO, int)
82 PSI_CONST(_POSIX_ASYNCHRONOUS_IO, int)
83 PSI_CONST(_POSIX_ASYNC_IO, int)
84 PSI_CONST(_POSIX_BARRIERS, int)
85 PSI_CONST(_POSIX_CHOWN_RESTRICTED, int)
86 PSI_CONST(_POSIX_CLOCK_SELECTION, int)
87 PSI_CONST(_POSIX_CPUTIME, int)
88 PSI_CONST(_POSIX_FSYNC, int)
89 PSI_CONST(_POSIX_IPV6, int)
90 PSI_CONST(_POSIX_JOB_CONTROL, int)
91 PSI_CONST(_POSIX_MAPPED_FILES, int)
92 PSI_CONST(_POSIX_MEMLOCK, int)
93 PSI_CONST(_POSIX_MEMLOCK_RANGE, int)
94 PSI_CONST(_POSIX_MEMORY_PROTECTION, int)
95 PSI_CONST(_POSIX_MESSAGE_PASSING, int)
96 PSI_CONST(_POSIX_MONOTONIC_CLOCK, int)
97 PSI_CONST(_POSIX_NO_TRUNC, int)
98 PSI_CONST(_POSIX_PRIORITIZED_IO, int)
99 PSI_CONST(_POSIX_PRIORITY_SCHEDULING, int)
100 PSI_CONST(_POSIX_PRIO_IO, int)
101 PSI_CONST(_POSIX_RAW_SOCKETS, int)
102 PSI_CONST(_POSIX_READER_WRITER_LOCKS, int)
103 PSI_CONST(_POSIX_REALTIME_SIGNALS, int)
104 PSI_CONST(_POSIX_REGEXP, int)
105 PSI_CONST(_POSIX_SAVED_IDS, int)
106 PSI_CONST(_POSIX_SEMAPHORES, int)
107 PSI_CONST(_POSIX_SHARED_MEMORY_OBJECTS, int)
108 PSI_CONST(_POSIX_SHELL, int)
109 PSI_CONST(_POSIX_SPAWN, int)
110 PSI_CONST(_POSIX_SPIN_LOCKS, int)
111 PSI_CONST(_POSIX_SPORADIC_SERVER, int)
112 PSI_CONST(_POSIX_SYNCHRONIZED_IO, int)
113 PSI_CONST(_POSIX_SYNC_IO, int)
114 PSI_CONST(_POSIX_THREADS, int)
115 PSI_CONST(_POSIX_THREAD_ATTR_STACKADDR, int)
116 PSI_CONST(_POSIX_THREAD_ATTR_STACKSIZE, int)
117 PSI_CONST(_POSIX_THREAD_CPUTIME, int)
118 PSI_CONST(_POSIX_THREAD_PRIORITY_SCHEDULING, int)
119 PSI_CONST(_POSIX_THREAD_PRIO_INHERIT, int)
120 PSI_CONST(_POSIX_THREAD_PRIO_PROTECT, int)
121 PSI_CONST(_POSIX_THREAD_PROCESS_SHARED, int)
122 PSI_CONST(_POSIX_THREAD_ROBUST_PRIO_INHERIT, int)
123 PSI_CONST(_POSIX_THREAD_ROBUST_PRIO_PROTECT, int)
124 PSI_CONST(_POSIX_THREAD_SAFE_FUNCTIONS, int)
125 PSI_CONST(_POSIX_THREAD_SPORADIC_SERVER, int)
126 PSI_CONST(_POSIX_TIMEOUTS, int)
127 PSI_CONST(_POSIX_TIMERS, int)
128 PSI_CONST(_POSIX_TIMESTAMP_RESOLUTION, int)
129 PSI_CONST(_POSIX_TRACE, int)
130 PSI_CONST(_POSIX_TRACE_EVENT_FILTER, int)
131 PSI_CONST(_POSIX_TRACE_INHERIT, int)
132 PSI_CONST(_POSIX_TRACE_LOG, int)
133 PSI_CONST(_POSIX_TYPED_MEMORY_OBJECTS, int)
134 PSI_CONST(_POSIX_V6_ILP32_OFF32, int)
135 PSI_CONST(_POSIX_V6_ILP32_OFFBIG, int)
136 PSI_CONST(_POSIX_V6_LP64_OFF64, int)
137 PSI_CONST(_POSIX_V6_LPBIG_OFFBIG, int)
138 PSI_CONST(_POSIX_V7_ILP32_OFF32, int)
139 PSI_CONST(_POSIX_V7_ILP32_OFFBIG, int)
140 PSI_CONST(_POSIX_V7_LP64_OFF64, int)
141 PSI_CONST(_POSIX_V7_LPBIG_OFFBIG, int)
142 PSI_CONST(_POSIX_VDISABLE, int)
143 PSI_CONST(_POSIX_VERSION, int)
144 PSI_CONST(_SC_2_CHAR_TERM, int)
145 PSI_CONST(_SC_2_C_BIND, int)
146 PSI_CONST(_SC_2_C_DEV, int)
147 PSI_CONST(_SC_2_FORT_DEV, int)
148 PSI_CONST(_SC_2_FORT_RUN, int)
149 PSI_CONST(_SC_2_LOCALEDEF, int)
150 PSI_CONST(_SC_2_PBS, int)
151 PSI_CONST(_SC_2_PBS_ACCOUNTING, int)
152 PSI_CONST(_SC_2_PBS_CHECKPOINT, int)
153 PSI_CONST(_SC_2_PBS_LOCATE, int)
154 PSI_CONST(_SC_2_PBS_MESSAGE, int)
155 PSI_CONST(_SC_2_PBS_TRACK, int)
156 PSI_CONST(_SC_2_SW_DEV, int)
157 PSI_CONST(_SC_2_UPE, int)
158 PSI_CONST(_SC_2_VERSION, int)
159 PSI_CONST(_SC_ADVISORY_INFO, int)
160 PSI_CONST(_SC_AIO_LISTIO_MAX, int)
161 PSI_CONST(_SC_AIO_MAX, int)
162 PSI_CONST(_SC_AIO_PRIO_DELTA_MAX, int)
163 PSI_CONST(_SC_ARG_MAX, int)
164 PSI_CONST(_SC_ASYNCHRONOUS_IO, int)
165 PSI_CONST(_SC_ATEXIT_MAX, int)
166 PSI_CONST(_SC_BARRIERS, int)
167 PSI_CONST(_SC_BC_BASE_MAX, int)
168 PSI_CONST(_SC_BC_DIM_MAX, int)
169 PSI_CONST(_SC_BC_SCALE_MAX, int)
170 PSI_CONST(_SC_BC_STRING_MAX, int)
171 PSI_CONST(_SC_CHILD_MAX, int)
172 PSI_CONST(_SC_CLK_TCK, int)
173 PSI_CONST(_SC_CLOCK_SELECTION, int)
174 PSI_CONST(_SC_COLL_WEIGHTS_MAX, int)
175 PSI_CONST(_SC_CPUTIME, int)
176 PSI_CONST(_SC_DELAYTIMER_MAX, int)
177 PSI_CONST(_SC_EXPR_NEST_MAX, int)
178 PSI_CONST(_SC_FSYNC, int)
179 PSI_CONST(_SC_GETGR_R_SIZE_MAX, int)
180 PSI_CONST(_SC_GETPW_R_SIZE_MAX, int)
181 PSI_CONST(_SC_HOST_NAME_MAX, int)
182 PSI_CONST(_SC_IOV_MAX, int)
183 PSI_CONST(_SC_IPV6, int)
184 PSI_CONST(_SC_JOB_CONTROL, int)
185 PSI_CONST(_SC_LINE_MAX, int)
186 PSI_CONST(_SC_LOGIN_NAME_MAX, int)
187 PSI_CONST(_SC_MAPPED_FILES, int)
188 PSI_CONST(_SC_MEMLOCK, int)
189 PSI_CONST(_SC_MEMLOCK_RANGE, int)
190 PSI_CONST(_SC_MEMORY_PROTECTION, int)
191 PSI_CONST(_SC_MESSAGE_PASSING, int)
192 PSI_CONST(_SC_MONOTONIC_CLOCK, int)
193 PSI_CONST(_SC_MQ_OPEN_MAX, int)
194 PSI_CONST(_SC_MQ_PRIO_MAX, int)
195 PSI_CONST(_SC_NGROUPS_MAX, int)
196 PSI_CONST(_SC_OPEN_MAX, int)
197 PSI_CONST(_SC_PAGESIZE, int)
198 PSI_CONST(_SC_PAGE_SIZE, int)
199 PSI_CONST(_SC_PRIORITIZED_IO, int)
200 PSI_CONST(_SC_PRIORITY_SCHEDULING, int)
201 PSI_CONST(_SC_RAW_SOCKETS, int)
202 PSI_CONST(_SC_READER_WRITER_LOCKS, int)
203 PSI_CONST(_SC_REALTIME_SIGNALS, int)
204 PSI_CONST(_SC_REGEXP, int)
205 PSI_CONST(_SC_RE_DUP_MAX, int)
206 PSI_CONST(_SC_RTSIG_MAX, int)
207 PSI_CONST(_SC_SAVED_IDS, int)
208 PSI_CONST(_SC_SEMAPHORES, int)
209 PSI_CONST(_SC_SEM_NSEMS_MAX, int)
210 PSI_CONST(_SC_SEM_VALUE_MAX, int)
211 PSI_CONST(_SC_SHARED_MEMORY_OBJECTS, int)
212 PSI_CONST(_SC_SHELL, int)
213 PSI_CONST(_SC_SIGQUEUE_MAX, int)
214 PSI_CONST(_SC_SPAWN, int)
215 PSI_CONST(_SC_SPIN_LOCKS, int)
216 PSI_CONST(_SC_SPORADIC_SERVER, int)
217 PSI_CONST(_SC_SS_REPL_MAX, int)
218 PSI_CONST(_SC_STREAM_MAX, int)
219 PSI_CONST(_SC_SYMLOOP_MAX, int)
220 PSI_CONST(_SC_SYNCHRONIZED_IO, int)
221 PSI_CONST(_SC_THREADS, int)
222 PSI_CONST(_SC_THREAD_ATTR_STACKADDR, int)
223 PSI_CONST(_SC_THREAD_ATTR_STACKSIZE, int)
224 PSI_CONST(_SC_THREAD_CPUTIME, int)
225 PSI_CONST(_SC_THREAD_DESTRUCTOR_ITERATIONS, int)
226 PSI_CONST(_SC_THREAD_KEYS_MAX, int)
227 PSI_CONST(_SC_THREAD_PRIORITY_SCHEDULING, int)
228 PSI_CONST(_SC_THREAD_PRIO_INHERIT, int)
229 PSI_CONST(_SC_THREAD_PRIO_PROTECT, int)
230 PSI_CONST(_SC_THREAD_PROCESS_SHARED, int)
231 PSI_CONST(_SC_THREAD_ROBUST_PRIO_INHERIT, int)
232 PSI_CONST(_SC_THREAD_ROBUST_PRIO_PROTECT, int)
233 PSI_CONST(_SC_THREAD_SAFE_FUNCTIONS, int)
234 PSI_CONST(_SC_THREAD_SPORADIC_SERVER, int)
235 PSI_CONST(_SC_THREAD_STACK_MIN, int)
236 PSI_CONST(_SC_THREAD_THREADS_MAX, int)
237 PSI_CONST(_SC_TIMEOUTS, int)
238 PSI_CONST(_SC_TIMERS, int)
239 PSI_CONST(_SC_TIMER_MAX, int)
240 PSI_CONST(_SC_TRACE, int)
241 PSI_CONST(_SC_TRACE_EVENT_FILTER, int)
242 PSI_CONST(_SC_TRACE_EVENT_NAME_MAX, int)
243 PSI_CONST(_SC_TRACE_INHERIT, int)
244 PSI_CONST(_SC_TRACE_LOG, int)
245 PSI_CONST(_SC_TRACE_NAME_MAX, int)
246 PSI_CONST(_SC_TRACE_SYS_MAX, int)
247 PSI_CONST(_SC_TRACE_USER_EVENT_MAX, int)
248 PSI_CONST(_SC_TTY_NAME_MAX, int)
249 PSI_CONST(_SC_TYPED_MEMORY_OBJECTS, int)
250 PSI_CONST(_SC_TZNAME_MAX, int)
251 PSI_CONST(_SC_V6_ILP32_OFF32, int)
252 PSI_CONST(_SC_V6_ILP32_OFFBIG, int)
253 PSI_CONST(_SC_V6_LP64_OFF64, int)
254 PSI_CONST(_SC_V6_LPBIG_OFFBIG, int)
255 PSI_CONST(_SC_V7_ILP32_OFF32, int)
256 PSI_CONST(_SC_V7_ILP32_OFFBIG, int)
257 PSI_CONST(_SC_V7_LP64_OFF64, int)
258 PSI_CONST(_SC_V7_LPBIG_OFFBIG, int)
259 PSI_CONST(_SC_VERSION, int)
260 PSI_CONST(_SC_XOPEN_CRYPT, int)
261 PSI_CONST(_SC_XOPEN_ENH_I18N, int)
262 PSI_CONST(_SC_XOPEN_REALTIME, int)
263 PSI_CONST(_SC_XOPEN_REALTIME_THREADS, int)
264 PSI_CONST(_SC_XOPEN_SHM, int)
265 PSI_CONST(_SC_XOPEN_STREAMS, int)
266 PSI_CONST(_SC_XOPEN_UNIX, int)
267 PSI_CONST(_SC_XOPEN_UUCP, int)
268 PSI_CONST(_SC_XOPEN_VERSION, int)
269 PSI_CONST(_XOPEN_CRYPT, int)
270 PSI_CONST(_XOPEN_ENH_I18N, int)
271 PSI_CONST(_XOPEN_REALTIME, int)
272 PSI_CONST(_XOPEN_REALTIME_THREADS, int)
273 PSI_CONST(_XOPEN_SHM, int)
274 PSI_CONST(_XOPEN_STREAMS, int)
275 PSI_CONST(_XOPEN_UNIX, int)
276 PSI_CONST(_XOPEN_UUCP, int)
277 PSI_CONST(_XOPEN_VERSION, int)
278
279 PSI_EXTVAR(char *optarg)
280 PSI_EXTVAR(int opterr)
281 PSI_EXTVAR(int optind)
282 PSI_EXTVAR(int optopt)
283 PSI_EXTVAR(int optreset)
284
285 PSI_DECL(int access, [(const char *path, int amode)])
286 PSI_DECL(unsigned alarm, [(unsigned seconds)])
287 PSI_DECL(int chdir, [(const char *path)])
288 PSI_DECL(int chown, [(const char *path, uid_t owner, gid_t group)])
289 PSI_DECL(int close, [(int fildes)])
290 PSI_DECL(size_t confstr, [(int name, char *buf, size_t len)])
291 PSI_DECL(char *crypt, [(const char *key, const char *salt)], [], [-lcrypt])
292 PSI_DECL(int dup, [(int fildes)])
293 PSI_DECL(int dup2, [(int fildes, int fildes2)])
294 PSI_DECL(void encrypt, [(char block@<:@64@:>@, int edflag)], [], [-lcrypt])
295 PSI_DECL(void _exit, [(int status)])
296 PSI_DECL(int execl, [(const char *path, const char *arg)], vararg)
297 PSI_DECL(int execle, [(const char *path, const char *arg)], vararg)
298 PSI_DECL(int execlp, [(const char *file, const char *arg)], vararg)
299 PSI_DECL(int execv, [(const char *path, char **argv)])
300 PSI_DECL(int execve, [(const char *path, char **argv, char **envp)])
301 PSI_DECL(int execvp, [(const char *file, char **argv)])
302 PSI_DECL(int faccessat, [(int fd, const char *path, int amode, int flag)])
303 PSI_DECL(int fchdir, [(int fildes)])
304 PSI_DECL(int fchown, [(int fildes, uid_t owner, gid_t group)])
305 PSI_DECL(int fchownat, [(int fd, const char *path, uid_t owner, gid_t group, int flag)])
306 PSI_DECL(int fdatasync, [(int fildes)])
307 PSI_DECL(int fexecve, [(int fd, char **argv, char **envp)])
308 PSI_DECL(pid_t fork, [(void)])
309 PSI_DECL(long fpathconf, [(int fd, int name)])
310 PSI_DECL(int fsync, [(int fildes)])
311 PSI_DECL(int ftruncate, [(int fildes, off_t length)])
312 PSI_DECL(char *getcwd, [(char *buf, size_t size)])
313 PSI_DECL(gid_t getegid, [(void)])
314 PSI_DECL(uid_t geteuid, [(void)])
315 PSI_DECL(gid_t getgid, [(void)])
316 PSI_DECL(int getgroups, [(int gidsetsize, gid_t *grouplist)])
317 PSI_DECL(long gethostid, [(void)])
318 PSI_DECL(int gethostname, [(char * name, size_t namelen)])
319 PSI_DECL(char *getlogin, [(void)])
320 PSI_DECL(int getlogin_r, [(char *buf, size_t bufsize)])
321 PSI_DECL(int getopt, [(int argc, char **argv, const char *optstring)])
322 PSI_DECL(pid_t getpgid, [(pid_t pid)])
323 PSI_DECL(pid_t getpgrp, [(void)])
324 PSI_DECL(pid_t getpid, [(void)])
325 PSI_DECL(pid_t getppid, [(void)])
326 PSI_DECL(pid_t getsid, [(pid_t pid)])
327 PSI_DECL(uid_t getuid, [(void)])
328 PSI_DECL(int isatty, [(int fd)])
329 PSI_DECL(int lchown, [(const char *path, uid_t owner, gid_t group)])
330 PSI_DECL(int link, [(const char *path1, const char *path2)])
331 PSI_DECL(int linkat, [(int fd1, const char *path1, int fd2, const char *path2, int flag)])
332 PSI_DECL(int lockf, [(int fd, int cmd, off_t len)])
333 PSI_DECL(off_t lseek, [(int fildes, off_t offset, int whence)])
334 PSI_DECL(int nice, [(int incr)])
335 PSI_DECL(long pathconf, [(const char *path, int name)])
336 PSI_DECL(int pause, [(void)])
337 PSI_DECL(int pipe, [(int fildes@<:@2@:>@)])
338 PSI_DECL(ssize_t pread, [(int fildes, void *buf, size_t nbyte, off_t offset)])
339 PSI_DECL(ssize_t pwrite, [(int fildes, const void *buf, size_t nbyte, off_t offset)])
340 PSI_DECL(ssize_t read, [(int fd, void *buf, size_t count)])
341 PSI_DECL(ssize_t readlink, [(const char *path, char *buf, size_t bufsize)])
342 PSI_DECL(ssize_t readlinkat, [(int fd, const char *path, char *buf, size_t bufsize)])
343 PSI_DECL(int rmdir, [(const char *path)])
344 PSI_DECL(int setegid, [(gid_t gid)])
345 PSI_DECL(int seteuid, [(uid_t uid)])
346 PSI_DECL(int setgid, [(gid_t gid)])
347 PSI_DECL(int setpgid, [(pid_t pid, pid_t pgid)])
348 PSI_DECL(pid_t setpgrp, [(void)])
349 PSI_DECL(int setregid, [(gid_t rgid, gid_t egid)])
350 PSI_DECL(int setreuid, [(uid_t ruid, uid_t euid)])
351 PSI_DECL(pid_t setsid, [(void)])
352 PSI_DECL(int setuid, [(uid_t uid)])
353 PSI_DECL(unsigned sleep, [(unsigned seconds)])
354 PSI_DECL(void swab, [(const void *from, void *to, ssize_t n)])
355 PSI_DECL(int symlink, [(const char *path1, const char *path2)])
356 PSI_DECL(int symlinkat, [(const char *path1, int fd, const char *path2)])
357 PSI_DECL(void sync, [(void)])
358 PSI_DECL(long sysconf, [(int name)])
359 PSI_DECL(pid_t tcgetpgrp, [(int fd)])
360 PSI_DECL(int tcsetpgrp, [(int fd, pid_t pgrp)])
361 PSI_DECL(int truncate, [(const char *path, off_t length)])
362 PSI_DECL(char *ttyname, [(int fd)])
363 PSI_DECL(int ttyname_r, [(int fd, char *buf, size_t buflen)])
364 PSI_DECL(int unlink, [(const char *path)])
365 PSI_DECL(int unlinkat, [(int fd, const char *path, int flag)])
366 PSI_DECL(ssize_t write, [(int fildes, const void *buf, size_t nbyte)])
367
368
369 }