# 1 "test-getopt-posix.c" # 1 "/home/berrange/src/virt/libvirt/.gnulib/foo/gltests//" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "test-getopt-posix.c" # 19 "test-getopt-posix.c" # 1 "./config.h" 1 # 1 "./../config.h" 1 # 5 "./config.h" 2 # 20 "test-getopt-posix.c" 2 # 30 "test-getopt-posix.c" # 1 "../gllib/unistd.h" 1 # 21 "../gllib/unistd.h" # 22 "../gllib/unistd.h" 3 # 40 "../gllib/unistd.h" 3 # 1 "/usr/include/unistd.h" 1 3 4 # 25 "/usr/include/unistd.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 423 "/usr/include/features.h" 3 4 # 1 "/usr/include/sys/cdefs.h" 1 3 4 # 418 "/usr/include/sys/cdefs.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 419 "/usr/include/sys/cdefs.h" 2 3 4 # 1 "/usr/include/bits/long-double.h" 1 3 4 # 420 "/usr/include/sys/cdefs.h" 2 3 4 # 424 "/usr/include/features.h" 2 3 4 # 447 "/usr/include/features.h" 3 4 # 1 "/usr/include/gnu/stubs.h" 1 3 4 # 10 "/usr/include/gnu/stubs.h" 3 4 # 1 "/usr/include/gnu/stubs-64.h" 1 3 4 # 11 "/usr/include/gnu/stubs.h" 2 3 4 # 448 "/usr/include/features.h" 2 3 4 # 26 "/usr/include/unistd.h" 2 3 4 # 205 "/usr/include/unistd.h" 3 4 # 1 "/usr/include/bits/posix_opt.h" 1 3 4 # 206 "/usr/include/unistd.h" 2 3 4 # 1 "/usr/include/bits/environments.h" 1 3 4 # 22 "/usr/include/bits/environments.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 23 "/usr/include/bits/environments.h" 2 3 4 # 210 "/usr/include/unistd.h" 2 3 4 # 220 "/usr/include/unistd.h" 3 4 # 1 "/usr/include/bits/types.h" 1 3 4 # 27 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 28 "/usr/include/bits/types.h" 2 3 4 # 30 "/usr/include/bits/types.h" 3 4 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; typedef signed long int __int64_t; typedef unsigned long int __uint64_t; typedef long int __quad_t; typedef unsigned long int __u_quad_t; typedef long int __intmax_t; typedef unsigned long int __uintmax_t; # 130 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/typesizes.h" 1 3 4 # 131 "/usr/include/bits/types.h" 2 3 4 typedef unsigned long int __dev_t; typedef unsigned int __uid_t; typedef unsigned int __gid_t; typedef unsigned long int __ino_t; typedef unsigned long int __ino64_t; typedef unsigned int __mode_t; typedef unsigned long int __nlink_t; typedef long int __off_t; typedef long int __off64_t; typedef int __pid_t; typedef struct { int __val[2]; } __fsid_t; typedef long int __clock_t; typedef unsigned long int __rlim_t; typedef unsigned long int __rlim64_t; typedef unsigned int __id_t; typedef long int __time_t; typedef unsigned int __useconds_t; typedef long int __suseconds_t; typedef int __daddr_t; typedef int __key_t; typedef int __clockid_t; typedef void * __timer_t; typedef long int __blksize_t; typedef long int __blkcnt_t; typedef long int __blkcnt64_t; typedef unsigned long int __fsblkcnt_t; typedef unsigned long int __fsblkcnt64_t; typedef unsigned long int __fsfilcnt_t; typedef unsigned long int __fsfilcnt64_t; typedef long int __fsword_t; typedef long int __ssize_t; typedef long int __syscall_slong_t; typedef unsigned long int __syscall_ulong_t; typedef __off64_t __loff_t; typedef char *__caddr_t; typedef long int __intptr_t; typedef unsigned int __socklen_t; typedef int __sig_atomic_t; # 221 "/usr/include/unistd.h" 2 3 4 typedef __ssize_t ssize_t; # 1 "/usr/lib/gcc/x86_64-redhat-linux/7/include/stddef.h" 1 3 4 # 216 "/usr/lib/gcc/x86_64-redhat-linux/7/include/stddef.h" 3 4 typedef long unsigned int size_t; # 230 "/usr/include/unistd.h" 2 3 4 typedef __gid_t gid_t; typedef __uid_t uid_t; typedef __off_t off_t; typedef __off64_t off64_t; typedef __useconds_t useconds_t; typedef __pid_t pid_t; typedef __intptr_t intptr_t; typedef __socklen_t socklen_t; # 290 "/usr/include/unistd.h" 3 4 extern int access (const char *__name, int __type) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int euidaccess (const char *__name, int __type) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int eaccess (const char *__name, int __type) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int faccessat (int __fd, const char *__file, int __type, int __flag) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) ; # 337 "/usr/include/unistd.h" 3 4 extern __off_t lseek (int __fd, __off_t __offset, int __whence) __attribute__ ((__nothrow__ , __leaf__)); # 348 "/usr/include/unistd.h" 3 4 extern __off64_t lseek64 (int __fd, __off64_t __offset, int __whence) __attribute__ ((__nothrow__ , __leaf__)); extern int close (int __fd); extern ssize_t read (int __fd, void *__buf, size_t __nbytes) ; extern ssize_t write (int __fd, const void *__buf, size_t __n) ; # 379 "/usr/include/unistd.h" 3 4 extern ssize_t pread (int __fd, void *__buf, size_t __nbytes, __off_t __offset) ; extern ssize_t pwrite (int __fd, const void *__buf, size_t __n, __off_t __offset) ; # 407 "/usr/include/unistd.h" 3 4 extern ssize_t pread64 (int __fd, void *__buf, size_t __nbytes, __off64_t __offset) ; extern ssize_t pwrite64 (int __fd, const void *__buf, size_t __n, __off64_t __offset) ; extern int pipe (int __pipedes[2]) __attribute__ ((__nothrow__ , __leaf__)) ; extern int pipe2 (int __pipedes[2], int __flags) __attribute__ ((__nothrow__ , __leaf__)) ; # 435 "/usr/include/unistd.h" 3 4 extern unsigned int alarm (unsigned int __seconds) __attribute__ ((__nothrow__ , __leaf__)); # 447 "/usr/include/unistd.h" 3 4 extern unsigned int sleep (unsigned int __seconds); extern __useconds_t ualarm (__useconds_t __value, __useconds_t __interval) __attribute__ ((__nothrow__ , __leaf__)); extern int usleep (__useconds_t __useconds); # 472 "/usr/include/unistd.h" 3 4 extern int pause (void); extern int chown (const char *__file, __uid_t __owner, __gid_t __group) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; extern int fchown (int __fd, __uid_t __owner, __gid_t __group) __attribute__ ((__nothrow__ , __leaf__)) ; extern int lchown (const char *__file, __uid_t __owner, __gid_t __group) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; extern int fchownat (int __fd, const char *__file, __uid_t __owner, __gid_t __group, int __flag) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) ; extern int chdir (const char *__path) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; extern int fchdir (int __fd) __attribute__ ((__nothrow__ , __leaf__)) ; # 514 "/usr/include/unistd.h" 3 4 extern char *getcwd (char *__buf, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) ; extern char *get_current_dir_name (void) __attribute__ ((__nothrow__ , __leaf__)); extern char *getwd (char *__buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__deprecated__)) ; extern int dup (int __fd) __attribute__ ((__nothrow__ , __leaf__)) ; extern int dup2 (int __fd, int __fd2) __attribute__ ((__nothrow__ , __leaf__)); extern int dup3 (int __fd, int __fd2, int __flags) __attribute__ ((__nothrow__ , __leaf__)); extern char **__environ; extern char **environ; extern int execve (const char *__path, char *const __argv[], char *const __envp[]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int fexecve (int __fd, char *const __argv[], char *const __envp[]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern int execv (const char *__path, char *const __argv[]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int execle (const char *__path, const char *__arg, ...) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int execl (const char *__path, const char *__arg, ...) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int execvp (const char *__file, char *const __argv[]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int execlp (const char *__file, const char *__arg, ...) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int execvpe (const char *__file, char *const __argv[], char *const __envp[]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int nice (int __inc) __attribute__ ((__nothrow__ , __leaf__)) ; extern void _exit (int __status) __attribute__ ((__noreturn__)); # 1 "/usr/include/bits/confname.h" 1 3 4 # 24 "/usr/include/bits/confname.h" 3 4 enum { _PC_LINK_MAX, _PC_MAX_CANON, _PC_MAX_INPUT, _PC_NAME_MAX, _PC_PATH_MAX, _PC_PIPE_BUF, _PC_CHOWN_RESTRICTED, _PC_NO_TRUNC, _PC_VDISABLE, _PC_SYNC_IO, _PC_ASYNC_IO, _PC_PRIO_IO, _PC_SOCK_MAXBUF, _PC_FILESIZEBITS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, _PC_ALLOC_SIZE_MIN, _PC_SYMLINK_MAX, _PC_2_SYMLINKS }; enum { _SC_ARG_MAX, _SC_CHILD_MAX, _SC_CLK_TCK, _SC_NGROUPS_MAX, _SC_OPEN_MAX, _SC_STREAM_MAX, _SC_TZNAME_MAX, _SC_JOB_CONTROL, _SC_SAVED_IDS, _SC_REALTIME_SIGNALS, _SC_PRIORITY_SCHEDULING, _SC_TIMERS, _SC_ASYNCHRONOUS_IO, _SC_PRIORITIZED_IO, _SC_SYNCHRONIZED_IO, _SC_FSYNC, _SC_MAPPED_FILES, _SC_MEMLOCK, _SC_MEMLOCK_RANGE, _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_SEMAPHORES, _SC_SHARED_MEMORY_OBJECTS, _SC_AIO_LISTIO_MAX, _SC_AIO_MAX, _SC_AIO_PRIO_DELTA_MAX, _SC_DELAYTIMER_MAX, _SC_MQ_OPEN_MAX, _SC_MQ_PRIO_MAX, _SC_VERSION, _SC_PAGESIZE, _SC_RTSIG_MAX, _SC_SEM_NSEMS_MAX, _SC_SEM_VALUE_MAX, _SC_SIGQUEUE_MAX, _SC_TIMER_MAX, _SC_BC_BASE_MAX, _SC_BC_DIM_MAX, _SC_BC_SCALE_MAX, _SC_BC_STRING_MAX, _SC_COLL_WEIGHTS_MAX, _SC_EQUIV_CLASS_MAX, _SC_EXPR_NEST_MAX, _SC_LINE_MAX, _SC_RE_DUP_MAX, _SC_CHARCLASS_NAME_MAX, _SC_2_VERSION, _SC_2_C_BIND, _SC_2_C_DEV, _SC_2_FORT_DEV, _SC_2_FORT_RUN, _SC_2_SW_DEV, _SC_2_LOCALEDEF, _SC_PII, _SC_PII_XTI, _SC_PII_SOCKET, _SC_PII_INTERNET, _SC_PII_OSI, _SC_POLL, _SC_SELECT, _SC_UIO_MAXIOV, _SC_IOV_MAX = _SC_UIO_MAXIOV, _SC_PII_INTERNET_STREAM, _SC_PII_INTERNET_DGRAM, _SC_PII_OSI_COTS, _SC_PII_OSI_CLTS, _SC_PII_OSI_M, _SC_T_IOV_MAX, _SC_THREADS, _SC_THREAD_SAFE_FUNCTIONS, _SC_GETGR_R_SIZE_MAX, _SC_GETPW_R_SIZE_MAX, _SC_LOGIN_NAME_MAX, _SC_TTY_NAME_MAX, _SC_THREAD_DESTRUCTOR_ITERATIONS, _SC_THREAD_KEYS_MAX, _SC_THREAD_STACK_MIN, _SC_THREAD_THREADS_MAX, _SC_THREAD_ATTR_STACKADDR, _SC_THREAD_ATTR_STACKSIZE, _SC_THREAD_PRIORITY_SCHEDULING, _SC_THREAD_PRIO_INHERIT, _SC_THREAD_PRIO_PROTECT, _SC_THREAD_PROCESS_SHARED, _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES, _SC_AVPHYS_PAGES, _SC_ATEXIT_MAX, _SC_PASS_MAX, _SC_XOPEN_VERSION, _SC_XOPEN_XCU_VERSION, _SC_XOPEN_UNIX, _SC_XOPEN_CRYPT, _SC_XOPEN_ENH_I18N, _SC_XOPEN_SHM, _SC_2_CHAR_TERM, _SC_2_C_VERSION, _SC_2_UPE, _SC_XOPEN_XPG2, _SC_XOPEN_XPG3, _SC_XOPEN_XPG4, _SC_CHAR_BIT, _SC_CHAR_MAX, _SC_CHAR_MIN, _SC_INT_MAX, _SC_INT_MIN, _SC_LONG_BIT, _SC_WORD_BIT, _SC_MB_LEN_MAX, _SC_NZERO, _SC_SSIZE_MAX, _SC_SCHAR_MAX, _SC_SCHAR_MIN, _SC_SHRT_MAX, _SC_SHRT_MIN, _SC_UCHAR_MAX, _SC_UINT_MAX, _SC_ULONG_MAX, _SC_USHRT_MAX, _SC_NL_ARGMAX, _SC_NL_LANGMAX, _SC_NL_MSGMAX, _SC_NL_NMAX, _SC_NL_SETMAX, _SC_NL_TEXTMAX, _SC_XBS5_ILP32_OFF32, _SC_XBS5_ILP32_OFFBIG, _SC_XBS5_LP64_OFF64, _SC_XBS5_LPBIG_OFFBIG, _SC_XOPEN_LEGACY, _SC_XOPEN_REALTIME, _SC_XOPEN_REALTIME_THREADS, _SC_ADVISORY_INFO, _SC_BARRIERS, _SC_BASE, _SC_C_LANG_SUPPORT, _SC_C_LANG_SUPPORT_R, _SC_CLOCK_SELECTION, _SC_CPUTIME, _SC_THREAD_CPUTIME, _SC_DEVICE_IO, _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO, _SC_PIPE, _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM, _SC_MONOTONIC_CLOCK, _SC_MULTI_PROCESS, _SC_SINGLE_PROCESS, _SC_NETWORKING, _SC_READER_WRITER_LOCKS, _SC_SPIN_LOCKS, _SC_REGEXP, _SC_REGEX_VERSION, _SC_SHELL, _SC_SIGNALS, _SC_SPAWN, _SC_SPORADIC_SERVER, _SC_THREAD_SPORADIC_SERVER, _SC_SYSTEM_DATABASE, _SC_SYSTEM_DATABASE_R, _SC_TIMEOUTS, _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R, _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK, _SC_SYMLOOP_MAX, _SC_STREAMS, _SC_2_PBS_CHECKPOINT, _SC_V6_ILP32_OFF32, _SC_V6_ILP32_OFFBIG, _SC_V6_LP64_OFF64, _SC_V6_LPBIG_OFFBIG, _SC_HOST_NAME_MAX, _SC_TRACE, _SC_TRACE_EVENT_FILTER, _SC_TRACE_INHERIT, _SC_TRACE_LOG, _SC_LEVEL1_ICACHE_SIZE, _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE, _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC, _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE, _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE, _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC, _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE, _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE, _SC_IPV6 = _SC_LEVEL1_ICACHE_SIZE + 50, _SC_RAW_SOCKETS, _SC_V7_ILP32_OFF32, _SC_V7_ILP32_OFFBIG, _SC_V7_LP64_OFF64, _SC_V7_LPBIG_OFFBIG, _SC_SS_REPL_MAX, _SC_TRACE_EVENT_NAME_MAX, _SC_TRACE_NAME_MAX, _SC_TRACE_SYS_MAX, _SC_TRACE_USER_EVENT_MAX, _SC_XOPEN_STREAMS, _SC_THREAD_ROBUST_PRIO_INHERIT, _SC_THREAD_ROBUST_PRIO_PROTECT }; enum { _CS_PATH, _CS_V6_WIDTH_RESTRICTED_ENVS, _CS_GNU_LIBC_VERSION, _CS_GNU_LIBPTHREAD_VERSION, _CS_V5_WIDTH_RESTRICTED_ENVS, _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_LFS_CFLAGS = 1000, _CS_LFS_LDFLAGS, _CS_LFS_LIBS, _CS_LFS_LINTFLAGS, _CS_LFS64_CFLAGS, _CS_LFS64_LDFLAGS, _CS_LFS64_LIBS, _CS_LFS64_LINTFLAGS, _CS_XBS5_ILP32_OFF32_CFLAGS = 1100, _CS_XBS5_ILP32_OFF32_LDFLAGS, _CS_XBS5_ILP32_OFF32_LIBS, _CS_XBS5_ILP32_OFF32_LINTFLAGS, _CS_XBS5_ILP32_OFFBIG_CFLAGS, _CS_XBS5_ILP32_OFFBIG_LDFLAGS, _CS_XBS5_ILP32_OFFBIG_LIBS, _CS_XBS5_ILP32_OFFBIG_LINTFLAGS, _CS_XBS5_LP64_OFF64_CFLAGS, _CS_XBS5_LP64_OFF64_LDFLAGS, _CS_XBS5_LP64_OFF64_LIBS, _CS_XBS5_LP64_OFF64_LINTFLAGS, _CS_XBS5_LPBIG_OFFBIG_CFLAGS, _CS_XBS5_LPBIG_OFFBIG_LDFLAGS, _CS_XBS5_LPBIG_OFFBIG_LIBS, _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS, _CS_POSIX_V6_ILP32_OFF32_CFLAGS, _CS_POSIX_V6_ILP32_OFF32_LDFLAGS, _CS_POSIX_V6_ILP32_OFF32_LIBS, _CS_POSIX_V6_ILP32_OFF32_LINTFLAGS, _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS, _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS, _CS_POSIX_V6_ILP32_OFFBIG_LIBS, _CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS, _CS_POSIX_V6_LP64_OFF64_CFLAGS, _CS_POSIX_V6_LP64_OFF64_LDFLAGS, _CS_POSIX_V6_LP64_OFF64_LIBS, _CS_POSIX_V6_LP64_OFF64_LINTFLAGS, _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS, _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS, _CS_POSIX_V6_LPBIG_OFFBIG_LIBS, _CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS, _CS_POSIX_V7_ILP32_OFF32_CFLAGS, _CS_POSIX_V7_ILP32_OFF32_LDFLAGS, _CS_POSIX_V7_ILP32_OFF32_LIBS, _CS_POSIX_V7_ILP32_OFF32_LINTFLAGS, _CS_POSIX_V7_ILP32_OFFBIG_CFLAGS, _CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS, _CS_POSIX_V7_ILP32_OFFBIG_LIBS, _CS_POSIX_V7_ILP32_OFFBIG_LINTFLAGS, _CS_POSIX_V7_LP64_OFF64_CFLAGS, _CS_POSIX_V7_LP64_OFF64_LDFLAGS, _CS_POSIX_V7_LP64_OFF64_LIBS, _CS_POSIX_V7_LP64_OFF64_LINTFLAGS, _CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS, _CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS, _CS_POSIX_V7_LPBIG_OFFBIG_LIBS, _CS_POSIX_V7_LPBIG_OFFBIG_LINTFLAGS, _CS_V6_ENV, _CS_V7_ENV }; # 613 "/usr/include/unistd.h" 2 3 4 extern long int pathconf (const char *__path, int __name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern long int fpathconf (int __fd, int __name) __attribute__ ((__nothrow__ , __leaf__)); extern long int sysconf (int __name) __attribute__ ((__nothrow__ , __leaf__)); extern size_t confstr (int __name, char *__buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)); extern __pid_t getpid (void) __attribute__ ((__nothrow__ , __leaf__)); extern __pid_t getppid (void) __attribute__ ((__nothrow__ , __leaf__)); extern __pid_t getpgrp (void) __attribute__ ((__nothrow__ , __leaf__)); extern __pid_t __getpgid (__pid_t __pid) __attribute__ ((__nothrow__ , __leaf__)); extern __pid_t getpgid (__pid_t __pid) __attribute__ ((__nothrow__ , __leaf__)); extern int setpgid (__pid_t __pid, __pid_t __pgid) __attribute__ ((__nothrow__ , __leaf__)); # 663 "/usr/include/unistd.h" 3 4 extern int setpgrp (void) __attribute__ ((__nothrow__ , __leaf__)); extern __pid_t setsid (void) __attribute__ ((__nothrow__ , __leaf__)); extern __pid_t getsid (__pid_t __pid) __attribute__ ((__nothrow__ , __leaf__)); extern __uid_t getuid (void) __attribute__ ((__nothrow__ , __leaf__)); extern __uid_t geteuid (void) __attribute__ ((__nothrow__ , __leaf__)); extern __gid_t getgid (void) __attribute__ ((__nothrow__ , __leaf__)); extern __gid_t getegid (void) __attribute__ ((__nothrow__ , __leaf__)); extern int getgroups (int __size, __gid_t __list[]) __attribute__ ((__nothrow__ , __leaf__)) ; extern int group_member (__gid_t __gid) __attribute__ ((__nothrow__ , __leaf__)); extern int setuid (__uid_t __uid) __attribute__ ((__nothrow__ , __leaf__)) ; extern int setreuid (__uid_t __ruid, __uid_t __euid) __attribute__ ((__nothrow__ , __leaf__)) ; extern int seteuid (__uid_t __uid) __attribute__ ((__nothrow__ , __leaf__)) ; extern int setgid (__gid_t __gid) __attribute__ ((__nothrow__ , __leaf__)) ; extern int setregid (__gid_t __rgid, __gid_t __egid) __attribute__ ((__nothrow__ , __leaf__)) ; extern int setegid (__gid_t __gid) __attribute__ ((__nothrow__ , __leaf__)) ; extern int getresuid (__uid_t *__ruid, __uid_t *__euid, __uid_t *__suid) __attribute__ ((__nothrow__ , __leaf__)); extern int getresgid (__gid_t *__rgid, __gid_t *__egid, __gid_t *__sgid) __attribute__ ((__nothrow__ , __leaf__)); extern int setresuid (__uid_t __ruid, __uid_t __euid, __uid_t __suid) __attribute__ ((__nothrow__ , __leaf__)) ; extern int setresgid (__gid_t __rgid, __gid_t __egid, __gid_t __sgid) __attribute__ ((__nothrow__ , __leaf__)) ; extern __pid_t fork (void) __attribute__ ((__nothrow__)); extern __pid_t vfork (void) __attribute__ ((__nothrow__ , __leaf__)); extern char *ttyname (int __fd) __attribute__ ((__nothrow__ , __leaf__)); extern int ttyname_r (int __fd, char *__buf, size_t __buflen) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) ; extern int isatty (int __fd) __attribute__ ((__nothrow__ , __leaf__)); extern int ttyslot (void) __attribute__ ((__nothrow__ , __leaf__)); extern int link (const char *__from, const char *__to) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))) ; extern int linkat (int __fromfd, const char *__from, int __tofd, const char *__to, int __flags) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 4))) ; extern int symlink (const char *__from, const char *__to) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))) ; extern ssize_t readlink (const char *__restrict __path, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))) ; extern int symlinkat (const char *__from, int __tofd, const char *__to) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 3))) ; extern ssize_t readlinkat (int __fd, const char *__restrict __path, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))) ; extern int unlink (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int unlinkat (int __fd, const char *__name, int __flag) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern int rmdir (const char *__path) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern __pid_t tcgetpgrp (int __fd) __attribute__ ((__nothrow__ , __leaf__)); extern int tcsetpgrp (int __fd, __pid_t __pgrp_id) __attribute__ ((__nothrow__ , __leaf__)); extern char *getlogin (void); extern int getlogin_r (char *__name, size_t __name_len) __attribute__ ((__nonnull__ (1))); extern int setlogin (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 1 "/usr/include/bits/getopt_posix.h" 1 3 4 # 27 "/usr/include/bits/getopt_posix.h" 3 4 # 1 "/usr/include/bits/getopt_core.h" 1 3 4 # 28 "/usr/include/bits/getopt_core.h" 3 4 extern char *optarg; # 50 "/usr/include/bits/getopt_core.h" 3 4 extern int optind; extern int opterr; extern int optopt; # 91 "/usr/include/bits/getopt_core.h" 3 4 extern int getopt (int ___argc, char *const *___argv, const char *__shortopts) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))); # 28 "/usr/include/bits/getopt_posix.h" 2 3 4 # 49 "/usr/include/bits/getopt_posix.h" 3 4 # 873 "/usr/include/unistd.h" 2 3 4 extern int gethostname (char *__name, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int sethostname (const char *__name, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; extern int sethostid (long int __id) __attribute__ ((__nothrow__ , __leaf__)) ; extern int getdomainname (char *__name, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; extern int setdomainname (const char *__name, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; extern int vhangup (void) __attribute__ ((__nothrow__ , __leaf__)); extern int revoke (const char *__file) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; extern int profil (unsigned short int *__sample_buffer, size_t __size, size_t __offset, unsigned int __scale) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int acct (const char *__name) __attribute__ ((__nothrow__ , __leaf__)); extern char *getusershell (void) __attribute__ ((__nothrow__ , __leaf__)); extern void endusershell (void) __attribute__ ((__nothrow__ , __leaf__)); extern void setusershell (void) __attribute__ ((__nothrow__ , __leaf__)); extern int daemon (int __nochdir, int __noclose) __attribute__ ((__nothrow__ , __leaf__)) ; extern int chroot (const char *__path) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; extern char *getpass (const char *__prompt) __attribute__ ((__nonnull__ (1))); extern int fsync (int __fd); extern int syncfs (int __fd) __attribute__ ((__nothrow__ , __leaf__)); extern long int gethostid (void); extern void sync (void) __attribute__ ((__nothrow__ , __leaf__)); extern int getpagesize (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int getdtablesize (void) __attribute__ ((__nothrow__ , __leaf__)); # 994 "/usr/include/unistd.h" 3 4 extern int truncate (const char *__file, __off_t __length) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; # 1006 "/usr/include/unistd.h" 3 4 extern int truncate64 (const char *__file, __off64_t __length) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; # 1017 "/usr/include/unistd.h" 3 4 extern int ftruncate (int __fd, __off_t __length) __attribute__ ((__nothrow__ , __leaf__)) ; # 1027 "/usr/include/unistd.h" 3 4 extern int ftruncate64 (int __fd, __off64_t __length) __attribute__ ((__nothrow__ , __leaf__)) ; # 1038 "/usr/include/unistd.h" 3 4 extern int brk (void *__addr) __attribute__ ((__nothrow__ , __leaf__)) ; extern void *sbrk (intptr_t __delta) __attribute__ ((__nothrow__ , __leaf__)); # 1059 "/usr/include/unistd.h" 3 4 extern long int syscall (long int __sysno, ...) __attribute__ ((__nothrow__ , __leaf__)); # 1082 "/usr/include/unistd.h" 3 4 extern int lockf (int __fd, int __cmd, __off_t __len) ; # 1092 "/usr/include/unistd.h" 3 4 extern int lockf64 (int __fd, int __cmd, __off64_t __len) ; # 1113 "/usr/include/unistd.h" 3 4 extern int fdatasync (int __fildes); extern char *crypt (const char *__key, const char *__salt) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern void encrypt (char *__glibc_block, int __edflag) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern void swab (const void *__restrict __from, void *__restrict __to, ssize_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); # 1162 "/usr/include/unistd.h" 3 4 int getentropy (void *__buffer, size_t __length) ; # 41 "../gllib/unistd.h" 2 3 # 56 "../gllib/unistd.h" 3 # 1 "/usr/lib/gcc/x86_64-redhat-linux/7/include/stddef.h" 1 3 4 # 149 "/usr/lib/gcc/x86_64-redhat-linux/7/include/stddef.h" 3 4 typedef long int ptrdiff_t; # 328 "/usr/lib/gcc/x86_64-redhat-linux/7/include/stddef.h" 3 4 typedef int wchar_t; # 426 "/usr/lib/gcc/x86_64-redhat-linux/7/include/stddef.h" 3 4 typedef struct { long long __max_align_ll __attribute__((__aligned__(__alignof__(long long)))); long double __max_align_ld __attribute__((__aligned__(__alignof__(long double)))); # 437 "/usr/lib/gcc/x86_64-redhat-linux/7/include/stddef.h" 3 4 } max_align_t; # 57 "../gllib/unistd.h" 2 3 # 599 "../gllib/unistd.h" 3 # 764 "../gllib/unistd.h" 3 extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 814 "../gllib/unistd.h" 3 extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 1082 "../gllib/unistd.h" 3 extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 1144 "../gllib/unistd.h" 3 extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 1870 "../gllib/unistd.h" 3 extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 2068 "../gllib/unistd.h" 3 # 31 "test-getopt-posix.c" 2 # 1 "test-getopt-main.h" 1 # 19 "test-getopt-main.h" # 1 "signature.h" 1 # 20 "test-getopt-main.h" 2 # 20 "test-getopt-main.h" static int (* __attribute__ ((__unused__)) signature_check20) (int, char * const[], char const *) = getopt; # 1 "../gllib/stdio.h" 1 # 20 "../gllib/stdio.h" # 21 "../gllib/stdio.h" 3 # 43 "../gllib/stdio.h" 3 # 1 "/usr/include/stdio.h" 1 3 4 # 27 "/usr/include/stdio.h" 3 4 # 1 "/usr/include/bits/libc-header-start.h" 1 3 4 # 28 "/usr/include/stdio.h" 2 3 4 # 1 "/usr/lib/gcc/x86_64-redhat-linux/7/include/stddef.h" 1 3 4 # 34 "/usr/include/stdio.h" 2 3 4 # 1 "/usr/include/bits/types/__FILE.h" 1 3 4 # 4 "/usr/include/bits/types/__FILE.h" 3 4 struct _IO_FILE; typedef struct _IO_FILE __FILE; # 37 "/usr/include/stdio.h" 2 3 4 # 1 "/usr/include/bits/types/FILE.h" 1 3 4 struct _IO_FILE; typedef struct _IO_FILE FILE; # 38 "/usr/include/stdio.h" 2 3 4 # 1 "/usr/include/libio.h" 1 3 4 # 31 "/usr/include/libio.h" 3 4 # 1 "/usr/include/_G_config.h" 1 3 4 # 15 "/usr/include/_G_config.h" 3 4 # 1 "/usr/lib/gcc/x86_64-redhat-linux/7/include/stddef.h" 1 3 4 # 16 "/usr/include/_G_config.h" 2 3 4 # 1 "/usr/include/bits/types/__mbstate_t.h" 1 3 4 # 13 "/usr/include/bits/types/__mbstate_t.h" 3 4 typedef struct { int __count; union { unsigned int __wch; char __wchb[4]; } __value; } __mbstate_t; # 18 "/usr/include/_G_config.h" 2 3 4 typedef struct { __off_t __pos; __mbstate_t __state; } _G_fpos_t; typedef struct { __off64_t __pos; __mbstate_t __state; } _G_fpos64_t; # 32 "/usr/include/libio.h" 2 3 4 # 49 "/usr/include/libio.h" 3 4 # 1 "/usr/lib/gcc/x86_64-redhat-linux/7/include/stdarg.h" 1 3 4 # 40 "/usr/lib/gcc/x86_64-redhat-linux/7/include/stdarg.h" 3 4 typedef __builtin_va_list __gnuc_va_list; # 50 "/usr/include/libio.h" 2 3 4 # 145 "/usr/include/libio.h" 3 4 struct _IO_jump_t; struct _IO_FILE; typedef void _IO_lock_t; struct _IO_marker { struct _IO_marker *_next; struct _IO_FILE *_sbuf; int _pos; # 173 "/usr/include/libio.h" 3 4 }; enum __codecvt_result { __codecvt_ok, __codecvt_partial, __codecvt_error, __codecvt_noconv }; # 241 "/usr/include/libio.h" 3 4 struct _IO_FILE { int _flags; char* _IO_read_ptr; char* _IO_read_end; char* _IO_read_base; char* _IO_write_base; char* _IO_write_ptr; char* _IO_write_end; char* _IO_buf_base; char* _IO_buf_end; char *_IO_save_base; char *_IO_backup_base; char *_IO_save_end; struct _IO_marker *_markers; struct _IO_FILE *_chain; int _fileno; int _flags2; __off_t _old_offset; unsigned short _cur_column; signed char _vtable_offset; char _shortbuf[1]; _IO_lock_t *_lock; # 289 "/usr/include/libio.h" 3 4 __off64_t _offset; void *__pad1; void *__pad2; void *__pad3; void *__pad4; size_t __pad5; int _mode; char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)]; }; typedef struct _IO_FILE _IO_FILE; struct _IO_FILE_plus; extern struct _IO_FILE_plus _IO_2_1_stdin_; extern struct _IO_FILE_plus _IO_2_1_stdout_; extern struct _IO_FILE_plus _IO_2_1_stderr_; # 333 "/usr/include/libio.h" 3 4 typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes); typedef __ssize_t __io_write_fn (void *__cookie, const char *__buf, size_t __n); typedef int __io_seek_fn (void *__cookie, __off64_t *__pos, int __w); typedef int __io_close_fn (void *__cookie); typedef __io_read_fn cookie_read_function_t; typedef __io_write_fn cookie_write_function_t; typedef __io_seek_fn cookie_seek_function_t; typedef __io_close_fn cookie_close_function_t; typedef struct { __io_read_fn *read; __io_write_fn *write; __io_seek_fn *seek; __io_close_fn *close; } _IO_cookie_io_functions_t; typedef _IO_cookie_io_functions_t cookie_io_functions_t; struct _IO_cookie_file; extern void _IO_cookie_init (struct _IO_cookie_file *__cfile, int __read_write, void *__cookie, _IO_cookie_io_functions_t __fns); extern int __underflow (_IO_FILE *); extern int __uflow (_IO_FILE *); extern int __overflow (_IO_FILE *, int); # 429 "/usr/include/libio.h" 3 4 extern int _IO_getc (_IO_FILE *__fp); extern int _IO_putc (int __c, _IO_FILE *__fp); extern int _IO_feof (_IO_FILE *__fp) __attribute__ ((__nothrow__ , __leaf__)); extern int _IO_ferror (_IO_FILE *__fp) __attribute__ ((__nothrow__ , __leaf__)); extern int _IO_peekc_locked (_IO_FILE *__fp); extern void _IO_flockfile (_IO_FILE *) __attribute__ ((__nothrow__ , __leaf__)); extern void _IO_funlockfile (_IO_FILE *) __attribute__ ((__nothrow__ , __leaf__)); extern int _IO_ftrylockfile (_IO_FILE *) __attribute__ ((__nothrow__ , __leaf__)); # 458 "/usr/include/libio.h" 3 4 extern int _IO_vfscanf (_IO_FILE * __restrict, const char * __restrict, __gnuc_va_list, int *__restrict); extern int _IO_vfprintf (_IO_FILE *__restrict, const char *__restrict, __gnuc_va_list); extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t); extern size_t _IO_sgetn (_IO_FILE *, void *, size_t); extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int); extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int); extern void _IO_free_backup_area (_IO_FILE *) __attribute__ ((__nothrow__ , __leaf__)); # 42 "/usr/include/stdio.h" 2 3 4 typedef __gnuc_va_list va_list; # 78 "/usr/include/stdio.h" 3 4 typedef _G_fpos_t fpos_t; typedef _G_fpos64_t fpos64_t; # 131 "/usr/include/stdio.h" 3 4 # 1 "/usr/include/bits/stdio_lim.h" 1 3 4 # 132 "/usr/include/stdio.h" 2 3 4 extern struct _IO_FILE *stdin; extern struct _IO_FILE *stdout; extern struct _IO_FILE *stderr; extern int remove (const char *__filename) __attribute__ ((__nothrow__ , __leaf__)); extern int rename (const char *__old, const char *__new) __attribute__ ((__nothrow__ , __leaf__)); extern int renameat (int __oldfd, const char *__old, int __newfd, const char *__new) __attribute__ ((__nothrow__ , __leaf__)); extern FILE *tmpfile (void) ; # 169 "/usr/include/stdio.h" 3 4 extern FILE *tmpfile64 (void) ; extern char *tmpnam (char *__s) __attribute__ ((__nothrow__ , __leaf__)) ; extern char *tmpnam_r (char *__s) __attribute__ ((__nothrow__ , __leaf__)) ; # 190 "/usr/include/stdio.h" 3 4 extern char *tempnam (const char *__dir, const char *__pfx) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) ; extern int fclose (FILE *__stream); extern int fflush (FILE *__stream); # 213 "/usr/include/stdio.h" 3 4 extern int fflush_unlocked (FILE *__stream); # 223 "/usr/include/stdio.h" 3 4 extern int fcloseall (void); # 232 "/usr/include/stdio.h" 3 4 extern FILE *fopen (const char *__restrict __filename, const char *__restrict __modes) ; extern FILE *freopen (const char *__restrict __filename, const char *__restrict __modes, FILE *__restrict __stream) ; # 256 "/usr/include/stdio.h" 3 4 extern FILE *fopen64 (const char *__restrict __filename, const char *__restrict __modes) ; extern FILE *freopen64 (const char *__restrict __filename, const char *__restrict __modes, FILE *__restrict __stream) ; extern FILE *fdopen (int __fd, const char *__modes) __attribute__ ((__nothrow__ , __leaf__)) ; extern FILE *fopencookie (void *__restrict __magic_cookie, const char *__restrict __modes, _IO_cookie_io_functions_t __io_funcs) __attribute__ ((__nothrow__ , __leaf__)) ; extern FILE *fmemopen (void *__s, size_t __len, const char *__modes) __attribute__ ((__nothrow__ , __leaf__)) ; extern FILE *open_memstream (char **__bufloc, size_t *__sizeloc) __attribute__ ((__nothrow__ , __leaf__)) ; extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)); extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf, int __modes, size_t __n) __attribute__ ((__nothrow__ , __leaf__)); extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf, size_t __size) __attribute__ ((__nothrow__ , __leaf__)); extern void setlinebuf (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)); extern int fprintf (FILE *__restrict __stream, const char *__restrict __format, ...); extern int printf (const char *__restrict __format, ...); extern int sprintf (char *__restrict __s, const char *__restrict __format, ...) __attribute__ ((__nothrow__)); extern int vfprintf (FILE *__restrict __s, const char *__restrict __format, __gnuc_va_list __arg); extern int vprintf (const char *__restrict __format, __gnuc_va_list __arg); extern int vsprintf (char *__restrict __s, const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__nothrow__)); extern int snprintf (char *__restrict __s, size_t __maxlen, const char *__restrict __format, ...) __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4))); extern int vsnprintf (char *__restrict __s, size_t __maxlen, const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0))); extern int vasprintf (char **__restrict __ptr, const char *__restrict __f, __gnuc_va_list __arg) __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 0))) ; extern int __asprintf (char **__restrict __ptr, const char *__restrict __fmt, ...) __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3))) ; extern int asprintf (char **__restrict __ptr, const char *__restrict __fmt, ...) __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3))) ; extern int vdprintf (int __fd, const char *__restrict __fmt, __gnuc_va_list __arg) __attribute__ ((__format__ (__printf__, 2, 0))); extern int dprintf (int __fd, const char *__restrict __fmt, ...) __attribute__ ((__format__ (__printf__, 2, 3))); extern int fscanf (FILE *__restrict __stream, const char *__restrict __format, ...) ; extern int scanf (const char *__restrict __format, ...) ; extern int sscanf (const char *__restrict __s, const char *__restrict __format, ...) __attribute__ ((__nothrow__ , __leaf__)); # 420 "/usr/include/stdio.h" 3 4 extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__format__ (__scanf__, 2, 0))) ; extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__format__ (__scanf__, 1, 0))) ; extern int vsscanf (const char *__restrict __s, const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__format__ (__scanf__, 2, 0))); # 477 "/usr/include/stdio.h" 3 4 extern int fgetc (FILE *__stream); extern int getc (FILE *__stream); extern int getchar (void); # 495 "/usr/include/stdio.h" 3 4 extern int getc_unlocked (FILE *__stream); extern int getchar_unlocked (void); # 506 "/usr/include/stdio.h" 3 4 extern int fgetc_unlocked (FILE *__stream); # 517 "/usr/include/stdio.h" 3 4 extern int fputc (int __c, FILE *__stream); extern int putc (int __c, FILE *__stream); extern int putchar (int __c); # 537 "/usr/include/stdio.h" 3 4 extern int fputc_unlocked (int __c, FILE *__stream); extern int putc_unlocked (int __c, FILE *__stream); extern int putchar_unlocked (int __c); extern int getw (FILE *__stream); extern int putw (int __w, FILE *__stream); extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ; # 587 "/usr/include/stdio.h" 3 4 extern char *fgets_unlocked (char *__restrict __s, int __n, FILE *__restrict __stream) ; # 603 "/usr/include/stdio.h" 3 4 extern __ssize_t __getdelim (char **__restrict __lineptr, size_t *__restrict __n, int __delimiter, FILE *__restrict __stream) ; extern __ssize_t getdelim (char **__restrict __lineptr, size_t *__restrict __n, int __delimiter, FILE *__restrict __stream) ; extern __ssize_t getline (char **__restrict __lineptr, size_t *__restrict __n, FILE *__restrict __stream) ; extern int fputs (const char *__restrict __s, FILE *__restrict __stream); extern int puts (const char *__s); extern int ungetc (int __c, FILE *__stream); extern size_t fread (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) ; extern size_t fwrite (const void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __s); # 662 "/usr/include/stdio.h" 3 4 extern int fputs_unlocked (const char *__restrict __s, FILE *__restrict __stream); # 673 "/usr/include/stdio.h" 3 4 extern size_t fread_unlocked (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) ; extern size_t fwrite_unlocked (const void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream); extern int fseek (FILE *__stream, long int __off, int __whence); extern long int ftell (FILE *__stream) ; extern void rewind (FILE *__stream); # 707 "/usr/include/stdio.h" 3 4 extern int fseeko (FILE *__stream, __off_t __off, int __whence); extern __off_t ftello (FILE *__stream) ; # 731 "/usr/include/stdio.h" 3 4 extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos); extern int fsetpos (FILE *__stream, const fpos_t *__pos); # 750 "/usr/include/stdio.h" 3 4 extern int fseeko64 (FILE *__stream, __off64_t __off, int __whence); extern __off64_t ftello64 (FILE *__stream) ; extern int fgetpos64 (FILE *__restrict __stream, fpos64_t *__restrict __pos); extern int fsetpos64 (FILE *__stream, const fpos64_t *__pos); extern void clearerr (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)); extern int feof (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ; extern int ferror (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ; extern void clearerr_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)); extern int feof_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ; extern int ferror_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ; extern void perror (const char *__s); # 1 "/usr/include/bits/sys_errlist.h" 1 3 4 # 26 "/usr/include/bits/sys_errlist.h" 3 4 extern int sys_nerr; extern const char *const sys_errlist[]; extern int _sys_nerr; extern const char *const _sys_errlist[]; # 782 "/usr/include/stdio.h" 2 3 4 extern int fileno (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ; extern int fileno_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ; # 800 "/usr/include/stdio.h" 3 4 extern FILE *popen (const char *__command, const char *__modes) ; extern int pclose (FILE *__stream); extern char *ctermid (char *__s) __attribute__ ((__nothrow__ , __leaf__)); extern char *cuserid (char *__s); struct obstack; extern int obstack_printf (struct obstack *__restrict __obstack, const char *__restrict __format, ...) __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3))); extern int obstack_vprintf (struct obstack *__restrict __obstack, const char *__restrict __format, __gnuc_va_list __args) __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 0))); extern void flockfile (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)); extern int ftrylockfile (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ; extern void funlockfile (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)); # 859 "/usr/include/stdio.h" 3 4 # 1 "/usr/include/bits/stdio.h" 1 3 4 # 35 "/usr/include/bits/stdio.h" 3 4 extern __inline __attribute__ ((__gnu_inline__)) int vprintf (const char *__restrict __fmt, __gnuc_va_list __arg) { return vfprintf (stdout, __fmt, __arg); } extern __inline __attribute__ ((__gnu_inline__)) int getchar (void) { return _IO_getc (stdin); } extern __inline __attribute__ ((__gnu_inline__)) int fgetc_unlocked (FILE *__fp) { return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++); } extern __inline __attribute__ ((__gnu_inline__)) int getc_unlocked (FILE *__fp) { return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++); } extern __inline __attribute__ ((__gnu_inline__)) int getchar_unlocked (void) { return (__builtin_expect (((stdin)->_IO_read_ptr >= (stdin)->_IO_read_end), 0) ? __uflow (stdin) : *(unsigned char *) (stdin)->_IO_read_ptr++); } extern __inline __attribute__ ((__gnu_inline__)) int putchar (int __c) { return _IO_putc (__c, stdout); } extern __inline __attribute__ ((__gnu_inline__)) int fputc_unlocked (int __c, FILE *__stream) { return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c))); } extern __inline __attribute__ ((__gnu_inline__)) int putc_unlocked (int __c, FILE *__stream) { return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c))); } extern __inline __attribute__ ((__gnu_inline__)) int putchar_unlocked (int __c) { return (__builtin_expect (((stdout)->_IO_write_ptr >= (stdout)->_IO_write_end), 0) ? __overflow (stdout, (unsigned char) (__c)) : (unsigned char) (*(stdout)->_IO_write_ptr++ = (__c))); } extern __inline __attribute__ ((__gnu_inline__)) __ssize_t getline (char **__lineptr, size_t *__n, FILE *__stream) { return __getdelim (__lineptr, __n, '\n', __stream); } extern __inline __attribute__ ((__gnu_inline__)) int __attribute__ ((__nothrow__ , __leaf__)) feof_unlocked (FILE *__stream) { return (((__stream)->_flags & 0x10) != 0); } extern __inline __attribute__ ((__gnu_inline__)) int __attribute__ ((__nothrow__ , __leaf__)) ferror_unlocked (FILE *__stream) { return (((__stream)->_flags & 0x20) != 0); } # 860 "/usr/include/stdio.h" 2 3 4 # 868 "/usr/include/stdio.h" 3 4 # 44 "../gllib/stdio.h" 2 3 # 1 "/usr/lib/gcc/x86_64-redhat-linux/7/include/stdarg.h" 1 3 4 # 52 "../gllib/stdio.h" 2 3 # 1 "/usr/lib/gcc/x86_64-redhat-linux/7/include/stddef.h" 1 3 4 # 54 "../gllib/stdio.h" 2 3 # 1 "../gllib/sys/types.h" 1 3 # 20 "../gllib/sys/types.h" 3 # 21 "../gllib/sys/types.h" 3 # 1 "/usr/include/sys/types.h" 1 3 4 # 27 "/usr/include/sys/types.h" 3 4 typedef __u_char u_char; typedef __u_short u_short; typedef __u_int u_int; typedef __u_long u_long; typedef __quad_t quad_t; typedef __u_quad_t u_quad_t; typedef __fsid_t fsid_t; typedef __loff_t loff_t; typedef __ino_t ino_t; typedef __ino64_t ino64_t; typedef __dev_t dev_t; # 70 "/usr/include/sys/types.h" 3 4 typedef __mode_t mode_t; typedef __nlink_t nlink_t; # 104 "/usr/include/sys/types.h" 3 4 typedef __id_t id_t; # 115 "/usr/include/sys/types.h" 3 4 typedef __daddr_t daddr_t; typedef __caddr_t caddr_t; typedef __key_t key_t; # 1 "/usr/include/bits/types/clock_t.h" 1 3 4 typedef __clock_t clock_t; # 128 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/bits/types/clockid_t.h" 1 3 4 typedef __clockid_t clockid_t; # 130 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/bits/types/time_t.h" 1 3 4 typedef __time_t time_t; # 131 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/bits/types/timer_t.h" 1 3 4 typedef __timer_t timer_t; # 132 "/usr/include/sys/types.h" 2 3 4 typedef __suseconds_t suseconds_t; # 1 "/usr/lib/gcc/x86_64-redhat-linux/7/include/stddef.h" 1 3 4 # 146 "/usr/include/sys/types.h" 2 3 4 typedef unsigned long int ulong; typedef unsigned short int ushort; typedef unsigned int uint; # 1 "/usr/include/bits/stdint-intn.h" 1 3 4 # 24 "/usr/include/bits/stdint-intn.h" 3 4 typedef __int8_t int8_t; typedef __int16_t int16_t; typedef __int32_t int32_t; typedef __int64_t int64_t; # 157 "/usr/include/sys/types.h" 2 3 4 # 178 "/usr/include/sys/types.h" 3 4 typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); typedef int register_t __attribute__ ((__mode__ (__word__))); # 194 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/endian.h" 1 3 4 # 36 "/usr/include/endian.h" 3 4 # 1 "/usr/include/bits/endian.h" 1 3 4 # 37 "/usr/include/endian.h" 2 3 4 # 60 "/usr/include/endian.h" 3 4 # 1 "/usr/include/bits/byteswap.h" 1 3 4 # 28 "/usr/include/bits/byteswap.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 29 "/usr/include/bits/byteswap.h" 2 3 4 # 1 "/usr/include/bits/byteswap-16.h" 1 3 4 # 36 "/usr/include/bits/byteswap.h" 2 3 4 # 44 "/usr/include/bits/byteswap.h" 3 4 static __inline unsigned int __bswap_32 (unsigned int __bsx) { return __builtin_bswap32 (__bsx); } # 108 "/usr/include/bits/byteswap.h" 3 4 static __inline __uint64_t __bswap_64 (__uint64_t __bsx) { return __builtin_bswap64 (__bsx); } # 61 "/usr/include/endian.h" 2 3 4 # 1 "/usr/include/bits/uintn-identity.h" 1 3 4 # 32 "/usr/include/bits/uintn-identity.h" 3 4 static __inline __uint16_t __uint16_identity (__uint16_t __x) { return __x; } static __inline __uint32_t __uint32_identity (__uint32_t __x) { return __x; } static __inline __uint64_t __uint64_identity (__uint64_t __x) { return __x; } # 62 "/usr/include/endian.h" 2 3 4 # 195 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/select.h" 1 3 4 # 30 "/usr/include/sys/select.h" 3 4 # 1 "/usr/include/bits/select.h" 1 3 4 # 22 "/usr/include/bits/select.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 23 "/usr/include/bits/select.h" 2 3 4 # 31 "/usr/include/sys/select.h" 2 3 4 # 1 "/usr/include/bits/types/sigset_t.h" 1 3 4 # 1 "/usr/include/bits/types/__sigset_t.h" 1 3 4 typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; # 5 "/usr/include/bits/types/sigset_t.h" 2 3 4 typedef __sigset_t sigset_t; # 34 "/usr/include/sys/select.h" 2 3 4 # 1 "/usr/include/bits/types/struct_timeval.h" 1 3 4 struct timeval { __time_t tv_sec; __suseconds_t tv_usec; }; # 38 "/usr/include/sys/select.h" 2 3 4 # 1 "/usr/include/bits/types/struct_timespec.h" 1 3 4 struct timespec { __time_t tv_sec; __syscall_slong_t tv_nsec; }; # 40 "/usr/include/sys/select.h" 2 3 4 # 49 "/usr/include/sys/select.h" 3 4 typedef long int __fd_mask; # 59 "/usr/include/sys/select.h" 3 4 typedef struct { __fd_mask fds_bits[1024 / (8 * (int) sizeof (__fd_mask))]; } fd_set; typedef __fd_mask fd_mask; # 91 "/usr/include/sys/select.h" 3 4 # 101 "/usr/include/sys/select.h" 3 4 extern int select (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout); # 113 "/usr/include/sys/select.h" 3 4 extern int pselect (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, const struct timespec *__restrict __timeout, const __sigset_t *__restrict __sigmask); # 126 "/usr/include/sys/select.h" 3 4 # 198 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/sysmacros.h" 1 3 4 # 41 "/usr/include/sys/sysmacros.h" 3 4 # 1 "/usr/include/bits/sysmacros.h" 1 3 4 # 42 "/usr/include/sys/sysmacros.h" 2 3 4 # 71 "/usr/include/sys/sysmacros.h" 3 4 extern unsigned int gnu_dev_major (__dev_t __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern unsigned int gnu_dev_minor (__dev_t __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern __dev_t gnu_dev_makedev (unsigned int __major, unsigned int __minor) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); __extension__ extern __inline __attribute__ ((__gnu_inline__)) __attribute__ ((__const__)) unsigned int __attribute__ ((__nothrow__ , __leaf__)) gnu_dev_major (__dev_t __dev) { unsigned int __major; __major = ((__dev & (__dev_t) 0x00000000000fff00u) >> 8); __major |= ((__dev & (__dev_t) 0xfffff00000000000u) >> 32); return __major; } __extension__ extern __inline __attribute__ ((__gnu_inline__)) __attribute__ ((__const__)) unsigned int __attribute__ ((__nothrow__ , __leaf__)) gnu_dev_minor (__dev_t __dev) { unsigned int __minor; __minor = ((__dev & (__dev_t) 0x00000000000000ffu) >> 0); __minor |= ((__dev & (__dev_t) 0x00000ffffff00000u) >> 12); return __minor; } __extension__ extern __inline __attribute__ ((__gnu_inline__)) __attribute__ ((__const__)) __dev_t __attribute__ ((__nothrow__ , __leaf__)) gnu_dev_makedev (unsigned int __major, unsigned int __minor) { __dev_t __dev; __dev = (((__dev_t) (__major & 0x00000fffu)) << 8); __dev |= (((__dev_t) (__major & 0xfffff000u)) << 32); __dev |= (((__dev_t) (__minor & 0x000000ffu)) << 0); __dev |= (((__dev_t) (__minor & 0xffffff00u)) << 12); return __dev; } # 206 "/usr/include/sys/types.h" 2 3 4 typedef __blksize_t blksize_t; typedef __blkcnt_t blkcnt_t; typedef __fsblkcnt_t fsblkcnt_t; typedef __fsfilcnt_t fsfilcnt_t; # 246 "/usr/include/sys/types.h" 3 4 typedef __blkcnt64_t blkcnt64_t; typedef __fsblkcnt64_t fsblkcnt64_t; typedef __fsfilcnt64_t fsfilcnt64_t; # 1 "/usr/include/bits/pthreadtypes.h" 1 3 4 # 23 "/usr/include/bits/pthreadtypes.h" 3 4 # 1 "/usr/include/bits/thread-shared-types.h" 1 3 4 # 58 "/usr/include/bits/thread-shared-types.h" 3 4 # 1 "/usr/include/bits/pthreadtypes-arch.h" 1 3 4 # 21 "/usr/include/bits/pthreadtypes-arch.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 22 "/usr/include/bits/pthreadtypes-arch.h" 2 3 4 # 58 "/usr/include/bits/pthreadtypes-arch.h" 3 4 struct __pthread_rwlock_arch_t { unsigned int __readers; unsigned int __writers; unsigned int __wrphase_futex; unsigned int __writers_futex; unsigned int __pad3; unsigned int __pad4; int __cur_writer; int __shared; signed char __rwelision; unsigned char __pad1[7]; unsigned long int __pad2; unsigned int __flags; # 92 "/usr/include/bits/pthreadtypes-arch.h" 3 4 }; # 59 "/usr/include/bits/thread-shared-types.h" 2 3 4 typedef struct __pthread_internal_list { struct __pthread_internal_list *__prev; struct __pthread_internal_list *__next; } __pthread_list_t; # 99 "/usr/include/bits/thread-shared-types.h" 3 4 struct __pthread_mutex_s { int __lock ; unsigned int __count; int __owner; unsigned int __nusers; int __kind; short __spins; short __elision; __pthread_list_t __list; # 123 "/usr/include/bits/thread-shared-types.h" 3 4 }; struct __pthread_cond_s { __extension__ union { __extension__ unsigned long long int __wseq; struct { unsigned int __low; unsigned int __high; } __wseq32; }; __extension__ union { __extension__ unsigned long long int __g1_start; struct { unsigned int __low; unsigned int __high; } __g1_start32; }; unsigned int __g_refs[2] ; unsigned int __g_size[2]; unsigned int __g1_orig_size; unsigned int __wrefs; unsigned int __g_signals[2]; }; # 24 "/usr/include/bits/pthreadtypes.h" 2 3 4 typedef unsigned long int pthread_t; typedef union { char __size[4]; int __align; } pthread_mutexattr_t; typedef union { char __size[4]; int __align; } pthread_condattr_t; typedef unsigned int pthread_key_t; typedef int pthread_once_t; union pthread_attr_t { char __size[56]; long int __align; }; typedef union pthread_attr_t pthread_attr_t; typedef union { struct __pthread_mutex_s __data; char __size[40]; long int __align; } pthread_mutex_t; typedef union { struct __pthread_cond_s __data; char __size[48]; __extension__ long long int __align; } pthread_cond_t; typedef union { struct __pthread_rwlock_arch_t __data; char __size[56]; long int __align; } pthread_rwlock_t; typedef union { char __size[8]; long int __align; } pthread_rwlockattr_t; typedef volatile int pthread_spinlock_t; typedef union { char __size[32]; long int __align; } pthread_barrier_t; typedef union { char __size[4]; int __align; } pthread_barrierattr_t; # 255 "/usr/include/sys/types.h" 2 3 4 # 29 "../gllib/sys/types.h" 2 3 # 59 "../gllib/stdio.h" 2 3 # 669 "../gllib/stdio.h" 3 extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 712 "../gllib/stdio.h" 3 extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 727 "../gllib/stdio.h" 3 extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 770 "../gllib/stdio.h" 3 extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 821 "../gllib/stdio.h" 3 extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 836 "../gllib/stdio.h" 3 extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 851 "../gllib/stdio.h" 3 extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 891 "../gllib/stdio.h" 3 extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 1061 "../gllib/stdio.h" 3 extern int _gl_cxxalias_dummy ; # 1087 "../gllib/stdio.h" 3 extern int _gl_cxxalias_dummy; # 1099 "../gllib/stdio.h" 3 extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 1113 "../gllib/stdio.h" 3 extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 1349 "../gllib/stdio.h" 3 extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 1372 "../gllib/stdio.h" 3 extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 1386 "../gllib/stdio.h" 3 extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 1400 "../gllib/stdio.h" 3 extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 1502 "../gllib/stdio.h" 3 extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 1685 "../gllib/stdio.h" 3 extern int _gl_cxxalias_dummy ; extern int _gl_cxxalias_dummy; # 1740 "../gllib/stdio.h" 3 extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 23 "test-getopt-main.h" 2 # 1 "../gllib/stdlib.h" 1 # 20 "../gllib/stdlib.h" # 21 "../gllib/stdlib.h" 3 # 36 "../gllib/stdlib.h" 3 # 1 "/usr/include/stdlib.h" 1 3 4 # 25 "/usr/include/stdlib.h" 3 4 # 1 "/usr/include/bits/libc-header-start.h" 1 3 4 # 26 "/usr/include/stdlib.h" 2 3 4 # 1 "/usr/lib/gcc/x86_64-redhat-linux/7/include/stddef.h" 1 3 4 # 32 "/usr/include/stdlib.h" 2 3 4 # 1 "/usr/include/bits/waitflags.h" 1 3 4 # 40 "/usr/include/stdlib.h" 2 3 4 # 1 "/usr/include/bits/waitstatus.h" 1 3 4 # 41 "/usr/include/stdlib.h" 2 3 4 # 55 "/usr/include/stdlib.h" 3 4 # 1 "/usr/include/bits/floatn.h" 1 3 4 # 56 "/usr/include/stdlib.h" 2 3 4 typedef struct { int quot; int rem; } div_t; typedef struct { long int quot; long int rem; } ldiv_t; __extension__ typedef struct { long long int quot; long long int rem; } lldiv_t; # 97 "/usr/include/stdlib.h" 3 4 extern size_t __ctype_get_mb_cur_max (void) __attribute__ ((__nothrow__ , __leaf__)) ; extern double atof (const char *__nptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern int atoi (const char *__nptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern long int atol (const char *__nptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; __extension__ extern long long int atoll (const char *__nptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern double strtod (const char *__restrict __nptr, char **__restrict __endptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern float strtof (const char *__restrict __nptr, char **__restrict __endptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern long double strtold (const char *__restrict __nptr, char **__restrict __endptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern _Float128 strtof128 (const char *__restrict __nptr, char **__restrict __endptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern long int strtol (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern unsigned long int strtoul (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); __extension__ extern long long int strtoq (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); __extension__ extern unsigned long long int strtouq (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); __extension__ extern long long int strtoll (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); __extension__ extern unsigned long long int strtoull (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int strfromd (char *__dest, size_t __size, const char *__format, double __f) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))); extern int strfromf (char *__dest, size_t __size, const char *__format, float __f) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))); extern int strfroml (char *__dest, size_t __size, const char *__format, long double __f) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))); extern int strfromf128 (char *__dest, size_t __size, const char * __format, _Float128 __f) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))); # 1 "/usr/include/bits/types/locale_t.h" 1 3 4 # 22 "/usr/include/bits/types/locale_t.h" 3 4 # 1 "/usr/include/bits/types/__locale_t.h" 1 3 4 # 28 "/usr/include/bits/types/__locale_t.h" 3 4 struct __locale_struct { struct __locale_data *__locales[13]; const unsigned short int *__ctype_b; const int *__ctype_tolower; const int *__ctype_toupper; const char *__names[13]; }; typedef struct __locale_struct *__locale_t; # 23 "/usr/include/bits/types/locale_t.h" 2 3 4 typedef __locale_t locale_t; # 200 "/usr/include/stdlib.h" 2 3 4 extern long int strtol_l (const char *__restrict __nptr, char **__restrict __endptr, int __base, locale_t __loc) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 4))); extern unsigned long int strtoul_l (const char *__restrict __nptr, char **__restrict __endptr, int __base, locale_t __loc) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 4))); __extension__ extern long long int strtoll_l (const char *__restrict __nptr, char **__restrict __endptr, int __base, locale_t __loc) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 4))); __extension__ extern unsigned long long int strtoull_l (const char *__restrict __nptr, char **__restrict __endptr, int __base, locale_t __loc) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 4))); extern double strtod_l (const char *__restrict __nptr, char **__restrict __endptr, locale_t __loc) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 3))); extern float strtof_l (const char *__restrict __nptr, char **__restrict __endptr, locale_t __loc) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 3))); extern long double strtold_l (const char *__restrict __nptr, char **__restrict __endptr, locale_t __loc) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 3))); extern _Float128 strtof128_l (const char *__restrict __nptr, char **__restrict __endptr, locale_t __loc) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 3))); extern __inline __attribute__ ((__gnu_inline__)) int __attribute__ ((__nothrow__ , __leaf__)) atoi (const char *__nptr) { return (int) strtol (__nptr, (char **) ((void *)0), 10); } extern __inline __attribute__ ((__gnu_inline__)) long int __attribute__ ((__nothrow__ , __leaf__)) atol (const char *__nptr) { return strtol (__nptr, (char **) ((void *)0), 10); } __extension__ extern __inline __attribute__ ((__gnu_inline__)) long long int __attribute__ ((__nothrow__ , __leaf__)) atoll (const char *__nptr) { return strtoll (__nptr, (char **) ((void *)0), 10); } # 270 "/usr/include/stdlib.h" 3 4 extern char *l64a (long int __n) __attribute__ ((__nothrow__ , __leaf__)) ; extern long int a64l (const char *__s) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; # 1 "../gllib/sys/types.h" 1 3 4 # 20 "../gllib/sys/types.h" 3 4 # 21 "../gllib/sys/types.h" 3 # 280 "/usr/include/stdlib.h" 2 3 4 extern long int random (void) __attribute__ ((__nothrow__ , __leaf__)); extern void srandom (unsigned int __seed) __attribute__ ((__nothrow__ , __leaf__)); extern char *initstate (unsigned int __seed, char *__statebuf, size_t __statelen) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern char *setstate (char *__statebuf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); struct random_data { int32_t *fptr; int32_t *rptr; int32_t *state; int rand_type; int rand_deg; int rand_sep; int32_t *end_ptr; }; extern int random_r (struct random_data *__restrict __buf, int32_t *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int srandom_r (unsigned int __seed, struct random_data *__buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern int initstate_r (unsigned int __seed, char *__restrict __statebuf, size_t __statelen, struct random_data *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 4))); extern int setstate_r (char *__restrict __statebuf, struct random_data *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int rand (void) __attribute__ ((__nothrow__ , __leaf__)); extern void srand (unsigned int __seed) __attribute__ ((__nothrow__ , __leaf__)); extern int rand_r (unsigned int *__seed) __attribute__ ((__nothrow__ , __leaf__)); extern double drand48 (void) __attribute__ ((__nothrow__ , __leaf__)); extern double erand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern long int lrand48 (void) __attribute__ ((__nothrow__ , __leaf__)); extern long int nrand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern long int mrand48 (void) __attribute__ ((__nothrow__ , __leaf__)); extern long int jrand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern void srand48 (long int __seedval) __attribute__ ((__nothrow__ , __leaf__)); extern unsigned short int *seed48 (unsigned short int __seed16v[3]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern void lcong48 (unsigned short int __param[7]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); struct drand48_data { unsigned short int __x[3]; unsigned short int __old_x[3]; unsigned short int __c; unsigned short int __init; __extension__ unsigned long long int __a; }; extern int drand48_r (struct drand48_data *__restrict __buffer, double *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int erand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, double *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int lrand48_r (struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int nrand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int mrand48_r (struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int jrand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int srand48_r (long int __seedval, struct drand48_data *__buffer) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern int seed48_r (unsigned short int __seed16v[3], struct drand48_data *__buffer) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int lcong48_r (unsigned short int __param[7], struct drand48_data *__buffer) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern void *malloc (size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) ; extern void *calloc (size_t __nmemb, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) ; extern void *realloc (void *__ptr, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); extern void free (void *__ptr) __attribute__ ((__nothrow__ , __leaf__)); # 1 "../gllib/alloca.h" 1 3 4 # 452 "/usr/include/stdlib.h" 2 3 4 extern void *valloc (size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) ; extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; extern void *aligned_alloc (size_t __alignment, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__alloc_size__ (2))) ; extern void abort (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); extern int atexit (void (*__func) (void)) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int at_quick_exit (void (*__func) (void)) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern void exit (int __status) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); extern void quick_exit (int __status) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); extern void _Exit (int __status) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); extern char *getenv (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; extern char *secure_getenv (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; extern int putenv (char *__string) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int setenv (const char *__name, const char *__value, int __replace) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern int unsetenv (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int clearenv (void) __attribute__ ((__nothrow__ , __leaf__)); # 557 "/usr/include/stdlib.h" 3 4 extern char *mktemp (char *__template) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 570 "/usr/include/stdlib.h" 3 4 extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1))) ; # 580 "/usr/include/stdlib.h" 3 4 extern int mkstemp64 (char *__template) __attribute__ ((__nonnull__ (1))) ; # 592 "/usr/include/stdlib.h" 3 4 extern int mkstemps (char *__template, int __suffixlen) __attribute__ ((__nonnull__ (1))) ; # 602 "/usr/include/stdlib.h" 3 4 extern int mkstemps64 (char *__template, int __suffixlen) __attribute__ ((__nonnull__ (1))) ; # 613 "/usr/include/stdlib.h" 3 4 extern char *mkdtemp (char *__template) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; # 624 "/usr/include/stdlib.h" 3 4 extern int mkostemp (char *__template, int __flags) __attribute__ ((__nonnull__ (1))) ; # 634 "/usr/include/stdlib.h" 3 4 extern int mkostemp64 (char *__template, int __flags) __attribute__ ((__nonnull__ (1))) ; # 644 "/usr/include/stdlib.h" 3 4 extern int mkostemps (char *__template, int __suffixlen, int __flags) __attribute__ ((__nonnull__ (1))) ; # 656 "/usr/include/stdlib.h" 3 4 extern int mkostemps64 (char *__template, int __suffixlen, int __flags) __attribute__ ((__nonnull__ (1))) ; # 666 "/usr/include/stdlib.h" 3 4 extern int system (const char *__command) ; extern char *canonicalize_file_name (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; # 682 "/usr/include/stdlib.h" 3 4 extern char *realpath (const char *__restrict __name, char *__restrict __resolved) __attribute__ ((__nothrow__ , __leaf__)) ; typedef int (*__compar_fn_t) (const void *, const void *); typedef __compar_fn_t comparison_fn_t; typedef int (*__compar_d_fn_t) (const void *, const void *, void *); extern void *bsearch (const void *__key, const void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 2, 5))) ; # 1 "/usr/include/bits/stdlib-bsearch.h" 1 3 4 # 19 "/usr/include/bits/stdlib-bsearch.h" 3 4 extern __inline __attribute__ ((__gnu_inline__)) void * bsearch (const void *__key, const void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar) { size_t __l, __u, __idx; const void *__p; int __comparison; __l = 0; __u = __nmemb; while (__l < __u) { __idx = (__l + __u) / 2; __p = (void *) (((const char *) __base) + (__idx * __size)); __comparison = (*__compar) (__key, __p); if (__comparison < 0) __u = __idx; else if (__comparison > 0) __l = __idx + 1; else return (void *) __p; } return ((void *)0); } # 708 "/usr/include/stdlib.h" 2 3 4 extern void qsort (void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4))); extern void qsort_r (void *__base, size_t __nmemb, size_t __size, __compar_d_fn_t __compar, void *__arg) __attribute__ ((__nonnull__ (1, 4))); extern int abs (int __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; extern long int labs (long int __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; __extension__ extern long long int llabs (long long int __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; extern div_t div (int __numer, int __denom) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; extern ldiv_t ldiv (long int __numer, long int __denom) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; __extension__ extern lldiv_t lldiv (long long int __numer, long long int __denom) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; # 754 "/usr/include/stdlib.h" 3 4 extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) ; extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) ; extern char *gcvt (double __value, int __ndigit, char *__buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))) ; extern char *qecvt (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) ; extern char *qfcvt (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) ; extern char *qgcvt (long double __value, int __ndigit, char *__buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))) ; extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int qecvt_r (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int qfcvt_r (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int mblen (const char *__s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)); extern int mbtowc (wchar_t *__restrict __pwc, const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)); extern int wctomb (char *__s, wchar_t __wchar) __attribute__ ((__nothrow__ , __leaf__)); extern size_t mbstowcs (wchar_t *__restrict __pwcs, const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)); extern size_t wcstombs (char *__restrict __s, const wchar_t *__restrict __pwcs, size_t __n) __attribute__ ((__nothrow__ , __leaf__)); extern int rpmatch (const char *__response) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; # 839 "/usr/include/stdlib.h" 3 4 extern int getsubopt (char **__restrict __optionp, char *const *__restrict __tokens, char **__restrict __valuep) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2, 3))) ; extern void setkey (const char *__key) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int posix_openpt (int __oflag) ; extern int grantpt (int __fd) __attribute__ ((__nothrow__ , __leaf__)); extern int unlockpt (int __fd) __attribute__ ((__nothrow__ , __leaf__)); extern char *ptsname (int __fd) __attribute__ ((__nothrow__ , __leaf__)) ; extern int ptsname_r (int __fd, char *__buf, size_t __buflen) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern int getpt (void); extern int getloadavg (double __loadavg[], int __nelem) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 901 "/usr/include/stdlib.h" 3 4 # 1 "/usr/include/bits/stdlib-float.h" 1 3 4 # 24 "/usr/include/bits/stdlib-float.h" 3 4 extern __inline __attribute__ ((__gnu_inline__)) double __attribute__ ((__nothrow__ , __leaf__)) atof (const char *__nptr) { return strtod (__nptr, (char **) ((void *)0)); } # 902 "/usr/include/stdlib.h" 2 3 4 # 911 "/usr/include/stdlib.h" 3 4 # 37 "../gllib/stdlib.h" 2 3 # 1 "/usr/lib/gcc/x86_64-redhat-linux/7/include/stddef.h" 1 3 4 # 43 "../gllib/stdlib.h" 2 3 # 747 "../gllib/stdlib.h" 3 extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 980 "../gllib/stdlib.h" 3 extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 1322 "../gllib/stdlib.h" 3 extern int _gl_cxxalias_dummy ; extern int _gl_cxxalias_dummy; # 1440 "../gllib/stdlib.h" 3 extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 24 "test-getopt-main.h" 2 # 1 "/usr/include/string.h" 1 3 4 # 26 "/usr/include/string.h" 3 4 # 1 "/usr/include/bits/libc-header-start.h" 1 3 4 # 27 "/usr/include/string.h" 2 3 4 # 1 "/usr/lib/gcc/x86_64-redhat-linux/7/include/stddef.h" 1 3 4 # 34 "/usr/include/string.h" 2 3 4 # 42 "/usr/include/string.h" 3 4 extern void *memcpy (void *__restrict __dest, const void *__restrict __src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern void *memmove (void *__dest, const void *__src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern void *memccpy (void *__restrict __dest, const void *__restrict __src, int __c, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern void *memset (void *__s, int __c, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int memcmp (const void *__s1, const void *__s2, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 90 "/usr/include/string.h" 3 4 extern void *memchr (const void *__s, int __c, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 103 "/usr/include/string.h" 3 4 extern void *rawmemchr (const void *__s, int __c) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 114 "/usr/include/string.h" 3 4 extern void *memrchr (const void *__s, int __c, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern char *strcpy (char *__restrict __dest, const char *__restrict __src) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strncpy (char *__restrict __dest, const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strcat (char *__restrict __dest, const char *__restrict __src) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strncat (char *__restrict __dest, const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int strcmp (const char *__s1, const char *__s2) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strncmp (const char *__s1, const char *__s2, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strcoll (const char *__s1, const char *__s2) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern size_t strxfrm (char *__restrict __dest, const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern int strcoll_l (const char *__s1, const char *__s2, locale_t __l) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3))); extern size_t strxfrm_l (char *__dest, const char *__src, size_t __n, locale_t __l) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 4))); extern char *strdup (const char *__s) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); extern char *strndup (const char *__string, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); # 225 "/usr/include/string.h" 3 4 extern char *strchr (const char *__s, int __c) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 252 "/usr/include/string.h" 3 4 extern char *strrchr (const char *__s, int __c) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 265 "/usr/include/string.h" 3 4 extern char *strchrnul (const char *__s, int __c) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern size_t strcspn (const char *__s, const char *__reject) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern size_t strspn (const char *__s, const char *__accept) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 302 "/usr/include/string.h" 3 4 extern char *strpbrk (const char *__s, const char *__accept) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 329 "/usr/include/string.h" 3 4 extern char *strstr (const char *__haystack, const char *__needle) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strtok (char *__restrict __s, const char *__restrict __delim) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern char *__strtok_r (char *__restrict __s, const char *__restrict __delim, char **__restrict __save_ptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))); extern char *strtok_r (char *__restrict __s, const char *__restrict __delim, char **__restrict __save_ptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))); # 359 "/usr/include/string.h" 3 4 extern char *strcasestr (const char *__haystack, const char *__needle) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern void *memmem (const void *__haystack, size_t __haystacklen, const void *__needle, size_t __needlelen) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 3))); extern void *__mempcpy (void *__restrict __dest, const void *__restrict __src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern void *mempcpy (void *__restrict __dest, const void *__restrict __src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern size_t strlen (const char *__s) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern size_t strnlen (const char *__string, size_t __maxlen) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern char *strerror (int __errnum) __attribute__ ((__nothrow__ , __leaf__)); # 420 "/usr/include/string.h" 3 4 extern char *strerror_r (int __errnum, char *__buf, size_t __buflen) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) ; extern char *strerror_l (int __errnum, locale_t __l) __attribute__ ((__nothrow__ , __leaf__)); # 1 "/usr/include/strings.h" 1 3 4 # 23 "/usr/include/strings.h" 3 4 # 1 "/usr/lib/gcc/x86_64-redhat-linux/7/include/stddef.h" 1 3 4 # 24 "/usr/include/strings.h" 2 3 4 extern int bcmp (const void *__s1, const void *__s2, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern void bcopy (const void *__src, void *__dest, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern void bzero (void *__s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 68 "/usr/include/strings.h" 3 4 extern char *index (const char *__s, int __c) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 96 "/usr/include/strings.h" 3 4 extern char *rindex (const char *__s, int __c) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern int ffs (int __i) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int ffsl (long int __l) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); __extension__ extern int ffsll (long long int __ll) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int strcasecmp (const char *__s1, const char *__s2) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strcasecmp_l (const char *__s1, const char *__s2, locale_t __loc) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3))); extern int strncasecmp_l (const char *__s1, const char *__s2, size_t __n, locale_t __loc) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 4))); # 432 "/usr/include/string.h" 2 3 4 extern void explicit_bzero (void *__s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern char *strsep (char **__restrict __stringp, const char *__restrict __delim) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strsignal (int __sig) __attribute__ ((__nothrow__ , __leaf__)); extern char *__stpcpy (char *__restrict __dest, const char *__restrict __src) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern char *stpcpy (char *__restrict __dest, const char *__restrict __src) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern char *__stpncpy (char *__restrict __dest, const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern char *stpncpy (char *__restrict __dest, const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int strverscmp (const char *__s1, const char *__s2) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strfry (char *__string) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern void *memfrob (void *__s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 486 "/usr/include/string.h" 3 4 extern char *basename (const char *__filename) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 498 "/usr/include/string.h" 3 4 # 25 "test-getopt-main.h" 2 # 33 "test-getopt-main.h" # 1 "macros.h" 1 # 21 "macros.h" # 1 "../gllib/stdio.h" 1 # 20 "../gllib/stdio.h" # 21 "../gllib/stdio.h" 3 # 22 "macros.h" 2 # 1 "../gllib/stdlib.h" 1 # 20 "../gllib/stdlib.h" # 21 "../gllib/stdlib.h" 3 # 23 "macros.h" 2 # 79 "macros.h" # 79 "macros.h" extern const float randomf[1000]; extern const double randomd[1000]; extern const long double randoml[1000]; # 34 "test-getopt-main.h" 2 static FILE *myerr; # 1 "test-getopt.h" 1 # 19 "test-getopt.h" # 1 "/usr/lib/gcc/x86_64-redhat-linux/7/include/stdbool.h" 1 3 4 # 20 "test-getopt.h" 2 # 32 "test-getopt.h" static void getopt_loop (int argc, const char **argv, const char *options, int *a_seen, int *b_seen, const char **p_value, const char **q_value, int *non_options_count, const char **non_options, int *unrecognized, # 38 "test-getopt.h" 3 4 _Bool # 38 "test-getopt.h" *message_issued) { int c; int pos = ftell ( # 41 "test-getopt.h" 3 4 stderr # 41 "test-getopt.h" ); while ((c = getopt (argc, (char **) argv, options)) != -1) { switch (c) { case 'a': (*a_seen)++; break; case 'b': (*b_seen)++; break; case 'p': *p_value = optarg; break; case 'q': *q_value = optarg; break; case '\1': do { if (!(options[0] == '-')) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 61, "options[0] == '-'"); fflush (myerr); abort (); } } while (0); non_options[(*non_options_count)++] = optarg; break; case ':': do { if (!(options[0] == ':' || ((options[0] == '-' || options[0] == '+') && options[1] == ':'))) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h" # 66 "test-getopt.h" , 68 # 66 "test-getopt.h" , "options[0] == ':' || ((options[0] == '-' || options[0] == '+') && options[1] == ':')"); fflush (myerr); abort (); } } while (0) ; __attribute__ ((__fallthrough__)); case '?': *unrecognized = optopt; break; default: *unrecognized = c; break; } } *message_issued = pos < ftell ( # 79 "test-getopt.h" 3 4 stderr # 79 "test-getopt.h" ); } static void test_getopt (void) { int start; # 86 "test-getopt.h" 3 4 _Bool # 86 "test-getopt.h" posixly = !!getenv ("POSIXLY_CORRECT"); posixly = # 92 "test-getopt.h" 3 4 1 # 92 "test-getopt.h" ; for (start = 0; start <= 1; start++) { int a_seen = 0; int b_seen = 0; const char *p_value = # 100 "test-getopt.h" 3 4 ((void *)0) # 100 "test-getopt.h" ; const char *q_value = # 101 "test-getopt.h" 3 4 ((void *)0) # 101 "test-getopt.h" ; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; # 105 "test-getopt.h" 3 4 _Bool # 105 "test-getopt.h" output; int argc = 0; const char *argv[10]; argv[argc++] = "program"; argv[argc++] = "-a"; argv[argc++] = "foo"; argv[argc++] = "bar"; argv[argc] = # 113 "test-getopt.h" 3 4 ((void *)0) # 113 "test-getopt.h" ; optind = start; opterr = 1; getopt_loop (argc, argv, "ab", &a_seen, &b_seen, &p_value, &q_value, &non_options_count, non_options, &unrecognized, &output); do { if (!(a_seen == 1)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 119, "a_seen == 1"); fflush (myerr); abort (); } } while (0); do { if (!(b_seen == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 120, "b_seen == 0"); fflush (myerr); abort (); } } while (0); do { if (!(p_value == # 121 "test-getopt.h" 3 4 ((void *)0) # 121 "test-getopt.h" )) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 121, "p_value == NULL"); fflush (myerr); abort (); } } while (0); do { if (!(q_value == # 122 "test-getopt.h" 3 4 ((void *)0) # 122 "test-getopt.h" )) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 122, "q_value == NULL"); fflush (myerr); abort (); } } while (0); do { if (!(non_options_count == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 123, "non_options_count == 0"); fflush (myerr); abort (); } } while (0); do { if (!(unrecognized == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 124, "unrecognized == 0"); fflush (myerr); abort (); } } while (0); do { if (!(optind == 2)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 125, "optind == 2"); fflush (myerr); abort (); } } while (0); do { if (!(!output)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 126, "!output"); fflush (myerr); abort (); } } while (0); } for (start = 0; start <= 1; start++) { int a_seen = 0; int b_seen = 0; const char *p_value = # 132 "test-getopt.h" 3 4 ((void *)0) # 132 "test-getopt.h" ; const char *q_value = # 133 "test-getopt.h" 3 4 ((void *)0) # 133 "test-getopt.h" ; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; # 137 "test-getopt.h" 3 4 _Bool # 137 "test-getopt.h" output; int argc = 0; const char *argv[10]; argv[argc++] = "program"; argv[argc++] = "-b"; argv[argc++] = "-a"; argv[argc++] = "foo"; argv[argc++] = "bar"; argv[argc] = # 146 "test-getopt.h" 3 4 ((void *)0) # 146 "test-getopt.h" ; optind = start; opterr = 1; getopt_loop (argc, argv, "ab", &a_seen, &b_seen, &p_value, &q_value, &non_options_count, non_options, &unrecognized, &output); do { if (!(a_seen == 1)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 152, "a_seen == 1"); fflush (myerr); abort (); } } while (0); do { if (!(b_seen == 1)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 153, "b_seen == 1"); fflush (myerr); abort (); } } while (0); do { if (!(p_value == # 154 "test-getopt.h" 3 4 ((void *)0) # 154 "test-getopt.h" )) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 154, "p_value == NULL"); fflush (myerr); abort (); } } while (0); do { if (!(q_value == # 155 "test-getopt.h" 3 4 ((void *)0) # 155 "test-getopt.h" )) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 155, "q_value == NULL"); fflush (myerr); abort (); } } while (0); do { if (!(non_options_count == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 156, "non_options_count == 0"); fflush (myerr); abort (); } } while (0); do { if (!(unrecognized == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 157, "unrecognized == 0"); fflush (myerr); abort (); } } while (0); do { if (!(optind == 3)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 158, "optind == 3"); fflush (myerr); abort (); } } while (0); do { if (!(!output)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 159, "!output"); fflush (myerr); abort (); } } while (0); } for (start = 0; start <= 1; start++) { int a_seen = 0; int b_seen = 0; const char *p_value = # 165 "test-getopt.h" 3 4 ((void *)0) # 165 "test-getopt.h" ; const char *q_value = # 166 "test-getopt.h" 3 4 ((void *)0) # 166 "test-getopt.h" ; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; # 170 "test-getopt.h" 3 4 _Bool # 170 "test-getopt.h" output; int argc = 0; const char *argv[10]; argv[argc++] = "program"; argv[argc++] = "-ba"; argv[argc++] = "foo"; argv[argc++] = "bar"; argv[argc] = # 178 "test-getopt.h" 3 4 ((void *)0) # 178 "test-getopt.h" ; optind = start; opterr = 1; getopt_loop (argc, argv, "ab", &a_seen, &b_seen, &p_value, &q_value, &non_options_count, non_options, &unrecognized, &output); do { if (!(a_seen == 1)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 184, "a_seen == 1"); fflush (myerr); abort (); } } while (0); do { if (!(b_seen == 1)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 185, "b_seen == 1"); fflush (myerr); abort (); } } while (0); do { if (!(p_value == # 186 "test-getopt.h" 3 4 ((void *)0) # 186 "test-getopt.h" )) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 186, "p_value == NULL"); fflush (myerr); abort (); } } while (0); do { if (!(q_value == # 187 "test-getopt.h" 3 4 ((void *)0) # 187 "test-getopt.h" )) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 187, "q_value == NULL"); fflush (myerr); abort (); } } while (0); do { if (!(non_options_count == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 188, "non_options_count == 0"); fflush (myerr); abort (); } } while (0); do { if (!(unrecognized == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 189, "unrecognized == 0"); fflush (myerr); abort (); } } while (0); do { if (!(optind == 2)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 190, "optind == 2"); fflush (myerr); abort (); } } while (0); do { if (!(!output)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 191, "!output"); fflush (myerr); abort (); } } while (0); } for (start = 0; start <= 1; start++) { int a_seen = 0; int b_seen = 0; const char *p_value = # 197 "test-getopt.h" 3 4 ((void *)0) # 197 "test-getopt.h" ; const char *q_value = # 198 "test-getopt.h" 3 4 ((void *)0) # 198 "test-getopt.h" ; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; # 202 "test-getopt.h" 3 4 _Bool # 202 "test-getopt.h" output; int argc = 0; const char *argv[10]; argv[argc++] = "program"; argv[argc++] = "-ab"; argv[argc++] = "-a"; argv[argc++] = "foo"; argv[argc++] = "bar"; argv[argc] = # 211 "test-getopt.h" 3 4 ((void *)0) # 211 "test-getopt.h" ; optind = start; opterr = 1; getopt_loop (argc, argv, "ab", &a_seen, &b_seen, &p_value, &q_value, &non_options_count, non_options, &unrecognized, &output); do { if (!(a_seen == 2)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 217, "a_seen == 2"); fflush (myerr); abort (); } } while (0); do { if (!(b_seen == 1)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 218, "b_seen == 1"); fflush (myerr); abort (); } } while (0); do { if (!(p_value == # 219 "test-getopt.h" 3 4 ((void *)0) # 219 "test-getopt.h" )) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 219, "p_value == NULL"); fflush (myerr); abort (); } } while (0); do { if (!(q_value == # 220 "test-getopt.h" 3 4 ((void *)0) # 220 "test-getopt.h" )) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 220, "q_value == NULL"); fflush (myerr); abort (); } } while (0); do { if (!(non_options_count == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 221, "non_options_count == 0"); fflush (myerr); abort (); } } while (0); do { if (!(unrecognized == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 222, "unrecognized == 0"); fflush (myerr); abort (); } } while (0); do { if (!(optind == 3)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 223, "optind == 3"); fflush (myerr); abort (); } } while (0); do { if (!(!output)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 224, "!output"); fflush (myerr); abort (); } } while (0); } for (start = 0; start <= 1; start++) { int a_seen = 0; int b_seen = 0; const char *p_value = # 232 "test-getopt.h" 3 4 ((void *)0) # 232 "test-getopt.h" ; const char *q_value = # 233 "test-getopt.h" 3 4 ((void *)0) # 233 "test-getopt.h" ; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; # 237 "test-getopt.h" 3 4 _Bool # 237 "test-getopt.h" output; int argc = 0; const char *argv[10]; argv[argc++] = "program"; argv[argc++] = "-pfoo"; argv[argc++] = "bar"; argv[argc] = # 244 "test-getopt.h" 3 4 ((void *)0) # 244 "test-getopt.h" ; optind = start; opterr = 1; getopt_loop (argc, argv, "p:q:", &a_seen, &b_seen, &p_value, &q_value, &non_options_count, non_options, &unrecognized, &output); do { if (!(a_seen == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 250, "a_seen == 0"); fflush (myerr); abort (); } } while (0); do { if (!(b_seen == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 251, "b_seen == 0"); fflush (myerr); abort (); } } while (0); do { if (!(p_value != # 252 "test-getopt.h" 3 4 ((void *)0) # 252 "test-getopt.h" && strcmp (p_value, "foo") == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 252, "p_value != NULL && strcmp (p_value, \"foo\") == 0"); fflush (myerr); abort (); } } while (0); do { if (!(q_value == # 253 "test-getopt.h" 3 4 ((void *)0) # 253 "test-getopt.h" )) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 253, "q_value == NULL"); fflush (myerr); abort (); } } while (0); do { if (!(non_options_count == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 254, "non_options_count == 0"); fflush (myerr); abort (); } } while (0); do { if (!(unrecognized == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 255, "unrecognized == 0"); fflush (myerr); abort (); } } while (0); do { if (!(optind == 2)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 256, "optind == 2"); fflush (myerr); abort (); } } while (0); do { if (!(!output)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 257, "!output"); fflush (myerr); abort (); } } while (0); } for (start = 0; start <= 1; start++) { int a_seen = 0; int b_seen = 0; const char *p_value = # 263 "test-getopt.h" 3 4 ((void *)0) # 263 "test-getopt.h" ; const char *q_value = # 264 "test-getopt.h" 3 4 ((void *)0) # 264 "test-getopt.h" ; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; # 268 "test-getopt.h" 3 4 _Bool # 268 "test-getopt.h" output; int argc = 0; const char *argv[10]; argv[argc++] = "program"; argv[argc++] = "-p"; argv[argc++] = "foo"; argv[argc++] = "bar"; argv[argc] = # 276 "test-getopt.h" 3 4 ((void *)0) # 276 "test-getopt.h" ; optind = start; opterr = 1; getopt_loop (argc, argv, "p:q:", &a_seen, &b_seen, &p_value, &q_value, &non_options_count, non_options, &unrecognized, &output); do { if (!(a_seen == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 282, "a_seen == 0"); fflush (myerr); abort (); } } while (0); do { if (!(b_seen == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 283, "b_seen == 0"); fflush (myerr); abort (); } } while (0); do { if (!(p_value != # 284 "test-getopt.h" 3 4 ((void *)0) # 284 "test-getopt.h" && strcmp (p_value, "foo") == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 284, "p_value != NULL && strcmp (p_value, \"foo\") == 0"); fflush (myerr); abort (); } } while (0); do { if (!(q_value == # 285 "test-getopt.h" 3 4 ((void *)0) # 285 "test-getopt.h" )) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 285, "q_value == NULL"); fflush (myerr); abort (); } } while (0); do { if (!(non_options_count == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 286, "non_options_count == 0"); fflush (myerr); abort (); } } while (0); do { if (!(unrecognized == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 287, "unrecognized == 0"); fflush (myerr); abort (); } } while (0); do { if (!(optind == 3)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 288, "optind == 3"); fflush (myerr); abort (); } } while (0); do { if (!(!output)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 289, "!output"); fflush (myerr); abort (); } } while (0); } for (start = 0; start <= 1; start++) { int a_seen = 0; int b_seen = 0; const char *p_value = # 295 "test-getopt.h" 3 4 ((void *)0) # 295 "test-getopt.h" ; const char *q_value = # 296 "test-getopt.h" 3 4 ((void *)0) # 296 "test-getopt.h" ; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; # 300 "test-getopt.h" 3 4 _Bool # 300 "test-getopt.h" output; int argc = 0; const char *argv[10]; argv[argc++] = "program"; argv[argc++] = "-ab"; argv[argc++] = "-q"; argv[argc++] = "baz"; argv[argc++] = "-pfoo"; argv[argc++] = "bar"; argv[argc] = # 310 "test-getopt.h" 3 4 ((void *)0) # 310 "test-getopt.h" ; optind = start; opterr = 1; getopt_loop (argc, argv, "abp:q:", &a_seen, &b_seen, &p_value, &q_value, &non_options_count, non_options, &unrecognized, &output); do { if (!(a_seen == 1)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 316, "a_seen == 1"); fflush (myerr); abort (); } } while (0); do { if (!(b_seen == 1)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 317, "b_seen == 1"); fflush (myerr); abort (); } } while (0); do { if (!(p_value != # 318 "test-getopt.h" 3 4 ((void *)0) # 318 "test-getopt.h" && strcmp (p_value, "foo") == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 318, "p_value != NULL && strcmp (p_value, \"foo\") == 0"); fflush (myerr); abort (); } } while (0); do { if (!(q_value != # 319 "test-getopt.h" 3 4 ((void *)0) # 319 "test-getopt.h" && strcmp (q_value, "baz") == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 319, "q_value != NULL && strcmp (q_value, \"baz\") == 0"); fflush (myerr); abort (); } } while (0); do { if (!(non_options_count == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 320, "non_options_count == 0"); fflush (myerr); abort (); } } while (0); do { if (!(unrecognized == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 321, "unrecognized == 0"); fflush (myerr); abort (); } } while (0); do { if (!(optind == 5)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 322, "optind == 5"); fflush (myerr); abort (); } } while (0); do { if (!(!output)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 323, "!output"); fflush (myerr); abort (); } } while (0); } # 427 "test-getopt.h" for (start = 0; start <= 1; start++) { int a_seen = 0; int b_seen = 0; const char *p_value = # 431 "test-getopt.h" 3 4 ((void *)0) # 431 "test-getopt.h" ; const char *q_value = # 432 "test-getopt.h" 3 4 ((void *)0) # 432 "test-getopt.h" ; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; # 436 "test-getopt.h" 3 4 _Bool # 436 "test-getopt.h" output; int argc = 0; const char *argv[10]; argv[argc++] = "program"; argv[argc++] = "-p"; argv[argc++] = "foo"; argv[argc++] = "-x"; argv[argc++] = "-a"; argv[argc++] = "bar"; argv[argc] = # 446 "test-getopt.h" 3 4 ((void *)0) # 446 "test-getopt.h" ; optind = start; opterr = 42; getopt_loop (argc, argv, "abp:q:", &a_seen, &b_seen, &p_value, &q_value, &non_options_count, non_options, &unrecognized, &output); do { if (!(a_seen == 1)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 452, "a_seen == 1"); fflush (myerr); abort (); } } while (0); do { if (!(b_seen == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 453, "b_seen == 0"); fflush (myerr); abort (); } } while (0); do { if (!(p_value != # 454 "test-getopt.h" 3 4 ((void *)0) # 454 "test-getopt.h" && strcmp (p_value, "foo") == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 454, "p_value != NULL && strcmp (p_value, \"foo\") == 0"); fflush (myerr); abort (); } } while (0); do { if (!(q_value == # 455 "test-getopt.h" 3 4 ((void *)0) # 455 "test-getopt.h" )) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 455, "q_value == NULL"); fflush (myerr); abort (); } } while (0); do { if (!(non_options_count == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 456, "non_options_count == 0"); fflush (myerr); abort (); } } while (0); do { if (!(unrecognized == 'x')) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 457, "unrecognized == 'x'"); fflush (myerr); abort (); } } while (0); do { if (!(optind == 5)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 458, "optind == 5"); fflush (myerr); abort (); } } while (0); do { if (!(output)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 459, "output"); fflush (myerr); abort (); } } while (0); } for (start = 0; start <= 1; start++) { int a_seen = 0; int b_seen = 0; const char *p_value = # 465 "test-getopt.h" 3 4 ((void *)0) # 465 "test-getopt.h" ; const char *q_value = # 466 "test-getopt.h" 3 4 ((void *)0) # 466 "test-getopt.h" ; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; # 470 "test-getopt.h" 3 4 _Bool # 470 "test-getopt.h" output; int argc = 0; const char *argv[10]; argv[argc++] = "program"; argv[argc++] = "-p"; argv[argc++] = "foo"; argv[argc++] = "-x"; argv[argc++] = "-a"; argv[argc++] = "bar"; argv[argc] = # 480 "test-getopt.h" 3 4 ((void *)0) # 480 "test-getopt.h" ; optind = start; opterr = 0; getopt_loop (argc, argv, "abp:q:", &a_seen, &b_seen, &p_value, &q_value, &non_options_count, non_options, &unrecognized, &output); do { if (!(a_seen == 1)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 486, "a_seen == 1"); fflush (myerr); abort (); } } while (0); do { if (!(b_seen == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 487, "b_seen == 0"); fflush (myerr); abort (); } } while (0); do { if (!(p_value != # 488 "test-getopt.h" 3 4 ((void *)0) # 488 "test-getopt.h" && strcmp (p_value, "foo") == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 488, "p_value != NULL && strcmp (p_value, \"foo\") == 0"); fflush (myerr); abort (); } } while (0); do { if (!(q_value == # 489 "test-getopt.h" 3 4 ((void *)0) # 489 "test-getopt.h" )) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 489, "q_value == NULL"); fflush (myerr); abort (); } } while (0); do { if (!(non_options_count == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 490, "non_options_count == 0"); fflush (myerr); abort (); } } while (0); do { if (!(unrecognized == 'x')) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 491, "unrecognized == 'x'"); fflush (myerr); abort (); } } while (0); do { if (!(optind == 5)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 492, "optind == 5"); fflush (myerr); abort (); } } while (0); do { if (!(!output)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 493, "!output"); fflush (myerr); abort (); } } while (0); } for (start = 0; start <= 1; start++) { int a_seen = 0; int b_seen = 0; const char *p_value = # 499 "test-getopt.h" 3 4 ((void *)0) # 499 "test-getopt.h" ; const char *q_value = # 500 "test-getopt.h" 3 4 ((void *)0) # 500 "test-getopt.h" ; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; # 504 "test-getopt.h" 3 4 _Bool # 504 "test-getopt.h" output; int argc = 0; const char *argv[10]; argv[argc++] = "program"; argv[argc++] = "-p"; argv[argc++] = "foo"; argv[argc++] = "-x"; argv[argc++] = "-a"; argv[argc++] = "bar"; argv[argc] = # 514 "test-getopt.h" 3 4 ((void *)0) # 514 "test-getopt.h" ; optind = start; opterr = 1; getopt_loop (argc, argv, ":abp:q:", &a_seen, &b_seen, &p_value, &q_value, &non_options_count, non_options, &unrecognized, &output); do { if (!(a_seen == 1)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 520, "a_seen == 1"); fflush (myerr); abort (); } } while (0); do { if (!(b_seen == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 521, "b_seen == 0"); fflush (myerr); abort (); } } while (0); do { if (!(p_value != # 522 "test-getopt.h" 3 4 ((void *)0) # 522 "test-getopt.h" && strcmp (p_value, "foo") == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 522, "p_value != NULL && strcmp (p_value, \"foo\") == 0"); fflush (myerr); abort (); } } while (0); do { if (!(q_value == # 523 "test-getopt.h" 3 4 ((void *)0) # 523 "test-getopt.h" )) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 523, "q_value == NULL"); fflush (myerr); abort (); } } while (0); do { if (!(non_options_count == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 524, "non_options_count == 0"); fflush (myerr); abort (); } } while (0); do { if (!(unrecognized == 'x')) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 525, "unrecognized == 'x'"); fflush (myerr); abort (); } } while (0); do { if (!(optind == 5)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 526, "optind == 5"); fflush (myerr); abort (); } } while (0); do { if (!(!output)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 527, "!output"); fflush (myerr); abort (); } } while (0); } for (start = 0; start <= 1; start++) { int a_seen = 0; int b_seen = 0; const char *p_value = # 533 "test-getopt.h" 3 4 ((void *)0) # 533 "test-getopt.h" ; const char *q_value = # 534 "test-getopt.h" 3 4 ((void *)0) # 534 "test-getopt.h" ; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; # 538 "test-getopt.h" 3 4 _Bool # 538 "test-getopt.h" output; int argc = 0; const char *argv[10]; argv[argc++] = "program"; argv[argc++] = "-p"; argv[argc++] = "foo"; argv[argc++] = "-:"; argv[argc++] = "-a"; argv[argc++] = "bar"; argv[argc] = # 548 "test-getopt.h" 3 4 ((void *)0) # 548 "test-getopt.h" ; optind = start; opterr = 42; getopt_loop (argc, argv, "abp:q:", &a_seen, &b_seen, &p_value, &q_value, &non_options_count, non_options, &unrecognized, &output); do { if (!(a_seen == 1)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 554, "a_seen == 1"); fflush (myerr); abort (); } } while (0); do { if (!(b_seen == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 555, "b_seen == 0"); fflush (myerr); abort (); } } while (0); do { if (!(p_value != # 556 "test-getopt.h" 3 4 ((void *)0) # 556 "test-getopt.h" && strcmp (p_value, "foo") == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 556, "p_value != NULL && strcmp (p_value, \"foo\") == 0"); fflush (myerr); abort (); } } while (0); do { if (!(q_value == # 557 "test-getopt.h" 3 4 ((void *)0) # 557 "test-getopt.h" )) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 557, "q_value == NULL"); fflush (myerr); abort (); } } while (0); do { if (!(non_options_count == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 558, "non_options_count == 0"); fflush (myerr); abort (); } } while (0); do { if (!(unrecognized == ':')) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 559, "unrecognized == ':'"); fflush (myerr); abort (); } } while (0); do { if (!(optind == 5)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 560, "optind == 5"); fflush (myerr); abort (); } } while (0); do { if (!(output)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 561, "output"); fflush (myerr); abort (); } } while (0); } for (start = 0; start <= 1; start++) { int a_seen = 0; int b_seen = 0; const char *p_value = # 567 "test-getopt.h" 3 4 ((void *)0) # 567 "test-getopt.h" ; const char *q_value = # 568 "test-getopt.h" 3 4 ((void *)0) # 568 "test-getopt.h" ; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; # 572 "test-getopt.h" 3 4 _Bool # 572 "test-getopt.h" output; int argc = 0; const char *argv[10]; argv[argc++] = "program"; argv[argc++] = "-p"; argv[argc++] = "foo"; argv[argc++] = "-:"; argv[argc++] = "-a"; argv[argc++] = "bar"; argv[argc] = # 582 "test-getopt.h" 3 4 ((void *)0) # 582 "test-getopt.h" ; optind = start; opterr = 0; getopt_loop (argc, argv, "abp:q:", &a_seen, &b_seen, &p_value, &q_value, &non_options_count, non_options, &unrecognized, &output); do { if (!(a_seen == 1)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 588, "a_seen == 1"); fflush (myerr); abort (); } } while (0); do { if (!(b_seen == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 589, "b_seen == 0"); fflush (myerr); abort (); } } while (0); do { if (!(p_value != # 590 "test-getopt.h" 3 4 ((void *)0) # 590 "test-getopt.h" && strcmp (p_value, "foo") == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 590, "p_value != NULL && strcmp (p_value, \"foo\") == 0"); fflush (myerr); abort (); } } while (0); do { if (!(q_value == # 591 "test-getopt.h" 3 4 ((void *)0) # 591 "test-getopt.h" )) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 591, "q_value == NULL"); fflush (myerr); abort (); } } while (0); do { if (!(non_options_count == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 592, "non_options_count == 0"); fflush (myerr); abort (); } } while (0); do { if (!(unrecognized == ':')) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 593, "unrecognized == ':'"); fflush (myerr); abort (); } } while (0); do { if (!(optind == 5)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 594, "optind == 5"); fflush (myerr); abort (); } } while (0); do { if (!(!output)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 595, "!output"); fflush (myerr); abort (); } } while (0); } for (start = 0; start <= 1; start++) { int a_seen = 0; int b_seen = 0; const char *p_value = # 601 "test-getopt.h" 3 4 ((void *)0) # 601 "test-getopt.h" ; const char *q_value = # 602 "test-getopt.h" 3 4 ((void *)0) # 602 "test-getopt.h" ; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; # 606 "test-getopt.h" 3 4 _Bool # 606 "test-getopt.h" output; int argc = 0; const char *argv[10]; argv[argc++] = "program"; argv[argc++] = "-p"; argv[argc++] = "foo"; argv[argc++] = "-:"; argv[argc++] = "-a"; argv[argc++] = "bar"; argv[argc] = # 616 "test-getopt.h" 3 4 ((void *)0) # 616 "test-getopt.h" ; optind = start; opterr = 1; getopt_loop (argc, argv, ":abp:q:", &a_seen, &b_seen, &p_value, &q_value, &non_options_count, non_options, &unrecognized, &output); do { if (!(a_seen == 1)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 622, "a_seen == 1"); fflush (myerr); abort (); } } while (0); do { if (!(b_seen == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 623, "b_seen == 0"); fflush (myerr); abort (); } } while (0); do { if (!(p_value != # 624 "test-getopt.h" 3 4 ((void *)0) # 624 "test-getopt.h" && strcmp (p_value, "foo") == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 624, "p_value != NULL && strcmp (p_value, \"foo\") == 0"); fflush (myerr); abort (); } } while (0); do { if (!(q_value == # 625 "test-getopt.h" 3 4 ((void *)0) # 625 "test-getopt.h" )) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 625, "q_value == NULL"); fflush (myerr); abort (); } } while (0); do { if (!(non_options_count == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 626, "non_options_count == 0"); fflush (myerr); abort (); } } while (0); do { if (!(unrecognized == ':')) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 627, "unrecognized == ':'"); fflush (myerr); abort (); } } while (0); do { if (!(optind == 5)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 628, "optind == 5"); fflush (myerr); abort (); } } while (0); do { if (!(!output)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 629, "!output"); fflush (myerr); abort (); } } while (0); } for (start = 0; start <= 1; start++) { int a_seen = 0; int b_seen = 0; const char *p_value = # 637 "test-getopt.h" 3 4 ((void *)0) # 637 "test-getopt.h" ; const char *q_value = # 638 "test-getopt.h" 3 4 ((void *)0) # 638 "test-getopt.h" ; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; # 642 "test-getopt.h" 3 4 _Bool # 642 "test-getopt.h" output; int argc = 0; const char *argv[10]; argv[argc++] = "program"; argv[argc++] = "-ap"; argv[argc] = # 648 "test-getopt.h" 3 4 ((void *)0) # 648 "test-getopt.h" ; optind = start; opterr = 1; getopt_loop (argc, argv, "abp:q:", &a_seen, &b_seen, &p_value, &q_value, &non_options_count, non_options, &unrecognized, &output); do { if (!(a_seen == 1)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 654, "a_seen == 1"); fflush (myerr); abort (); } } while (0); do { if (!(b_seen == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 655, "b_seen == 0"); fflush (myerr); abort (); } } while (0); do { if (!(p_value == # 656 "test-getopt.h" 3 4 ((void *)0) # 656 "test-getopt.h" )) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 656, "p_value == NULL"); fflush (myerr); abort (); } } while (0); do { if (!(q_value == # 657 "test-getopt.h" 3 4 ((void *)0) # 657 "test-getopt.h" )) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 657, "q_value == NULL"); fflush (myerr); abort (); } } while (0); do { if (!(non_options_count == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 658, "non_options_count == 0"); fflush (myerr); abort (); } } while (0); do { if (!(unrecognized == 'p')) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 659, "unrecognized == 'p'"); fflush (myerr); abort (); } } while (0); do { if (!(optind == 2)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 660, "optind == 2"); fflush (myerr); abort (); } } while (0); do { if (!(output)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 661, "output"); fflush (myerr); abort (); } } while (0); } for (start = 0; start <= 1; start++) { int a_seen = 0; int b_seen = 0; const char *p_value = # 667 "test-getopt.h" 3 4 ((void *)0) # 667 "test-getopt.h" ; const char *q_value = # 668 "test-getopt.h" 3 4 ((void *)0) # 668 "test-getopt.h" ; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; # 672 "test-getopt.h" 3 4 _Bool # 672 "test-getopt.h" output; int argc = 0; const char *argv[10]; argv[argc++] = "program"; argv[argc++] = "-ap"; argv[argc] = # 678 "test-getopt.h" 3 4 ((void *)0) # 678 "test-getopt.h" ; optind = start; opterr = 0; getopt_loop (argc, argv, "abp:q:", &a_seen, &b_seen, &p_value, &q_value, &non_options_count, non_options, &unrecognized, &output); do { if (!(a_seen == 1)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 684, "a_seen == 1"); fflush (myerr); abort (); } } while (0); do { if (!(b_seen == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 685, "b_seen == 0"); fflush (myerr); abort (); } } while (0); do { if (!(p_value == # 686 "test-getopt.h" 3 4 ((void *)0) # 686 "test-getopt.h" )) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 686, "p_value == NULL"); fflush (myerr); abort (); } } while (0); do { if (!(q_value == # 687 "test-getopt.h" 3 4 ((void *)0) # 687 "test-getopt.h" )) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 687, "q_value == NULL"); fflush (myerr); abort (); } } while (0); do { if (!(non_options_count == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 688, "non_options_count == 0"); fflush (myerr); abort (); } } while (0); do { if (!(unrecognized == 'p')) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 689, "unrecognized == 'p'"); fflush (myerr); abort (); } } while (0); do { if (!(optind == 2)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 690, "optind == 2"); fflush (myerr); abort (); } } while (0); do { if (!(!output)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 691, "!output"); fflush (myerr); abort (); } } while (0); } for (start = 0; start <= 1; start++) { int a_seen = 0; int b_seen = 0; const char *p_value = # 697 "test-getopt.h" 3 4 ((void *)0) # 697 "test-getopt.h" ; const char *q_value = # 698 "test-getopt.h" 3 4 ((void *)0) # 698 "test-getopt.h" ; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; # 702 "test-getopt.h" 3 4 _Bool # 702 "test-getopt.h" output; int argc = 0; const char *argv[10]; argv[argc++] = "program"; argv[argc++] = "-ap"; argv[argc] = # 708 "test-getopt.h" 3 4 ((void *)0) # 708 "test-getopt.h" ; optind = start; opterr = 1; getopt_loop (argc, argv, ":abp:q:", &a_seen, &b_seen, &p_value, &q_value, &non_options_count, non_options, &unrecognized, &output); do { if (!(a_seen == 1)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 714, "a_seen == 1"); fflush (myerr); abort (); } } while (0); do { if (!(b_seen == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 715, "b_seen == 0"); fflush (myerr); abort (); } } while (0); do { if (!(p_value == # 716 "test-getopt.h" 3 4 ((void *)0) # 716 "test-getopt.h" )) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 716, "p_value == NULL"); fflush (myerr); abort (); } } while (0); do { if (!(q_value == # 717 "test-getopt.h" 3 4 ((void *)0) # 717 "test-getopt.h" )) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 717, "q_value == NULL"); fflush (myerr); abort (); } } while (0); do { if (!(non_options_count == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 718, "non_options_count == 0"); fflush (myerr); abort (); } } while (0); do { if (!(unrecognized == 'p')) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 719, "unrecognized == 'p'"); fflush (myerr); abort (); } } while (0); do { if (!(optind == 2)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 720, "optind == 2"); fflush (myerr); abort (); } } while (0); do { if (!(!output)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 721, "!output"); fflush (myerr); abort (); } } while (0); } for (start = 0; start <= 1; start++) { int a_seen = 0; int b_seen = 0; const char *p_value = # 729 "test-getopt.h" 3 4 ((void *)0) # 729 "test-getopt.h" ; const char *q_value = # 730 "test-getopt.h" 3 4 ((void *)0) # 730 "test-getopt.h" ; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; # 734 "test-getopt.h" 3 4 _Bool # 734 "test-getopt.h" output; int argc = 0; const char *argv[10]; argv[argc++] = "program"; argv[argc++] = "donald"; argv[argc++] = "-p"; argv[argc++] = "billy"; argv[argc++] = "duck"; argv[argc++] = "-a"; argv[argc++] = "bar"; argv[argc] = # 745 "test-getopt.h" 3 4 ((void *)0) # 745 "test-getopt.h" ; optind = start; opterr = 1; getopt_loop (argc, argv, "abp:q:", &a_seen, &b_seen, &p_value, &q_value, &non_options_count, non_options, &unrecognized, &output); if (posixly) { do { if (!(strcmp (argv[0], "program") == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 753, "strcmp (argv[0], \"program\") == 0"); fflush (myerr); abort (); } } while (0); do { if (!(strcmp (argv[1], "donald") == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 754, "strcmp (argv[1], \"donald\") == 0"); fflush (myerr); abort (); } } while (0); do { if (!(strcmp (argv[2], "-p") == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 755, "strcmp (argv[2], \"-p\") == 0"); fflush (myerr); abort (); } } while (0); do { if (!(strcmp (argv[3], "billy") == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 756, "strcmp (argv[3], \"billy\") == 0"); fflush (myerr); abort (); } } while (0); do { if (!(strcmp (argv[4], "duck") == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 757, "strcmp (argv[4], \"duck\") == 0"); fflush (myerr); abort (); } } while (0); do { if (!(strcmp (argv[5], "-a") == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 758, "strcmp (argv[5], \"-a\") == 0"); fflush (myerr); abort (); } } while (0); do { if (!(strcmp (argv[6], "bar") == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 759, "strcmp (argv[6], \"bar\") == 0"); fflush (myerr); abort (); } } while (0); do { if (!(argv[7] == # 760 "test-getopt.h" 3 4 ((void *)0) # 760 "test-getopt.h" )) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 760, "argv[7] == NULL"); fflush (myerr); abort (); } } while (0); do { if (!(a_seen == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 761, "a_seen == 0"); fflush (myerr); abort (); } } while (0); do { if (!(b_seen == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 762, "b_seen == 0"); fflush (myerr); abort (); } } while (0); do { if (!(p_value == # 763 "test-getopt.h" 3 4 ((void *)0) # 763 "test-getopt.h" )) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 763, "p_value == NULL"); fflush (myerr); abort (); } } while (0); do { if (!(q_value == # 764 "test-getopt.h" 3 4 ((void *)0) # 764 "test-getopt.h" )) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 764, "q_value == NULL"); fflush (myerr); abort (); } } while (0); do { if (!(non_options_count == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 765, "non_options_count == 0"); fflush (myerr); abort (); } } while (0); do { if (!(unrecognized == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 766, "unrecognized == 0"); fflush (myerr); abort (); } } while (0); do { if (!(optind == 1)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 767, "optind == 1"); fflush (myerr); abort (); } } while (0); do { if (!(!output)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 768, "!output"); fflush (myerr); abort (); } } while (0); } else { do { if (!(strcmp (argv[0], "program") == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 772, "strcmp (argv[0], \"program\") == 0"); fflush (myerr); abort (); } } while (0); do { if (!(strcmp (argv[1], "-p") == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 773, "strcmp (argv[1], \"-p\") == 0"); fflush (myerr); abort (); } } while (0); do { if (!(strcmp (argv[2], "billy") == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 774, "strcmp (argv[2], \"billy\") == 0"); fflush (myerr); abort (); } } while (0); do { if (!(strcmp (argv[3], "-a") == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 775, "strcmp (argv[3], \"-a\") == 0"); fflush (myerr); abort (); } } while (0); do { if (!(strcmp (argv[4], "donald") == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 776, "strcmp (argv[4], \"donald\") == 0"); fflush (myerr); abort (); } } while (0); do { if (!(strcmp (argv[5], "duck") == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 777, "strcmp (argv[5], \"duck\") == 0"); fflush (myerr); abort (); } } while (0); do { if (!(strcmp (argv[6], "bar") == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 778, "strcmp (argv[6], \"bar\") == 0"); fflush (myerr); abort (); } } while (0); do { if (!(argv[7] == # 779 "test-getopt.h" 3 4 ((void *)0) # 779 "test-getopt.h" )) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 779, "argv[7] == NULL"); fflush (myerr); abort (); } } while (0); do { if (!(a_seen == 1)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 780, "a_seen == 1"); fflush (myerr); abort (); } } while (0); do { if (!(b_seen == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 781, "b_seen == 0"); fflush (myerr); abort (); } } while (0); do { if (!(p_value != # 782 "test-getopt.h" 3 4 ((void *)0) # 782 "test-getopt.h" && strcmp (p_value, "billy") == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 782, "p_value != NULL && strcmp (p_value, \"billy\") == 0"); fflush (myerr); abort (); } } while (0); do { if (!(q_value == # 783 "test-getopt.h" 3 4 ((void *)0) # 783 "test-getopt.h" )) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 783, "q_value == NULL"); fflush (myerr); abort (); } } while (0); do { if (!(non_options_count == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 784, "non_options_count == 0"); fflush (myerr); abort (); } } while (0); do { if (!(unrecognized == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 785, "unrecognized == 0"); fflush (myerr); abort (); } } while (0); do { if (!(optind == 4)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 786, "optind == 4"); fflush (myerr); abort (); } } while (0); do { if (!(!output)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 787, "!output"); fflush (myerr); abort (); } } while (0); } } for (start = 0; start <= 1; start++) { int a_seen = 0; int b_seen = 0; const char *p_value = # 796 "test-getopt.h" 3 4 ((void *)0) # 796 "test-getopt.h" ; const char *q_value = # 797 "test-getopt.h" 3 4 ((void *)0) # 797 "test-getopt.h" ; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; # 801 "test-getopt.h" 3 4 _Bool # 801 "test-getopt.h" output; int argc = 0; const char *argv[20]; argv[argc++] = "program"; argv[argc++] = "donald"; argv[argc++] = "-p"; argv[argc++] = "billy"; argv[argc++] = "duck"; argv[argc++] = "-a"; argv[argc++] = "--"; argv[argc++] = "-b"; argv[argc++] = "foo"; argv[argc++] = "-q"; argv[argc++] = "johnny"; argv[argc++] = "bar"; argv[argc] = # 817 "test-getopt.h" 3 4 ((void *)0) # 817 "test-getopt.h" ; optind = start; opterr = 1; getopt_loop (argc, argv, "abp:q:", &a_seen, &b_seen, &p_value, &q_value, &non_options_count, non_options, &unrecognized, &output); if (posixly) { do { if (!(strcmp (argv[0], "program") == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 825, "strcmp (argv[0], \"program\") == 0"); fflush (myerr); abort (); } } while (0); do { if (!(strcmp (argv[1], "donald") == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 826, "strcmp (argv[1], \"donald\") == 0"); fflush (myerr); abort (); } } while (0); do { if (!(strcmp (argv[2], "-p") == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 827, "strcmp (argv[2], \"-p\") == 0"); fflush (myerr); abort (); } } while (0); do { if (!(strcmp (argv[3], "billy") == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 828, "strcmp (argv[3], \"billy\") == 0"); fflush (myerr); abort (); } } while (0); do { if (!(strcmp (argv[4], "duck") == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 829, "strcmp (argv[4], \"duck\") == 0"); fflush (myerr); abort (); } } while (0); do { if (!(strcmp (argv[5], "-a") == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 830, "strcmp (argv[5], \"-a\") == 0"); fflush (myerr); abort (); } } while (0); do { if (!(strcmp (argv[6], "--") == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 831, "strcmp (argv[6], \"--\") == 0"); fflush (myerr); abort (); } } while (0); do { if (!(strcmp (argv[7], "-b") == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 832, "strcmp (argv[7], \"-b\") == 0"); fflush (myerr); abort (); } } while (0); do { if (!(strcmp (argv[8], "foo") == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 833, "strcmp (argv[8], \"foo\") == 0"); fflush (myerr); abort (); } } while (0); do { if (!(strcmp (argv[9], "-q") == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 834, "strcmp (argv[9], \"-q\") == 0"); fflush (myerr); abort (); } } while (0); do { if (!(strcmp (argv[10], "johnny") == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 835, "strcmp (argv[10], \"johnny\") == 0"); fflush (myerr); abort (); } } while (0); do { if (!(strcmp (argv[11], "bar") == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 836, "strcmp (argv[11], \"bar\") == 0"); fflush (myerr); abort (); } } while (0); do { if (!(argv[12] == # 837 "test-getopt.h" 3 4 ((void *)0) # 837 "test-getopt.h" )) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 837, "argv[12] == NULL"); fflush (myerr); abort (); } } while (0); do { if (!(a_seen == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 838, "a_seen == 0"); fflush (myerr); abort (); } } while (0); do { if (!(b_seen == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 839, "b_seen == 0"); fflush (myerr); abort (); } } while (0); do { if (!(p_value == # 840 "test-getopt.h" 3 4 ((void *)0) # 840 "test-getopt.h" )) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 840, "p_value == NULL"); fflush (myerr); abort (); } } while (0); do { if (!(q_value == # 841 "test-getopt.h" 3 4 ((void *)0) # 841 "test-getopt.h" )) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 841, "q_value == NULL"); fflush (myerr); abort (); } } while (0); do { if (!(non_options_count == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 842, "non_options_count == 0"); fflush (myerr); abort (); } } while (0); do { if (!(unrecognized == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 843, "unrecognized == 0"); fflush (myerr); abort (); } } while (0); do { if (!(optind == 1)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 844, "optind == 1"); fflush (myerr); abort (); } } while (0); do { if (!(!output)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 845, "!output"); fflush (myerr); abort (); } } while (0); } else { do { if (!(strcmp (argv[0], "program") == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 849, "strcmp (argv[0], \"program\") == 0"); fflush (myerr); abort (); } } while (0); do { if (!(strcmp (argv[1], "-p") == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 850, "strcmp (argv[1], \"-p\") == 0"); fflush (myerr); abort (); } } while (0); do { if (!(strcmp (argv[2], "billy") == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 851, "strcmp (argv[2], \"billy\") == 0"); fflush (myerr); abort (); } } while (0); do { if (!(strcmp (argv[3], "-a") == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 852, "strcmp (argv[3], \"-a\") == 0"); fflush (myerr); abort (); } } while (0); do { if (!(strcmp (argv[4], "--") == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 853, "strcmp (argv[4], \"--\") == 0"); fflush (myerr); abort (); } } while (0); do { if (!(strcmp (argv[5], "donald") == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 854, "strcmp (argv[5], \"donald\") == 0"); fflush (myerr); abort (); } } while (0); do { if (!(strcmp (argv[6], "duck") == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 855, "strcmp (argv[6], \"duck\") == 0"); fflush (myerr); abort (); } } while (0); do { if (!(strcmp (argv[7], "-b") == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 856, "strcmp (argv[7], \"-b\") == 0"); fflush (myerr); abort (); } } while (0); do { if (!(strcmp (argv[8], "foo") == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 857, "strcmp (argv[8], \"foo\") == 0"); fflush (myerr); abort (); } } while (0); do { if (!(strcmp (argv[9], "-q") == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 858, "strcmp (argv[9], \"-q\") == 0"); fflush (myerr); abort (); } } while (0); do { if (!(strcmp (argv[10], "johnny") == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 859, "strcmp (argv[10], \"johnny\") == 0"); fflush (myerr); abort (); } } while (0); do { if (!(strcmp (argv[11], "bar") == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 860, "strcmp (argv[11], \"bar\") == 0"); fflush (myerr); abort (); } } while (0); do { if (!(argv[12] == # 861 "test-getopt.h" 3 4 ((void *)0) # 861 "test-getopt.h" )) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 861, "argv[12] == NULL"); fflush (myerr); abort (); } } while (0); do { if (!(a_seen == 1)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 862, "a_seen == 1"); fflush (myerr); abort (); } } while (0); do { if (!(b_seen == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 863, "b_seen == 0"); fflush (myerr); abort (); } } while (0); do { if (!(p_value != # 864 "test-getopt.h" 3 4 ((void *)0) # 864 "test-getopt.h" && strcmp (p_value, "billy") == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 864, "p_value != NULL && strcmp (p_value, \"billy\") == 0"); fflush (myerr); abort (); } } while (0); do { if (!(q_value == # 865 "test-getopt.h" 3 4 ((void *)0) # 865 "test-getopt.h" )) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 865, "q_value == NULL"); fflush (myerr); abort (); } } while (0); do { if (!(non_options_count == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 866, "non_options_count == 0"); fflush (myerr); abort (); } } while (0); do { if (!(unrecognized == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 867, "unrecognized == 0"); fflush (myerr); abort (); } } while (0); do { if (!(optind == 5)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 868, "optind == 5"); fflush (myerr); abort (); } } while (0); do { if (!(!output)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 869, "!output"); fflush (myerr); abort (); } } while (0); } } # 1196 "test-getopt.h" for (start = 0; start <= 1; start++) { int a_seen = 0; int b_seen = 0; const char *p_value = # 1200 "test-getopt.h" 3 4 ((void *)0) # 1200 "test-getopt.h" ; const char *q_value = # 1201 "test-getopt.h" 3 4 ((void *)0) # 1201 "test-getopt.h" ; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; # 1205 "test-getopt.h" 3 4 _Bool # 1205 "test-getopt.h" output; int argc = 0; const char *argv[10]; argv[argc++] = "program"; argv[argc++] = "donald"; argv[argc++] = "-p"; argv[argc++] = "billy"; argv[argc++] = "duck"; argv[argc++] = "-a"; argv[argc++] = "bar"; argv[argc] = # 1216 "test-getopt.h" 3 4 ((void *)0) # 1216 "test-getopt.h" ; optind = start; opterr = 1; getopt_loop (argc, argv, "abp:q:+", &a_seen, &b_seen, &p_value, &q_value, &non_options_count, non_options, &unrecognized, &output); if (posixly) { do { if (!(strcmp (argv[0], "program") == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 1224, "strcmp (argv[0], \"program\") == 0"); fflush (myerr); abort (); } } while (0); do { if (!(strcmp (argv[1], "donald") == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 1225, "strcmp (argv[1], \"donald\") == 0"); fflush (myerr); abort (); } } while (0); do { if (!(strcmp (argv[2], "-p") == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 1226, "strcmp (argv[2], \"-p\") == 0"); fflush (myerr); abort (); } } while (0); do { if (!(strcmp (argv[3], "billy") == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 1227, "strcmp (argv[3], \"billy\") == 0"); fflush (myerr); abort (); } } while (0); do { if (!(strcmp (argv[4], "duck") == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 1228, "strcmp (argv[4], \"duck\") == 0"); fflush (myerr); abort (); } } while (0); do { if (!(strcmp (argv[5], "-a") == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 1229, "strcmp (argv[5], \"-a\") == 0"); fflush (myerr); abort (); } } while (0); do { if (!(strcmp (argv[6], "bar") == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 1230, "strcmp (argv[6], \"bar\") == 0"); fflush (myerr); abort (); } } while (0); do { if (!(argv[7] == # 1231 "test-getopt.h" 3 4 ((void *)0) # 1231 "test-getopt.h" )) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 1231, "argv[7] == NULL"); fflush (myerr); abort (); } } while (0); do { if (!(a_seen == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 1232, "a_seen == 0"); fflush (myerr); abort (); } } while (0); do { if (!(b_seen == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 1233, "b_seen == 0"); fflush (myerr); abort (); } } while (0); do { if (!(p_value == # 1234 "test-getopt.h" 3 4 ((void *)0) # 1234 "test-getopt.h" )) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 1234, "p_value == NULL"); fflush (myerr); abort (); } } while (0); do { if (!(q_value == # 1235 "test-getopt.h" 3 4 ((void *)0) # 1235 "test-getopt.h" )) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 1235, "q_value == NULL"); fflush (myerr); abort (); } } while (0); do { if (!(non_options_count == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 1236, "non_options_count == 0"); fflush (myerr); abort (); } } while (0); do { if (!(unrecognized == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 1237, "unrecognized == 0"); fflush (myerr); abort (); } } while (0); do { if (!(optind == 1)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 1238, "optind == 1"); fflush (myerr); abort (); } } while (0); do { if (!(!output)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 1239, "!output"); fflush (myerr); abort (); } } while (0); } else { do { if (!(strcmp (argv[0], "program") == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 1243, "strcmp (argv[0], \"program\") == 0"); fflush (myerr); abort (); } } while (0); do { if (!(strcmp (argv[1], "-p") == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 1244, "strcmp (argv[1], \"-p\") == 0"); fflush (myerr); abort (); } } while (0); do { if (!(strcmp (argv[2], "billy") == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 1245, "strcmp (argv[2], \"billy\") == 0"); fflush (myerr); abort (); } } while (0); do { if (!(strcmp (argv[3], "-a") == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 1246, "strcmp (argv[3], \"-a\") == 0"); fflush (myerr); abort (); } } while (0); do { if (!(strcmp (argv[4], "donald") == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 1247, "strcmp (argv[4], \"donald\") == 0"); fflush (myerr); abort (); } } while (0); do { if (!(strcmp (argv[5], "duck") == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 1248, "strcmp (argv[5], \"duck\") == 0"); fflush (myerr); abort (); } } while (0); do { if (!(strcmp (argv[6], "bar") == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 1249, "strcmp (argv[6], \"bar\") == 0"); fflush (myerr); abort (); } } while (0); do { if (!(argv[7] == # 1250 "test-getopt.h" 3 4 ((void *)0) # 1250 "test-getopt.h" )) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 1250, "argv[7] == NULL"); fflush (myerr); abort (); } } while (0); do { if (!(a_seen == 1)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 1251, "a_seen == 1"); fflush (myerr); abort (); } } while (0); do { if (!(b_seen == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 1252, "b_seen == 0"); fflush (myerr); abort (); } } while (0); do { if (!(p_value != # 1253 "test-getopt.h" 3 4 ((void *)0) # 1253 "test-getopt.h" && strcmp (p_value, "billy") == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 1253, "p_value != NULL && strcmp (p_value, \"billy\") == 0"); fflush (myerr); abort (); } } while (0); do { if (!(q_value == # 1254 "test-getopt.h" 3 4 ((void *)0) # 1254 "test-getopt.h" )) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 1254, "q_value == NULL"); fflush (myerr); abort (); } } while (0); do { if (!(non_options_count == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 1255, "non_options_count == 0"); fflush (myerr); abort (); } } while (0); do { if (!(unrecognized == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 1256, "unrecognized == 0"); fflush (myerr); abort (); } } while (0); do { if (!(optind == 4)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 1257, "optind == 4"); fflush (myerr); abort (); } } while (0); do { if (!(!output)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt.h", 1258, "!output"); fflush (myerr); abort (); } } while (0); } } # 1391 "test-getopt.h" } # 38 "test-getopt-main.h" 2 int main (void) { if (dup2 ( # 47 "test-getopt-main.h" 3 4 2 # 47 "test-getopt-main.h" , 10) != 10 || (myerr = fdopen (10, "w")) == # 48 "test-getopt-main.h" 3 4 ((void *)0) # 48 "test-getopt-main.h" ) return 2; do { if (!(freopen ("test-getopt-posix.tmp", "w", # 51 "test-getopt-main.h" 3 4 stderr # 51 "test-getopt-main.h" ) == # 51 "test-getopt-main.h" 3 4 stderr # 51 "test-getopt-main.h" )) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt-main.h", 51, "freopen (TEST_GETOPT_TMP_NAME, \"w\", stderr) == stderr"); fflush (myerr); abort (); } } while (0); do { if (!(optind == 1)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt-main.h", 54, "optind == 1"); fflush (myerr); abort (); } } while (0); do { if (!(opterr != 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt-main.h", 55, "opterr != 0"); fflush (myerr); abort (); } } while (0); setenv ("POSIXLY_CORRECT", "1", 1); test_getopt (); unsetenv ("POSIXLY_CORRECT"); test_getopt (); do { if (!(fclose ( # 72 "test-getopt-main.h" 3 4 stderr # 72 "test-getopt-main.h" ) == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt-main.h", 72, "fclose (stderr) == 0"); fflush (myerr); abort (); } } while (0); do { if (!(remove ("test-getopt-posix.tmp") == 0)) { fprintf (myerr, "%s:%d: assertion '%s' failed\n", "test-getopt-main.h", 73, "remove (TEST_GETOPT_TMP_NAME) == 0"); fflush (myerr); abort (); } } while (0); return 0; } # 34 "test-getopt-posix.c" 2