32bit memcmp/strcmp/strncmp optimized for SSSE3/SSS4.2
[glibc.git] / conform / data / unistd.h-data
blob72fbdd62b9655c200424eae0f911bd36d93e1d9d
1 #ifndef ISO
2 optional-constant _POSIX_VERSION
3 optional-constant _POSIX2_C_VERSION
4 optional-constant _XOPEN_VERSION
5 optional-constant _XOPEN_XCU_VERSION
7 optional-constant _POSIX2_C_BIND
8 optional-constant _POSIX2_CHAR_TERM
9 optional-constant _POSIX2_LOCALEDEF
10 optional-constant _POSIX2_UPE
11 optional-constant _POSIX2_VERSION
13 optional-constant _XOPEN_XPG2
14 optional-constant _XOPEN_XPG3
15 optional-constant _XOPEN_XPG4
16 optional-constant _XOPEN_UNIX
18 optional-constant _POSIX_ADVISORY_INFO
19 optional-constant _POSIX_ASYNCHRONOUS_IO
20 optional-constant _POSIX_BARRIERS
21 optional-constant _POSIX_CHOWN_RESTRICTED
22 optional-constant _POSIX_CLOCK_SELECTION
23 optional-constant _POSIX_CPUTIME
24 optional-constant _POSIX_NO_TRUNC
25 optional-constant _POSIX_VDISABLE
26 optional-constant _POSIX_SAVED_IDS
27 optional-constant _POSIX_JOB_CONTROL
28 optional-constant _POSIX_MONOTONIC_CLOCK
29 optional-constant _POSIX_READER_WRITER_LOCKS
30 optional-constant _POSIX_SHELL
31 optional-constant _POSIX_SPAWN
32 optional-constant _POSIX_SPIN_LOCKS
33 optional-constant _POSIX_SPORADIC_SERVER
34 optional-constant _POSIX_THREAD_CPUTIME
35 optional-constant _POSIX_TYPED_MEMORY_OBJECTS
37 optional-constant _POSIX_THREADS
38 optional-constant _POSIX_THREAD_ATTR_STACKADDR
39 optional-constant _POSIX_THREAD_ATTR_STACKSIZE
40 optional-constant _POSIX_THREAD_PROCESS_SHARED
41 optional-constant _POSIX_THREAD_SAFE_FUNCTIONS
42 optional-constant _POSIX_THREAD_SPORADIC_SERVER
44 # ifdef XOPEN2K
45 optional-constant _POSIX_V6_ILP32_OFF32
46 optional-constant _POSIX_V6_ILP32_OFFBIG
47 optional-constant _POSIX_V6_LP64_OFF64
48 optional-constant _POSIX_V6_LPBIG_OFFBIG
49 # endif
50 # if defined XOPEN2K8 || defined POSIX2008
51 optional-constant _POSIX_V7_ILP32_OFF32
52 optional-constant _POSIX_V7_ILP32_OFFBIG
53 optional-constant _POSIX_V7_LP64_OFF64
54 optional-constant _POSIX_V7_LPBIG_OFFBIG
55 # endif
57 optional-constant _POSIX2_C_DEV
58 optional-constant _POSIX2_FORT_DEV
59 optional-constant _POSIX2_FORT_RUN
60 optional-constant _POSIX2_SW_DEV
61 # if !defined POSIX && !defined POSIX2008
62 optional-constant _XOPEN_CRYPT
63 optional-constant _XOPEN_ENH_I18N
64 optional-constant _XOPEN_LEGACY
65 optional-constant _XOPEN_REALTIME
66 optional-constant _XOPEN_REALTIME_THREADS
67 optional-constant _XOPEN_SHM
68 optional-constant _XOPEN_STREAMS
69 # endif
70 allow _XBS5_ILP32_OFF32
71 allow _XBS5_ILP32_OFBIG
72 allow _XBS5_LP64_OFF64
73 allow _XBS5_LPBIG_OFFBIG
74 optional-constant _POSIX_ASYNCHRONOUS_IO
75 optional-constant _POSIX_MEMLOCK
76 optional-constant _POSIX_MEMLOCK_RANGE
77 optional-constant _POSIX_MESSAGE_PASSING
78 optional-constant _POSIX_PRIORITY_SCHEDULING
79 optional-constant _POSIX_REALTIME_SIGNALS
80 optional-constant _POSIX_SEMAPHORES
81 optional-constant _POSIX_SHARED_MEMORY_OBJECTS
82 optional-constant _POSIX_SYNCHRONIZED_IO
83 optional-constant _POSIX_TIMERS
84 optional-constant _POSIX_TIMEOUTS
86 optional-constant _POSIX_FSYNC
87 optional-constant _POSIX_MAPPED_FILES
88 optional-constant _POSIX_MEMORY_PROTECTION
90 optional-constant _POSIX_PRIORITIZED_IO
92 optional-constant _POSIX_THREAD_PRIORITY_SCHEDULING
93 optional-constant _POSIX_THREAD_PRIO_INHERIT
94 optional-constant _POSIX_THREAD_PRIO_PROTECT
96 optional-constant _POSIX_ASYNC_IO
97 optional-constant _POSIX_PRIO_IO
98 optional-constant _POSIX_SYNC_IO
100 optional-constant _POSIX2_PBS
101 optional-constant _POSIX2_PBS_ACCOUNTING
102 optional-constant _POSIX2_PBS_CHECKPOINT
103 optional-constant _POSIX2_PBS_LOCATE
104 optional-constant _POSIX2_PBS_MESSAGE
105 optional-constant _POSIX2_PBS_TRACK
107 optional-constant _POSIX_TIMESTAMP_RESOLUTION
109 constant NULL
111 constant R_OK
112 constant W_OK
113 constant X_OK
114 constant F_OK
116 constant _CS_PATH
117 constant _CS_XBS5_ILP32_OFF32_CFLAGS
118 constant _CS_XBS5_ILP32_OFF32_LDFLAGS
119 constant _CS_XBS5_ILP32_OFF32_LIBS
120 constant _CS_XBS5_ILP32_OFF32_LINTFLAGS
121 constant _CS_XBS5_ILP32_OFFBIG_CFLAGS
122 constant _CS_XBS5_ILP32_OFFBIG_LDFLAGS
123 constant _CS_XBS5_ILP32_OFFBIG_LIBS
124 constant _CS_XBS5_ILP32_OFFBIG_LINTFLAGS
125 constant _CS_XBS5_LP64_OFF64_CFLAGS
126 constant _CS_XBS5_LP64_OFF64_LDFLAGS
127 constant _CS_XBS5_LP64_OFF64_LIBS
128 constant _CS_XBS5_LP64_OFF64_LINTFLAGS
129 constant _CS_XBS5_LPBIG_OFFBIG_CFLAGS
130 constant _CS_XBS5_LPBIG_OFFBIG_LDFLAGS
131 constant _CS_XBS5_LPBIG_OFFBIG_LIBS
132 constant _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS
134 constant SEEK_SET
135 constant SEEK_CUR
136 constant SEEK_END
138 constant _SC_2_C_BIND
139 constant _SC_2_C_DEV
140 constant _SC_2_C_VERSION
141 constant _SC_2_FORT_DEV
142 constant _SC_2_FORT_RUN
143 constant _SC_2_LOCALEDEF
144 constant _SC_2_PBS
145 constant _SC_2_PBS_ACCOUNTING
146 constant _SC_2_PBS_CHECKPOINT
147 constant _SC_2_PBS_LOCATE
148 constant _SC_2_PBS_MESSAGE
149 constant _SC_2_PBS_TRACK
150 constant _SC_2_SW_DEV
151 constant _SC_2_UPE
152 constant _SC_2_VERSION
153 constant _SC_ARG_MAX
154 constant _SC_AIO_LISTIO_MAX
155 constant _SC_AIO_MAX
156 constant _SC_AIO_PRIO_DELTA_MAX
157 constant _SC_ASYNCHRONOUS_IO
158 constant _SC_ATEXIT_MAX
159 constant _SC_BARRIERS
160 constant _SC_BASE
161 constant _SC_BC_BASE_MAX
162 constant _SC_BC_DIM_MAX
163 constant _SC_BC_SCALE_MAX
164 constant _SC_BC_STRING_MAX
165 constant _SC_CHILD_MAX
166 constant _SC_CLK_TCK
167 constant _SC_CLOCK_SELECTION
168 constant _SC_COLL_WEIGHTS_MAX
169 constant _SC_DELAYTIMER_MAX
170 constant _SC_DEVICE_IO
171 constant _SC_DEVICE_SPECIFIC
172 constant _SC_DEVICE_SPECIFIC_R
173 constant _SC_EXPR_NEST_MAX
174 constant _SC_FD_MGMT
175 constant _SC_FIFO
176 constant _SC_FILE_ATTRIBUTES
177 constant _SC_FILE_LOCKING
178 constant _SC_FILE_SYSTEM
179 constant _SC_FSYNC
180 constant _SC_GETGR_R_SIZE_MAX
181 constant _SC_GETPW_R_SIZE_MAX
182 constant _SC_IOV_MAX
183 constant _SC_JOB_CONTROL
184 constant _SC_LINE_MAX
185 constant _SC_LOGIN_NAME_MAX
186 constant _SC_MAPPED_FILES
187 constant _SC_MEMLOCK
188 constant _SC_MEMLOCK_RANGE
189 constant _SC_MEMORY_PROTECTION
190 constant _SC_MESSAGE_PASSING
191 constant _SC_MONOTONIC_CLOCK
192 constant _SC_MQ_OPEN_MAX
193 constant _SC_MQ_PRIO_MAX
194 constant _SC_NETWORKING
195 constant _SC_NGROUPS_MAX
196 constant _SC_OPEN_MAX
197 constant _SC_PAGESIZE
198 constant _SC_PAGE_SIZE
199 constant _SC_PASS_MAX
200 constant _SC_PIPE
201 constant _SC_PRIORITIZED_IO
202 constant _SC_PRIORITY_SCHEDULING
203 constant _SC_RE_DUP_MAX
204 constant _SC_READER_WRITER_LOCKS
205 constant _SC_REALTIME_SIGNALS
206 constant _SC_REGEXP
207 constant _SC_RTSIG_MAX
208 constant _SC_SAVED_IDS
209 constant _SC_SEMAPHORES
210 constant _SC_SEM_NSEMS_MAX
211 constant _SC_SEM_VALUE_MAX
212 constant _SC_SHARED_MEMORY_OBJECTS
213 constant _SC_SHELL
214 constant _SC_SIGNALS
215 constant _SC_SIGQUEUE_MAX
216 constant _SC_SINGLE_PROCESS
217 constant _SC_SPIN_LOCKS
218 constant _SC_STREAM_MAX
219 constant _SC_SYNCHRONIZED_IO
220 constant _SC_THREADS
221 constant _SC_THREAD_ATTR_STACKADDR
222 constant _SC_THREAD_ATTR_STACKSIZE
223 constant _SC_THREAD_DESTRUCTOR_ITERATIONS
224 constant _SC_THREAD_KEYS_MAX
225 constant _SC_THREAD_PRIORITY_SCHEDULING
226 constant _SC_THREAD_PRIO_INHERIT
227 constant _SC_THREAD_PRIO_PROTECT
228 constant _SC_THREAD_PROCESS_SHARED
229 constant _SC_THREAD_SAFE_FUNCTIONS
230 constant _SC_THREAD_STACK_MIN
231 constant _SC_THREAD_THREADS_MAX
232 constant _SC_TIMERS
233 constant _SC_TIMER_MAX
234 constant _SC_TTY_NAME_MAX
235 constant _SC_TYPED_MEMORY_OBJECTS
236 constant _SC_TZNAME_MAX
237 constant _SC_USER_GROUPS
238 constant _SC_USER_GROUPS_R
239 # ifdef XOPEN2K
240 constant _SC_V6_ILP32_OFF32
241 constant _SC_V6_ILP32_OFFBIG
242 constant _SC_V6_LP64_OFF64
243 constant _SC_V6_LPBIG_OFFBIG
244 # endif
245 # if defined XOPEN2K8 || defined POSIX2008
246 constant _SC_V7_ILP32_OFF32
247 constant _SC_V7_ILP32_OFFBIG
248 constant _SC_V7_LP64_OFF64
249 constant _SC_V7_LPBIG_OFFBIG
250 # endif
251 constant _SC_VERSION
252 # if !defined POSIX && !defined POSIX2008
253 constant _SC_XOPEN_VERSION
254 constant _SC_XOPEN_CRYPT
255 constant _SC_XOPEN_ENH_I18N
256 constant _SC_XOPEN_SHM
257 constant _SC_XOPEN_UNIX
258 constant _SC_XOPEN_XCU_VERSION
259 constant _SC_XOPEN_LEGACY
260 constant _SC_XOPEN_REALTIME
261 constant _SC_XOPEN_REALTIME_THREADS
262 # endif
263 constant _SC_STREAMS
264 constant _SC_XBS5_ILP32_OFF32
265 constant _SC_XBS5_ILP32_OFFBIG
266 constant _SC_XBS5_LP64_OFF64
267 constant _SC_XBS5_LPBIG_OFFBIG
268 # ifdef XOPEN2K
269 constant _CS_POSIX_V6_ILP32_OFF32_CFLAGS
270 constant _CS_POSIX_V6_ILP32_OFF32_LDFLAGS
271 constant _CS_POSIX_V6_ILP32_OFF32_LIBS
272 constant _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS
273 constant _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS
274 constant _CS_POSIX_V6_ILP32_OFFBIG_LIBS
275 constant _CS_POSIX_V6_LP64_OFF64_CFLAGS
276 constant _CS_POSIX_V6_LP64_OFF64_LDFLAGS
277 constant _CS_POSIX_V6_LP64_OFF64_LIBS
278 constant _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS
279 constant _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS
280 constant _CS_POSIX_V6_LPBIG_OFFBIG_LIBS
281 constant _CS_POSIX_V6_WIDTH_RESTRICTED_ENVS
282 constant _CS_V6_ENV
283 # endif
284 # if defined XOPEN2K8 || defined POSIX2008
285 constant _CS_POSIX_V7_ILP32_OFF32_CFLAGS
286 constant _CS_POSIX_V7_ILP32_OFF32_LDFLAGS
287 constant _CS_POSIX_V7_ILP32_OFF32_LIBS
288 constant _CS_POSIX_V7_ILP32_OFFBIG_CFLAGS
289 constant _CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS
290 constant _CS_POSIX_V7_ILP32_OFFBIG_LIBS
291 constant _CS_POSIX_V7_LP64_OFF64_CFLAGS
292 constant _CS_POSIX_V7_LP64_OFF64_LDFLAGS
293 constant _CS_POSIX_V7_LP64_OFF64_LIBS
294 constant _CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS
295 constant _CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS
296 constant _CS_POSIX_V7_LPBIG_OFFBIG_LIBS
297 constant _CS_POSIX_V7_WIDTH_RESTRICTED_ENVS
298 constant _CS_V7_ENV
299 # endif
300 constant _SC_THREAD_ROBUST_PRIO_INHERIT
301 constant _SC_THREAD_ROBUST_PRIO_PROTECT
303 #if !defined POSIX && !defined POSIX2008
304 constant F_LOCK
305 constant F_ULOCK
306 constant F_TEST
307 constant F_TLOCK
308 #endif
310 constant _PC_ASYNC_IO
311 constant _PC_CHOWN_RESTRICTED
312 constant _PC_FILESIZEBITS
313 constant _PC_LINK_MAX
314 constant _PC_MAX_CANON
315 constant _PC_MAX_INPUT
316 constant _PC_NAME_MAX
317 constant _PC_NO_TRUNC
318 constant _PC_PATH_MAX
319 constant _PC_PIPE_BUF
320 constant _PC_PRIO_IO
321 constant _PC_REC_INCR_XFER_SIZE
322 constant _PC_REC_MAX_XFER_SIZE
323 constant _PC_REC_MIN_XFER_SIZE
324 constant _PC_REC_XFER_ALIGN
325 constant _PC_SYNC_IO
326 constant _PC_VDISABLE
328 constant STDIN_FILENO
329 constant STDOUT_FILENO
330 constant STDERR_FILENO
332 type size_t
333 type ssize_t
334 type uid_t
335 type gid_t
336 type off_t
337 type pid_t
339 type useconds_t
341 type intptr_t
343 function int access (const char*, int)
344 function {unsigned int} alarm (unsigned int)
345 #if !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX && !defined POSIX2008
346 function int brk (void*)
347 #endif
348 function int chdir (const char*)
349 #if defined XPG3 || defined XPG4 || defined UNIX98
350 function int chroot (const char*)
351 #endif
352 function int chown (const char*, uid_t, gid_t)
353 function int close (int)
354 function size_t confstr (int, char*, size_t)
355 #if !defined POSIX && !defined POSIX2008
356 function {char*} crypt (const char*, const char*)
357 #endif
358 function {char*} ctermid (char*)
359 #if defined XPG3 || defined XPG4 || defined UNIX98
360 function {char*} cuserid (char*)
361 #endif
362 function int dup (int)
363 function int dup2 (int, int)
364 #if !defined POSIX && !defined POSIX2008
365 function void encrypt (char[64], int)
366 #endif
367 function int execl (const char*, const char*, ...)
368 function int execle (const char*, const char*, ...)
369 function int execlp (const char*, const char*, ...)
370 function int execv (const char*, char *const[])
371 function int execve (const char*, char *const[], char *const[])
372 function int execvp (const char*, char *const[])
373 function void _exit (int)
374 # if defined XOPEN2K8 || defined POSIX2008
375 function int faccessat (int, const char*, int, int)
376 # endif
377 function int fchown (int, uid_t, gid_t)
378 # if defined XOPEN2K8 || defined POSIX2008
379 function int fchownat (int, const char*, uid_t, gid_t, int)
380 # endif
381 #ifndef POSIX
382 function int fchdir (int)
383 #endif
384 function int fdatasync (int)
385 # if defined XOPEN2K8 || defined POSIX2008
386 function int fexecve (int, char *const[], char *const[])
387 # endif
388 function pid_t fork (void)
389 function {long int} fpathconf (int, int)
390 function int fsync (int)
391 function int ftruncate (int, off_t)
392 function {char*} getcwd (char*, size_t)
393 #if !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX && !defined POSIX2008
394 function int getdtablesize (void)
395 #endif
396 function gid_t getegid (void)
397 function uid_t geteuid (void)
398 function gid_t getgid (void)
399 function int getgroups (int, gid_t[])
400 #if !defined POSIX && !defined POSIX2008
401 function long gethostid (void)
402 #endif
403 function int gethostname (char*, size_t)
404 function {char*} getlogin (void)
405 function int getlogin_r (char*, size_t)
406 function int getopt (int, char*const[], const char*)
407 #if defined XPG3 || defined XPG4 || defined UNIX98
408 function int getpagesize (void)
409 function {char*} getpass (const char*)
410 #endif
411 #ifndef POSIX
412 function pid_t getpgid (pid_t)
413 #endif
414 function pid_t getpgrp (void)
415 function pid_t getpid (void)
416 function pid_t getppid (void)
417 #ifndef POSIX
418 function pid_t getsid (pid_t)
419 #endif
420 function uid_t getuid (void)
421 #if defined XPG3 || defined XPG4 || defined UNIX98 || defined XOPEN2K
422 function {char*} getwd (char*)
423 #endif
424 function int isatty (int)
425 #ifndef POSIX
426 function int lchown (const char*, uid_t, gid_t)
427 #endif
428 function int link (const char*, const char*)
429 # if defined XOPEN2K8 || defined POSIX2008
430 function int linkat (int, const char*, int, const char*, int)
431 # endif
432 # if !defined POSIX && !defined POSIX2008
433 function int lockf (int, int, off_t)
434 # endif
435 function off_t lseek (int, off_t, int)
436 # if !defined POSIX && !defined POSIX2008
437 function int nice (int)
438 # endif
439 function {long int} pathconf (const char*, int)
440 function int pause (void)
441 function int pipe (int[2])
442 #ifndef POSIX
443 function ssize_t pread (int, void*, size_t, off_t)
444 #endif
445 #if !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX2008
446 function int pthread_atfork (void(*)(void), void(*)(void), void(*)(void))
447 #endif
448 #ifndef POSIX
449 function ssize_t pwrite (int, const void*, size_t, off_t)
450 #endif
451 function ssize_t read (int, void*, size_t)
452 function ssize_t readlink (const char*, char*, size_t)
453 # if defined XOPEN2K8 || defined POSIX2008
454 function ssize_t readlinkat (int, const char*, char*, size_t)
455 # endif
456 function int rmdir (const char*)
457 #if !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX && !defined POSIX2008
458 function {void*} sbrk (intptr_t)
459 #endif
460 function int setegid (gid_t)
461 function int seteuid (uid_t)
462 function int setgid (gid_t)
463 function int setpgid (pid_t, pid_t)
464 # if !defined POSIX && !defined POSIX2008
465 function pid_t setpgrp (void)
466 function int setregid (gid_t, gid_t)
467 function int setreuid (uid_t, uid_t)
468 # endif
469 function pid_t setsid (void)
470 function int setuid (uid_t)
471 function {unsigned int} sleep (unsigned int)
472 # if !defined POSIX && !defined POSIX2008
473 function void swab (const void*, void*, ssize_t)
474 # endif
475 function int symlink (const char*, const char*)
476 # if defined XOPEN2K8 || defined POSIX2008
477 function int symlinkat (const char*, int, const char*)
478 # endif
479 # if !defined POSIX && !defined POSIX2008
480 function void sync (void)
481 # endif
482 function {long int} sysconf (int)
483 function pid_t tcgetpgrp (int)
484 function int tcsetpgrp (int, pid_t)
485 #ifndef POSIX
486 function int truncate (const char*, off_t)
487 #endif
488 function {char*} ttyname (int)
489 function int ttyname_r (int, char*, size_t)
490 #if defined XPG3 || defined XPG4 || defined UNIX98 || defined XOPEN2K
491 function useconds_t ualarm (useconds_t, useconds_t)
492 #endif
493 function int unlink (const char*)
494 # if defined XOPEN2K8 || defined POSIX2008
495 function int unlinkat (int, const char*, int)
496 # endif
497 #if defined XPG3 || defined XPG4 || defined UNIX98 || defined XOPEN2K
498 function int usleep (useconds_t)
499 function pid_t vfork (void)
500 #endif
501 function ssize_t write (int, const void*, size_t)
503 variable {char*} optarg
504 variable int optind
505 variable int opterr
506 variable int optopt
508 allow *_t
509 #endif