// /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/cc1 -quiet -nostdinc -I../include -I. -I/var/tmp/portage/glibc-2.3.5-r1/work/build-default-i686-pc-linux-gnu-linuxthreads/iconv -I.. -I../libio -I/var/tmp/portage/glibc-2.3.5-r1/work/build-default-i686-pc-linux-gnu-linuxthreads -I../sysdeps/i386/elf -I../linuxthreads/sysdeps/unix/sysv/linux/i386 -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/i386/i686 -I../linuxthreads/sysdeps/i386 -I../libidn/sysdeps/unix -I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -MD /var/tmp/portage/glibc-2.3.5-r1/work/build-default-i686-pc-linux-gnu-linuxthreads/iconv/iconv_close.d -MF /var/tmp/portage/glibc-2.3.5-r1/work/build-default-i686-pc-linux-gnu-linuxthreads/iconv/iconv_close.o.dt -MP -MT /var/tmp/portage/glibc-2.3.5-r1/work/build-default-i686-pc-linux-gnu-linuxthreads/iconv/iconv_close.o -MQ /var/tmp/portage/glibc-2.3.5-r1/work/build-default-i686-pc-linux-gnu-linuxthreads/iconv/iconv_close.o -D__GNUC__=3 -D__GNUC_MINOR__=3 -D__GNUC_PATCHLEVEL__=6 -D_LIBC_REENTRANT -isystem /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include -isystem //usr/include -include ../include/libc-symbols.h iconv_close.c -quiet -dumpbase iconv_close.c -march=pentium4 -mpreferred-stack-boundary=2 -auxbase-strip /var/tmp/portage/glibc-2.3.5-r1/work/build-default-i686-pc-linux-gnu-linuxthreads/iconv/iconv_close.o -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -std=gnu99 -finline-limit=2000 -o - -frandom-seed=0 # 1 "iconv_close.c" # 1 "" # 1 "" # 1 "../include/libc-symbols.h" 1 # 56 "../include/libc-symbols.h" # 1 "/var/tmp/portage/glibc-2.3.5-r1/work/build-default-i686-pc-linux-gnu-linuxthreads/config.h" 1 # 57 "../include/libc-symbols.h" 2 # 874 "../include/libc-symbols.h" # 1 "../sysdeps/wordsize-32/symbol-hacks.h" 1 # 875 "../include/libc-symbols.h" 2 # 6 "" 2 # 1 "iconv_close.c" # 21 "iconv_close.c" # 1 "../include/errno.h" 1 # 1 "../stdlib/errno.h" 1 # 29 "../stdlib/errno.h" # 1 "../include/features.h" 1 # 309 "../include/features.h" # 1 "../include/sys/cdefs.h" 1 # 1 "../misc/sys/cdefs.h" 1 # 4 "../include/sys/cdefs.h" 2 extern void __chk_fail (void) __attribute__ ((__noreturn__)); # 310 "../include/features.h" 2 # 332 "../include/features.h" # 1 "../include/gnu/stubs.h" 1 # 333 "../include/features.h" 2 # 30 "../stdlib/errno.h" 2 # 1 "../sysdeps/unix/sysv/linux/bits/errno.h" 1 # 25 "../sysdeps/unix/sysv/linux/bits/errno.h" # 1 "//usr/include/linux/errno.h" 1 3 4 # 1 "//usr/include/asm/errno.h" 1 3 4 # 1 "//usr/include/asm-generic/errno.h" 1 3 4 # 1 "//usr/include/asm-generic/errno-base.h" 1 3 4 # 5 "//usr/include/asm-generic/errno.h" 2 3 4 # 5 "//usr/include/asm/errno.h" 2 3 4 # 5 "//usr/include/linux/errno.h" 2 3 4 # 26 "../sysdeps/unix/sysv/linux/bits/errno.h" 2 # 38 "../sysdeps/unix/sysv/linux/bits/errno.h" extern int *__errno_location (void) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); # 37 "../stdlib/errno.h" 2 # 55 "../stdlib/errno.h" extern char *program_invocation_name, *program_invocation_short_name; # 69 "../stdlib/errno.h" typedef int error_t; # 4 "../include/errno.h" 2 # 22 "../include/errno.h" # 1 "../include/tls.h" 1 # 1 "../linuxthreads/sysdeps/i386/tls.h" 1 # 23 "../linuxthreads/sysdeps/i386/tls.h" # 1 "../linuxthreads/sysdeps/unix/sysv/linux/i386/dl-sysdep.h" 1 # 49 "../linuxthreads/sysdeps/unix/sysv/linux/i386/dl-sysdep.h" extern void _dl_sysinfo_int80 (void) ; # 24 "../linuxthreads/sysdeps/i386/tls.h" 2 # 1 "../linuxthreads/sysdeps/i386/i686/pt-machine.h" 1 # 28 "../linuxthreads/sysdeps/i386/i686/pt-machine.h" # 1 "../sysdeps/unix/sysv/linux/kernel-features.h" 1 # 29 "../linuxthreads/sysdeps/i386/i686/pt-machine.h" 2 extern long int testandset (int *spinlock); extern int __compare_and_swap (long int *p, long int oldval, long int newval); extern inline __attribute__ ((always_inline)) long int testandset (int *spinlock) { long int ret; __asm__ __volatile__ ( "xchgl %0, %1" : "=r" (ret), "=m" (*spinlock) : "0" (1), "m" (*spinlock) : "memory"); return ret; } extern inline __attribute__ ((always_inline)) int __compare_and_swap (long int *p, long int oldval, long int newval) { char ret; long int readval; __asm__ __volatile__ ("lock; cmpxchgl %3, %1; sete %0" : "=q" (ret), "=m" (*p), "=a" (readval) : "r" (newval), "m" (*p), "a" (oldval) : "memory"); return ret; } # 1 "../linuxthreads/sysdeps/i386/useldt.h" 1 # 23 "../linuxthreads/sysdeps/i386/useldt.h" # 1 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/stddef.h" 1 3 4 # 151 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/stddef.h" 3 4 typedef int ptrdiff_t; # 213 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/stddef.h" 3 4 typedef unsigned int size_t; # 325 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/stddef.h" 3 4 typedef long int wchar_t; # 24 "../linuxthreads/sysdeps/i386/useldt.h" 2 # 1 "../include/stdlib.h" 1 # 1 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/stddef.h" 1 3 4 # 8 "../include/stdlib.h" 2 # 1 "../stdlib/stdlib.h" 1 # 33 "../stdlib/stdlib.h" # 1 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/stddef.h" 1 3 4 # 34 "../stdlib/stdlib.h" 2 # 1 "../sysdeps/unix/sysv/linux/bits/waitflags.h" 1 # 43 "../stdlib/stdlib.h" 2 # 1 "../sysdeps/generic/bits/waitstatus.h" 1 # 65 "../sysdeps/generic/bits/waitstatus.h" # 1 "../include/endian.h" 1 # 1 "../string/endian.h" 1 # 37 "../string/endian.h" # 1 "../sysdeps/i386/bits/endian.h" 1 # 38 "../string/endian.h" 2 # 2 "../include/endian.h" 2 # 66 "../sysdeps/generic/bits/waitstatus.h" 2 union wait { int w_status; struct { unsigned int __w_termsig:7; unsigned int __w_coredump:1; unsigned int __w_retcode:8; unsigned int:16; } __wait_terminated; struct { unsigned int __w_stopval:8; unsigned int __w_stopsig:8; unsigned int:16; } __wait_stopped; }; # 44 "../stdlib/stdlib.h" 2 # 68 "../stdlib/stdlib.h" typedef union { union wait *__uptr; int *__iptr; } __WAIT_STATUS __attribute__ ((__transparent_union__)); # 96 "../stdlib/stdlib.h" 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; # 140 "../stdlib/stdlib.h" extern size_t __ctype_get_mb_cur_max (void) __attribute__ ((__nothrow__)); extern double atof (__const char *__nptr) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern int atoi (__const char *__nptr) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern long int atol (__const char *__nptr) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); __extension__ extern long long int atoll (__const char *__nptr) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern double strtod (__const char *__restrict __nptr, char **__restrict __endptr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern float strtof (__const char *__restrict __nptr, char **__restrict __endptr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern long double strtold (__const char *__restrict __nptr, char **__restrict __endptr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern long int strtol (__const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern unsigned long int strtoul (__const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); __extension__ extern long long int strtoq (__const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); __extension__ extern unsigned long long int strtouq (__const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); __extension__ extern long long int strtoll (__const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); __extension__ extern unsigned long long int strtoull (__const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); # 235 "../stdlib/stdlib.h" # 1 "../include/xlocale.h" 1 # 1 "../locale/xlocale.h" 1 # 28 "../locale/xlocale.h" typedef 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]; } *__locale_t; # 2 "../include/xlocale.h" 2 # 236 "../stdlib/stdlib.h" 2 extern long int strtol_l (__const char *__restrict __nptr, char **__restrict __endptr, int __base, __locale_t __loc) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 4))); extern unsigned long int strtoul_l (__const char *__restrict __nptr, char **__restrict __endptr, int __base, __locale_t __loc) __attribute__ ((__nothrow__)) __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__)) __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__)) __attribute__ ((__nonnull__ (1, 4))); extern double strtod_l (__const char *__restrict __nptr, char **__restrict __endptr, __locale_t __loc) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))); extern float strtof_l (__const char *__restrict __nptr, char **__restrict __endptr, __locale_t __loc) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))); extern long double strtold_l (__const char *__restrict __nptr, char **__restrict __endptr, __locale_t __loc) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))); extern double __strtod_internal (__const char *__restrict __nptr, char **__restrict __endptr, int __group) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern float __strtof_internal (__const char *__restrict __nptr, char **__restrict __endptr, int __group) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern long double __strtold_internal (__const char *__restrict __nptr, char **__restrict __endptr, int __group) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern long int __strtol_internal (__const char *__restrict __nptr, char **__restrict __endptr, int __base, int __group) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern unsigned long int __strtoul_internal (__const char *__restrict __nptr, char **__restrict __endptr, int __base, int __group) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); __extension__ extern long long int __strtoll_internal (__const char *__restrict __nptr, char **__restrict __endptr, int __base, int __group) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); __extension__ extern unsigned long long int __strtoull_internal (__const char * __restrict __nptr, char **__restrict __endptr, int __base, int __group) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern __inline double __attribute__ ((__nothrow__)) strtod (__const char *__restrict __nptr, char **__restrict __endptr) { return __strtod_internal (__nptr, __endptr, 0); } extern __inline long int __attribute__ ((__nothrow__)) strtol (__const char *__restrict __nptr, char **__restrict __endptr, int __base) { return __strtol_internal (__nptr, __endptr, __base, 0); } extern __inline unsigned long int __attribute__ ((__nothrow__)) strtoul (__const char *__restrict __nptr, char **__restrict __endptr, int __base) { return __strtoul_internal (__nptr, __endptr, __base, 0); } extern __inline float __attribute__ ((__nothrow__)) strtof (__const char *__restrict __nptr, char **__restrict __endptr) { return __strtof_internal (__nptr, __endptr, 0); } extern __inline long double __attribute__ ((__nothrow__)) strtold (__const char *__restrict __nptr, char **__restrict __endptr) { return __strtold_internal (__nptr, __endptr, 0); } __extension__ extern __inline long long int __attribute__ ((__nothrow__)) strtoq (__const char *__restrict __nptr, char **__restrict __endptr, int __base) { return __strtoll_internal (__nptr, __endptr, __base, 0); } __extension__ extern __inline unsigned long long int __attribute__ ((__nothrow__)) strtouq (__const char *__restrict __nptr, char **__restrict __endptr, int __base) { return __strtoull_internal (__nptr, __endptr, __base, 0); } __extension__ extern __inline long long int __attribute__ ((__nothrow__)) strtoll (__const char *__restrict __nptr, char **__restrict __endptr, int __base) { return __strtoll_internal (__nptr, __endptr, __base, 0); } __extension__ extern __inline unsigned long long int __attribute__ ((__nothrow__)) strtoull (__const char * __restrict __nptr, char **__restrict __endptr, int __base) { return __strtoull_internal (__nptr, __endptr, __base, 0); } extern __inline double __attribute__ ((__nothrow__)) atof (__const char *__nptr) { return strtod (__nptr, (char **) ((void *)0)); } extern __inline int __attribute__ ((__nothrow__)) atoi (__const char *__nptr) { return (int) strtol (__nptr, (char **) ((void *)0), 10); } extern __inline long int __attribute__ ((__nothrow__)) atol (__const char *__nptr) { return strtol (__nptr, (char **) ((void *)0), 10); } __extension__ extern __inline long long int __attribute__ ((__nothrow__)) atoll (__const char *__nptr) { return strtoll (__nptr, (char **) ((void *)0), 10); } # 424 "../stdlib/stdlib.h" extern char *l64a (long int __n) __attribute__ ((__nothrow__)); extern long int a64l (__const char *__s) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 1 "../include/sys/types.h" 1 # 1 "../posix/sys/types.h" 1 # 29 "../posix/sys/types.h" # 1 "../sysdeps/generic/bits/types.h" 1 # 28 "../sysdeps/generic/bits/types.h" # 1 "../sysdeps/wordsize-32/bits/wordsize.h" 1 # 29 "../sysdeps/generic/bits/types.h" 2 # 1 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/stddef.h" 1 3 4 # 32 "../sysdeps/generic/bits/types.h" 2 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; __extension__ typedef signed long long int __int64_t; __extension__ typedef unsigned long long int __uint64_t; __extension__ typedef long long int __quad_t; __extension__ typedef unsigned long long int __u_quad_t; # 129 "../sysdeps/generic/bits/types.h" # 1 "../linuxthreads/sysdeps/pthread/bits/typesizes.h" 1 # 130 "../sysdeps/generic/bits/types.h" 2 __extension__ typedef __u_quad_t __dev_t; __extension__ typedef unsigned int __uid_t; __extension__ typedef unsigned int __gid_t; __extension__ typedef unsigned long int __ino_t; __extension__ typedef __u_quad_t __ino64_t; __extension__ typedef unsigned int __mode_t; __extension__ typedef unsigned int __nlink_t; __extension__ typedef long int __off_t; __extension__ typedef __quad_t __off64_t; __extension__ typedef int __pid_t; __extension__ typedef struct { int __val[2]; } __fsid_t; __extension__ typedef long int __clock_t; __extension__ typedef unsigned long int __rlim_t; __extension__ typedef __u_quad_t __rlim64_t; __extension__ typedef unsigned int __id_t; __extension__ typedef long int __time_t; __extension__ typedef unsigned int __useconds_t; __extension__ typedef long int __suseconds_t; __extension__ typedef int __daddr_t; __extension__ typedef long int __swblk_t; __extension__ typedef int __key_t; __extension__ typedef int __clockid_t; __extension__ typedef int __timer_t; __extension__ typedef long int __blksize_t; __extension__ typedef long int __blkcnt_t; __extension__ typedef __quad_t __blkcnt64_t; __extension__ typedef unsigned long int __fsblkcnt_t; __extension__ typedef __u_quad_t __fsblkcnt64_t; __extension__ typedef unsigned long int __fsfilcnt_t; __extension__ typedef __u_quad_t __fsfilcnt64_t; __extension__ typedef int __ssize_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; __extension__ typedef int __intptr_t; __extension__ typedef unsigned int __socklen_t; # 32 "../posix/sys/types.h" 2 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; typedef __gid_t gid_t; typedef __mode_t mode_t; typedef __nlink_t nlink_t; typedef __uid_t uid_t; typedef __off_t off_t; typedef __off64_t off64_t; typedef __pid_t pid_t; typedef __id_t id_t; typedef __ssize_t ssize_t; typedef __daddr_t daddr_t; typedef __caddr_t caddr_t; typedef __key_t key_t; # 133 "../posix/sys/types.h" # 1 "../include/time.h" 1 # 1 "../time/time.h" 1 # 58 "../time/time.h" typedef __clock_t clock_t; # 74 "../time/time.h" typedef __time_t time_t; # 92 "../time/time.h" typedef __clockid_t clockid_t; # 104 "../time/time.h" typedef __timer_t timer_t; # 4 "../include/time.h" 2 # 134 "../posix/sys/types.h" 2 typedef __useconds_t useconds_t; typedef __suseconds_t suseconds_t; # 1 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/stddef.h" 1 3 4 # 148 "../posix/sys/types.h" 2 typedef unsigned long int ulong; typedef unsigned short int ushort; typedef unsigned int uint; # 191 "../posix/sys/types.h" typedef int int8_t __attribute__ ((__mode__ (__QI__))); typedef int int16_t __attribute__ ((__mode__ (__HI__))); typedef int int32_t __attribute__ ((__mode__ (__SI__))); typedef int int64_t __attribute__ ((__mode__ (__DI__))); 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__))); # 213 "../posix/sys/types.h" # 1 "../include/endian.h" 1 # 214 "../posix/sys/types.h" 2 # 1 "../include/sys/select.h" 1 # 1 "../misc/sys/select.h" 1 # 31 "../misc/sys/select.h" # 1 "../sysdeps/i386/bits/select.h" 1 # 32 "../misc/sys/select.h" 2 # 1 "../sysdeps/unix/sysv/linux/bits/sigset.h" 1 # 23 "../sysdeps/unix/sysv/linux/bits/sigset.h" typedef int __sig_atomic_t; typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; # 35 "../misc/sys/select.h" 2 typedef __sigset_t sigset_t; # 1 "../include/time.h" 1 # 1 "../time/time.h" 1 # 118 "../time/time.h" struct timespec { __time_t tv_sec; long int tv_nsec; }; # 4 "../include/time.h" 2 # 45 "../misc/sys/select.h" 2 # 1 "../sysdeps/generic/bits/time.h" 1 # 69 "../sysdeps/generic/bits/time.h" struct timeval { __time_t tv_sec; __suseconds_t tv_usec; }; # 47 "../misc/sys/select.h" 2 # 55 "../misc/sys/select.h" typedef long int __fd_mask; # 67 "../misc/sys/select.h" typedef struct { __fd_mask fds_bits[1024 / (8 * sizeof (__fd_mask))]; } fd_set; typedef __fd_mask fd_mask; # 99 "../misc/sys/select.h" # 109 "../misc/sys/select.h" extern int select (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout); # 121 "../misc/sys/select.h" 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); # 3 "../include/sys/select.h" 2 extern int __pselect (int __nfds, fd_set *__readfds, fd_set *__writefds, fd_set *__exceptfds, const struct timespec *__timeout, const __sigset_t *__sigmask); extern int __select (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout); # 217 "../posix/sys/types.h" 2 # 1 "../sysdeps/unix/sysv/linux/sys/sysmacros.h" 1 # 29 "../sysdeps/unix/sysv/linux/sys/sysmacros.h" __extension__ extern __inline unsigned int gnu_dev_major (unsigned long long int __dev) __attribute__ ((__nothrow__)); __extension__ extern __inline unsigned int gnu_dev_minor (unsigned long long int __dev) __attribute__ ((__nothrow__)); __extension__ extern __inline unsigned long long int gnu_dev_makedev (unsigned int __major, unsigned int __minor) __attribute__ ((__nothrow__)); __extension__ extern __inline unsigned int __attribute__ ((__nothrow__)) gnu_dev_major (unsigned long long int __dev) { return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff); } __extension__ extern __inline unsigned int __attribute__ ((__nothrow__)) gnu_dev_minor (unsigned long long int __dev) { return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff); } __extension__ extern __inline unsigned long long int __attribute__ ((__nothrow__)) gnu_dev_makedev (unsigned int __major, unsigned int __minor) { return ((__minor & 0xff) | ((__major & 0xfff) << 8) | (((unsigned long long int) (__minor & ~0xff)) << 12) | (((unsigned long long int) (__major & ~0xfff)) << 32)); } # 220 "../posix/sys/types.h" 2 typedef __blksize_t blksize_t; typedef __blkcnt_t blkcnt_t; typedef __fsblkcnt_t fsblkcnt_t; typedef __fsfilcnt_t fsfilcnt_t; # 258 "../posix/sys/types.h" typedef __blkcnt64_t blkcnt64_t; typedef __fsblkcnt64_t fsblkcnt64_t; typedef __fsfilcnt64_t fsfilcnt64_t; # 1 "../linuxthreads/sysdeps/pthread/bits/pthreadtypes.h" 1 # 23 "../linuxthreads/sysdeps/pthread/bits/pthreadtypes.h" # 1 "../sysdeps/unix/sysv/linux/bits/sched.h" 1 # 83 "../sysdeps/unix/sysv/linux/bits/sched.h" struct __sched_param { int __sched_priority; }; # 24 "../linuxthreads/sysdeps/pthread/bits/pthreadtypes.h" 2 struct _pthread_fastlock { long int __status; int __spinlock; }; typedef struct _pthread_descr_struct *_pthread_descr; typedef struct __pthread_attr_s { int __detachstate; int __schedpolicy; struct __sched_param __schedparam; int __inheritsched; int __scope; size_t __guardsize; int __stackaddr_set; void *__stackaddr; size_t __stacksize; } pthread_attr_t; __extension__ typedef long long __pthread_cond_align_t; typedef struct { struct _pthread_fastlock __c_lock; _pthread_descr __c_waiting; char __padding[48 - sizeof (struct _pthread_fastlock) - sizeof (_pthread_descr) - sizeof (__pthread_cond_align_t)]; __pthread_cond_align_t __align; } pthread_cond_t; typedef struct { int __dummy; } pthread_condattr_t; typedef unsigned int pthread_key_t; typedef struct { int __m_reserved; int __m_count; _pthread_descr __m_owner; int __m_kind; struct _pthread_fastlock __m_lock; } pthread_mutex_t; typedef struct { int __mutexkind; } pthread_mutexattr_t; typedef int pthread_once_t; typedef struct _pthread_rwlock_t { struct _pthread_fastlock __rw_lock; int __rw_readers; _pthread_descr __rw_writer; _pthread_descr __rw_read_waiting; _pthread_descr __rw_write_waiting; int __rw_kind; int __rw_pshared; } pthread_rwlock_t; typedef struct { int __lockkind; int __pshared; } pthread_rwlockattr_t; typedef volatile int pthread_spinlock_t; typedef struct { struct _pthread_fastlock __ba_lock; int __ba_required; int __ba_present; _pthread_descr __ba_waiting; } pthread_barrier_t; typedef struct { int __pshared; } pthread_barrierattr_t; typedef unsigned long int pthread_t; # 267 "../posix/sys/types.h" 2 # 2 "../include/sys/types.h" 2 # 434 "../stdlib/stdlib.h" 2 extern long int random (void) __attribute__ ((__nothrow__)); extern void srandom (unsigned int __seed) __attribute__ ((__nothrow__)); extern char *initstate (unsigned int __seed, char *__statebuf, size_t __statelen) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern char *setstate (char *__statebuf) __attribute__ ((__nothrow__)) __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__)) __attribute__ ((__nonnull__ (1, 2))); extern int srandom_r (unsigned int __seed, struct random_data *__buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern int initstate_r (unsigned int __seed, char *__restrict __statebuf, size_t __statelen, struct random_data *__restrict __buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4))); extern int setstate_r (char *__restrict __statebuf, struct random_data *__restrict __buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int rand (void) __attribute__ ((__nothrow__)); extern void srand (unsigned int __seed) __attribute__ ((__nothrow__)); extern int rand_r (unsigned int *__seed) __attribute__ ((__nothrow__)); extern double drand48 (void) __attribute__ ((__nothrow__)); extern double erand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern long int lrand48 (void) __attribute__ ((__nothrow__)); extern long int nrand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern long int mrand48 (void) __attribute__ ((__nothrow__)); extern long int jrand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern void srand48 (long int __seedval) __attribute__ ((__nothrow__)); extern unsigned short int *seed48 (unsigned short int __seed16v[3]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern void lcong48 (unsigned short int __param[7]) __attribute__ ((__nothrow__)) __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; unsigned long long int __a; }; extern int drand48_r (struct drand48_data *__restrict __buffer, double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int erand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int lrand48_r (struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int nrand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int mrand48_r (struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int jrand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int srand48_r (long int __seedval, struct drand48_data *__buffer) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern int seed48_r (unsigned short int __seed16v[3], struct drand48_data *__buffer) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int lcong48_r (unsigned short int __param[7], struct drand48_data *__buffer) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern void *malloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)); extern void *calloc (size_t __nmemb, size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)); extern void *realloc (void *__ptr, size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)); extern void free (void *__ptr) __attribute__ ((__nothrow__)); extern void cfree (void *__ptr) __attribute__ ((__nothrow__)); # 1 "../include/alloca.h" 1 # 1 "../stdlib/alloca.h" 1 # 25 "../stdlib/alloca.h" # 1 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/stddef.h" 1 3 4 # 26 "../stdlib/alloca.h" 2 extern void *alloca (size_t __size) __attribute__ ((__nothrow__)); # 4 "../include/alloca.h" 2 # 1 "../sysdeps/i386/stackinfo.h" 1 # 5 "../include/alloca.h" 2 extern void *__alloca (size_t __size); extern int __libc_use_alloca (size_t size) __attribute__ ((const)); extern int __libc_alloca_cutoff (size_t size) __attribute__ ((const)); # 1 "../linuxthreads/sysdeps/unix/sysv/linux/allocalim.h" 1 # 20 "../linuxthreads/sysdeps/unix/sysv/linux/allocalim.h" # 1 "../include/limits.h" 1 # 124 "../include/limits.h" # 1 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/limits.h" 1 3 4 # 125 "../include/limits.h" 2 # 144 "../include/limits.h" # 1 "../include/bits/posix1_lim.h" 1 # 1 "../posix/bits/posix1_lim.h" 1 # 153 "../posix/bits/posix1_lim.h" # 1 "../linuxthreads/sysdeps/unix/sysv/linux/bits/local_lim.h" 1 # 36 "../linuxthreads/sysdeps/unix/sysv/linux/bits/local_lim.h" # 1 "//usr/include/linux/limits.h" 1 3 4 # 37 "../linuxthreads/sysdeps/unix/sysv/linux/bits/local_lim.h" 2 # 154 "../posix/bits/posix1_lim.h" 2 # 2 "../include/bits/posix1_lim.h" 2 # 145 "../include/limits.h" 2 # 1 "../include/bits/posix2_lim.h" 1 # 1 "../posix/bits/posix2_lim.h" 1 # 2 "../include/bits/posix2_lim.h" 2 # 149 "../include/limits.h" 2 # 1 "../include/bits/xopen_lim.h" 1 # 34 "../include/bits/xopen_lim.h" # 1 "/var/tmp/portage/glibc-2.3.5-r1/work/build-default-i686-pc-linux-gnu-linuxthreads/bits/stdio_lim.h" 1 # 35 "../include/bits/xopen_lim.h" 2 # 153 "../include/limits.h" 2 # 21 "../linuxthreads/sysdeps/unix/sysv/linux/allocalim.h" 2 extern inline int __libc_use_alloca (size_t size) { return (__builtin_expect (size <= 16384 / 4, 1) || __libc_alloca_cutoff (size)); } # 21 "../include/alloca.h" 2 # 607 "../stdlib/stdlib.h" 2 extern void *valloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)); extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); extern void abort (void) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); extern int atexit (void (*__func) (void)) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern void exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); extern void _Exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); extern char *getenv (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern char *__secure_getenv (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int putenv (char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int setenv (__const char *__name, __const char *__value, int __replace) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern int unsetenv (__const char *__name) __attribute__ ((__nothrow__)); extern int clearenv (void) __attribute__ ((__nothrow__)); # 691 "../stdlib/stdlib.h" extern char *mktemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); # 702 "../stdlib/stdlib.h" extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1))); # 711 "../stdlib/stdlib.h" extern int mkstemp64 (char *__template) __attribute__ ((__nonnull__ (1))); # 721 "../stdlib/stdlib.h" extern char *mkdtemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int system (__const char *__command); extern char *canonicalize_file_name (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); # 749 "../stdlib/stdlib.h" extern char *realpath (__const char *__restrict __name, char *__restrict __resolved) __attribute__ ((__nothrow__)); typedef int (*__compar_fn_t) (__const void *, __const void *); typedef __compar_fn_t comparison_fn_t; extern void *bsearch (__const void *__key, __const void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 2, 5))); extern void qsort (void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4))); extern int abs (int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long int labs (long int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); __extension__ extern long long int llabs (long long int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern div_t div (int __numer, int __denom) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern ldiv_t ldiv (long int __numer, long int __denom) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); __extension__ extern lldiv_t lldiv (long long int __numer, long long int __denom) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); # 814 "../stdlib/stdlib.h" extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))); extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))); extern char *gcvt (double __value, int __ndigit, char *__buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))); extern char *qecvt (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))); extern char *qfcvt (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))); extern char *qgcvt (long double __value, int __ndigit, char *__buf) __attribute__ ((__nothrow__)) __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__)) __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__)) __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__)) __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__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int mblen (__const char *__s, size_t __n) __attribute__ ((__nothrow__)); extern int mbtowc (wchar_t *__restrict __pwc, __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__)); extern int wctomb (char *__s, wchar_t __wchar) __attribute__ ((__nothrow__)); extern size_t mbstowcs (wchar_t *__restrict __pwcs, __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__)); extern size_t wcstombs (char *__restrict __s, __const wchar_t *__restrict __pwcs, size_t __n) __attribute__ ((__nothrow__)); extern int rpmatch (__const char *__response) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); # 902 "../stdlib/stdlib.h" extern int getsubopt (char **__restrict __optionp, char *__const *__restrict __tokens, char **__restrict __valuep) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2, 3))); extern void setkey (__const char *__key) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int posix_openpt (int __oflag); extern int grantpt (int __fd) __attribute__ ((__nothrow__)); extern int unlockpt (int __fd) __attribute__ ((__nothrow__)); extern char *ptsname (int __fd) __attribute__ ((__nothrow__)); extern int ptsname_r (int __fd, char *__buf, size_t __buflen) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern int getpt (void); extern int getloadavg (double __loadavg[], int __nelem) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); # 9 "../include/stdlib.h" 2 extern __typeof (strtol_l) __strtol_l; extern __typeof (strtoul_l) __strtoul_l; extern __typeof (strtoll_l) __strtoll_l; extern __typeof (strtoull_l) __strtoull_l; extern __typeof (strtod_l) __strtod_l; extern __typeof (strtof_l) __strtof_l; extern __typeof (strtold_l) __strtold_l; extern long int __random (void); extern void __srandom (unsigned int __seed); extern char *__initstate (unsigned int __seed, char *__statebuf, size_t __statelen); extern char *__setstate (char *__statebuf); extern int __random_r (struct random_data *__buf, int32_t *__result); extern int __srandom_r (unsigned int __seed, struct random_data *__buf); extern int __initstate_r (unsigned int __seed, char *__statebuf, size_t __statelen, struct random_data *__buf); extern int __setstate_r (char *__statebuf, struct random_data *__buf); extern int __rand_r (unsigned int *__seed); extern int __erand48_r (unsigned short int __xsubi[3], struct drand48_data *__buffer, double *__result); extern int __nrand48_r (unsigned short int __xsubi[3], struct drand48_data *__buffer, long int *__result); extern int __jrand48_r (unsigned short int __xsubi[3], struct drand48_data *__buffer, long int *__result); extern int __srand48_r (long int __seedval, struct drand48_data *__buffer); extern int __seed48_r (unsigned short int __seed16v[3], struct drand48_data *__buffer); extern int __lcong48_r (unsigned short int __param[7], struct drand48_data *__buffer); extern int __drand48_iterate (unsigned short int __xsubi[3], struct drand48_data *__buffer); extern struct drand48_data __libc_drand48_data ; extern int __setenv (__const char *__name, __const char *__value, int __replace); extern int __unsetenv (__const char *__name); extern int __clearenv (void); extern char *__canonicalize_file_name (__const char *__name); extern char *__realpath (__const char *__name, char *__resolved); extern int __ptsname_r (int __fd, char *__buf, size_t __buflen); extern int __getpt (void); extern int __posix_openpt (int __oflag); extern int __add_to_environ (const char *name, const char *value, const char *combines, int replace); extern void _quicksort (void *const pbase, size_t total_elems, size_t size, __compar_fn_t cmp); extern int __on_exit (void (*__func) (int __status, void *__arg), void *__arg); extern int __cxa_atexit (void (*func) (void *), void *arg, void *d); extern int __cxa_atexit_internal (void (*func) (void *), void *arg, void *d) ; extern void __cxa_finalize (void *d); extern int __posix_memalign (void **memptr, size_t alignment, size_t size) __attribute__ ((__malloc__)); extern void *__libc_memalign (size_t alignment, size_t size) __attribute__ ((__malloc__)); extern int __libc_system (const char *line); extern double ____strtod_l_internal (__const char *__restrict __nptr, char **__restrict __endptr, int __group, __locale_t __loc); extern float ____strtof_l_internal (__const char *__restrict __nptr, char **__restrict __endptr, int __group, __locale_t __loc); extern long double ____strtold_l_internal (__const char *__restrict __nptr, char **__restrict __endptr, int __group, __locale_t __loc); extern long int ____strtol_l_internal (__const char *__restrict __nptr, char **__restrict __endptr, int __base, int __group, __locale_t __loc); extern unsigned long int ____strtoul_l_internal (__const char * __restrict __nptr, char **__restrict __endptr, int __base, int __group, __locale_t __loc); __extension__ extern long long int ____strtoll_l_internal (__const char *__restrict __nptr, char **__restrict __endptr, int __base, int __group, __locale_t __loc); __extension__ extern unsigned long long int ____strtoull_l_internal (__const char * __restrict __nptr, char ** __restrict __endptr, int __base, int __group, __locale_t __loc); extern __inline double __strtod_l (__const char *__restrict __nptr, char **__restrict __endptr, __locale_t __loc) { return ____strtod_l_internal (__nptr, __endptr, 0, __loc); } extern __inline long int __strtol_l (__const char *__restrict __nptr, char **__restrict __endptr, int __base, __locale_t __loc) { return ____strtol_l_internal (__nptr, __endptr, __base, 0, __loc); } extern __inline unsigned long int __strtoul_l (__const char *__restrict __nptr, char **__restrict __endptr, int __base, __locale_t __loc) { return ____strtoul_l_internal (__nptr, __endptr, __base, 0, __loc); } extern __inline float __strtof_l (__const char *__restrict __nptr, char **__restrict __endptr, __locale_t __loc) { return ____strtof_l_internal (__nptr, __endptr, 0, __loc); } extern __inline long double __strtold_l (__const char *__restrict __nptr, char **__restrict __endptr, __locale_t __loc) { return ____strtold_l_internal (__nptr, __endptr, 0, __loc); } __extension__ extern __inline long long int __strtoll_l (__const char *__restrict __nptr, char **__restrict __endptr, int __base, __locale_t __loc) { return ____strtoll_l_internal (__nptr, __endptr, __base, 0, __loc); } __extension__ extern __inline unsigned long long int __strtoull_l (__const char * __restrict __nptr, char **__restrict __endptr, int __base, __locale_t __loc) { return ____strtoull_l_internal (__nptr, __endptr, __base, 0, __loc); } # 197 "../include/stdlib.h" extern void * __default_morecore (ptrdiff_t); # 25 "../linuxthreads/sysdeps/i386/useldt.h" 2 # 1 "../sysdeps/unix/sysv/linux/i386/sysdep.h" 1 # 25 "../sysdeps/unix/sysv/linux/i386/sysdep.h" # 1 "../sysdeps/unix/i386/sysdep.h" 1 # 19 "../sysdeps/unix/i386/sysdep.h" # 1 "../sysdeps/unix/sysdep.h" 1 # 19 "../sysdeps/unix/sysdep.h" # 1 "../sysdeps/generic/sysdep.h" 1 # 20 "../sysdeps/unix/sysdep.h" 2 # 1 "../sysdeps/unix/sysv/linux/sys/syscall.h" 1 # 25 "../sysdeps/unix/sysv/linux/sys/syscall.h" # 1 "//usr/include/asm/unistd.h" 1 3 4 # 26 "../sysdeps/unix/sysv/linux/sys/syscall.h" 2 # 22 "../sysdeps/unix/sysdep.h" 2 # 20 "../sysdeps/unix/i386/sysdep.h" 2 # 1 "../sysdeps/i386/sysdep.h" 1 # 20 "../sysdeps/i386/sysdep.h" # 1 "../sysdeps/generic/sysdep.h" 1 # 21 "../sysdeps/i386/sysdep.h" 2 # 21 "../sysdeps/unix/i386/sysdep.h" 2 # 26 "../sysdeps/unix/sysv/linux/i386/sysdep.h" 2 # 1 "../sysdeps/generic/bp-sym.h" 1 # 27 "../sysdeps/unix/sysv/linux/i386/sysdep.h" 2 # 1 "../sysdeps/i386/bp-asm.h" 1 # 28 "../sysdeps/unix/sysv/linux/i386/sysdep.h" 2 # 1 "../include/tls.h" 1 # 31 "../sysdeps/unix/sysv/linux/i386/sysdep.h" 2 # 319 "../sysdeps/unix/sysv/linux/i386/sysdep.h" asm (".L__X'%ebx = 1\n\t" ".L__X'%ecx = 2\n\t" ".L__X'%edx = 2\n\t" ".L__X'%eax = 3\n\t" ".L__X'%esi = 3\n\t" ".L__X'%edi = 3\n\t" ".L__X'%ebp = 3\n\t" ".L__X'%esp = 3\n\t" ".macro bpushl name reg\n\t" ".if 1 - \\name\n\t" ".if 2 - \\name\n\t" "error\n\t" ".else\n\t" "xchgl \\reg, %ebx\n\t" ".endif\n\t" ".endif\n\t" ".endm\n\t" ".macro bpopl name reg\n\t" ".if 1 - \\name\n\t" ".if 2 - \\name\n\t" "error\n\t" ".else\n\t" "xchgl \\reg, %ebx\n\t" ".endif\n\t" ".endif\n\t" ".endm\n\t"); # 26 "../linuxthreads/sysdeps/i386/useldt.h" 2 struct modify_ldt_ldt_s { unsigned int entry_number; unsigned long int base_addr; unsigned int limit; unsigned int seg_32bit:1; unsigned int contents:2; unsigned int read_exec_only:1; unsigned int limit_in_pages:1; unsigned int seg_not_present:1; unsigned int useable:1; unsigned int empty:25; }; extern int __modify_ldt (int, struct modify_ldt_ldt_s *, size_t); # 158 "../linuxthreads/sysdeps/i386/useldt.h" extern int __have_no_set_thread_area; # 74 "../linuxthreads/sysdeps/i386/i686/pt-machine.h" 2 # 25 "../linuxthreads/sysdeps/i386/tls.h" 2 # 1 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/stddef.h" 1 3 4 # 28 "../linuxthreads/sysdeps/i386/tls.h" 2 # 1 "../sysdeps/generic/stdint.h" 1 # 27 "../sysdeps/generic/stdint.h" # 1 "../sysdeps/unix/sysv/linux/i386/bits/wchar.h" 1 # 28 "../sysdeps/generic/stdint.h" 2 # 1 "../sysdeps/wordsize-32/bits/wordsize.h" 1 # 29 "../sysdeps/generic/stdint.h" 2 # 49 "../sysdeps/generic/stdint.h" typedef unsigned char uint8_t; typedef unsigned short int uint16_t; typedef unsigned int uint32_t; __extension__ typedef unsigned long long int uint64_t; typedef signed char int_least8_t; typedef short int int_least16_t; typedef int int_least32_t; __extension__ typedef long long int int_least64_t; typedef unsigned char uint_least8_t; typedef unsigned short int uint_least16_t; typedef unsigned int uint_least32_t; __extension__ typedef unsigned long long int uint_least64_t; typedef signed char int_fast8_t; typedef int int_fast16_t; typedef int int_fast32_t; __extension__ typedef long long int int_fast64_t; typedef unsigned char uint_fast8_t; typedef unsigned int uint_fast16_t; typedef unsigned int uint_fast32_t; __extension__ typedef unsigned long long int uint_fast64_t; # 126 "../sysdeps/generic/stdint.h" typedef int intptr_t; typedef unsigned int uintptr_t; # 138 "../sysdeps/generic/stdint.h" __extension__ typedef long long int intmax_t; __extension__ typedef unsigned long long int uintmax_t; # 29 "../linuxthreads/sysdeps/i386/tls.h" 2 typedef union dtv { size_t counter; void *pointer; } dtv_t; typedef struct { void *tcb; dtv_t *dtv; void *self; int multiple_threads; uintptr_t sysinfo; } tcbhead_t; # 75 "../linuxthreads/sysdeps/i386/tls.h" # 1 "../linuxthreads/descr.h" 1 # 19 "../linuxthreads/descr.h" # 1 "../include/resolv.h" 1 # 11 "../include/resolv.h" # 1 "../resolv/resolv.h" 1 # 56 "../resolv/resolv.h" # 1 "../include/sys/types.h" 1 # 57 "../resolv/resolv.h" 2 # 1 "../include/netinet/in.h" 1 # 1 "../inet/netinet/in.h" 1 # 24 "../inet/netinet/in.h" # 1 "../include/sys/socket.h" 1 # 1 "../socket/sys/socket.h" 1 # 25 "../socket/sys/socket.h" # 1 "../include/sys/uio.h" 1 # 1 "../misc/sys/uio.h" 1 # 24 "../misc/sys/uio.h" # 1 "../include/sys/types.h" 1 # 25 "../misc/sys/uio.h" 2 # 1 "../sysdeps/unix/sysv/linux/bits/uio.h" 1 # 24 "../sysdeps/unix/sysv/linux/bits/uio.h" # 1 "../include/sys/types.h" 1 # 25 "../sysdeps/unix/sysv/linux/bits/uio.h" 2 # 42 "../sysdeps/unix/sysv/linux/bits/uio.h" struct iovec { void *iov_base; size_t iov_len; }; # 30 "../misc/sys/uio.h" 2 # 40 "../misc/sys/uio.h" extern ssize_t readv (int __fd, __const struct iovec *__iovec, int __count); # 50 "../misc/sys/uio.h" extern ssize_t writev (int __fd, __const struct iovec *__iovec, int __count); # 3 "../include/sys/uio.h" 2 extern ssize_t __readv (int __fd, __const struct iovec *__vector, int __count); extern ssize_t __libc_readv (int __fd, __const struct iovec *__vector, int __count); extern ssize_t __writev (int __fd, __const struct iovec *__vector, int __count); extern ssize_t __libc_writev (int __fd, __const struct iovec *__vector, int __count); # 28 "../socket/sys/socket.h" 2 # 1 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/stddef.h" 1 3 4 # 30 "../socket/sys/socket.h" 2 # 1 "../sysdeps/unix/sysv/linux/bits/socket.h" 1 # 29 "../sysdeps/unix/sysv/linux/bits/socket.h" # 1 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/stddef.h" 1 3 4 # 30 "../sysdeps/unix/sysv/linux/bits/socket.h" 2 # 1 "../include/limits.h" 1 # 144 "../include/limits.h" # 1 "../include/bits/posix1_lim.h" 1 # 145 "../include/limits.h" 2 # 1 "../include/bits/posix2_lim.h" 1 # 149 "../include/limits.h" 2 # 32 "../sysdeps/unix/sysv/linux/bits/socket.h" 2 # 1 "../include/sys/types.h" 1 # 33 "../sysdeps/unix/sysv/linux/bits/socket.h" 2 typedef __socklen_t socklen_t; enum __socket_type { SOCK_STREAM = 1, SOCK_DGRAM = 2, SOCK_RAW = 3, SOCK_RDM = 4, SOCK_SEQPACKET = 5, SOCK_PACKET = 10 }; # 142 "../sysdeps/unix/sysv/linux/bits/socket.h" # 1 "../sysdeps/generic/bits/sockaddr.h" 1 # 29 "../sysdeps/generic/bits/sockaddr.h" typedef unsigned short int sa_family_t; # 143 "../sysdeps/unix/sysv/linux/bits/socket.h" 2 struct sockaddr { sa_family_t sa_family; char sa_data[14]; }; # 162 "../sysdeps/unix/sysv/linux/bits/socket.h" struct sockaddr_storage { sa_family_t ss_family; __uint32_t __ss_align; char __ss_padding[(128 - (2 * sizeof (__uint32_t)))]; }; enum { MSG_OOB = 0x01, MSG_PEEK = 0x02, MSG_DONTROUTE = 0x04, MSG_TRYHARD = MSG_DONTROUTE, MSG_CTRUNC = 0x08, MSG_PROXY = 0x10, MSG_TRUNC = 0x20, MSG_DONTWAIT = 0x40, MSG_EOR = 0x80, MSG_WAITALL = 0x100, MSG_FIN = 0x200, MSG_SYN = 0x400, MSG_CONFIRM = 0x800, MSG_RST = 0x1000, MSG_ERRQUEUE = 0x2000, MSG_NOSIGNAL = 0x4000, MSG_MORE = 0x8000 }; struct msghdr { void *msg_name; socklen_t msg_namelen; struct iovec *msg_iov; size_t msg_iovlen; void *msg_control; size_t msg_controllen; int msg_flags; }; struct cmsghdr { size_t cmsg_len; int cmsg_level; int cmsg_type; __extension__ unsigned char __cmsg_data []; }; # 257 "../sysdeps/unix/sysv/linux/bits/socket.h" extern struct cmsghdr *__cmsg_nxthdr (struct msghdr *__mhdr, struct cmsghdr *__cmsg) __attribute__ ((__nothrow__)); extern __inline struct cmsghdr * __attribute__ ((__nothrow__)) __cmsg_nxthdr (struct msghdr *__mhdr, struct cmsghdr *__cmsg) { if ((size_t) __cmsg->cmsg_len < sizeof (struct cmsghdr)) return 0; __cmsg = (struct cmsghdr *) ((unsigned char *) __cmsg + (((__cmsg->cmsg_len) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1))); if ((unsigned char *) (__cmsg + 1) > ((unsigned char *) __mhdr->msg_control + __mhdr->msg_controllen) || ((unsigned char *) __cmsg + (((__cmsg->cmsg_len) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1)) > ((unsigned char *) __mhdr->msg_control + __mhdr->msg_controllen))) return 0; return __cmsg; } enum { SCM_RIGHTS = 0x01 , SCM_CREDENTIALS = 0x02 }; struct ucred { pid_t pid; uid_t uid; gid_t gid; }; # 1 "//usr/include/asm/socket.h" 1 3 4 # 1 "//usr/include/asm/sockios.h" 1 3 4 # 5 "//usr/include/asm/socket.h" 2 3 4 # 305 "../sysdeps/unix/sysv/linux/bits/socket.h" 2 struct linger { int l_onoff; int l_linger; }; # 36 "../socket/sys/socket.h" 2 struct osockaddr { unsigned short int sa_family; unsigned char sa_data[14]; }; enum { SHUT_RD = 0, SHUT_WR, SHUT_RDWR }; # 87 "../socket/sys/socket.h" typedef union { struct sockaddr *__restrict __sockaddr__; struct sockaddr_at *__restrict __sockaddr_at__; struct sockaddr_ax25 *__restrict __sockaddr_ax25__; struct sockaddr_dl *__restrict __sockaddr_dl__; struct sockaddr_eon *__restrict __sockaddr_eon__; struct sockaddr_in *__restrict __sockaddr_in__; struct sockaddr_in6 *__restrict __sockaddr_in6__; struct sockaddr_inarp *__restrict __sockaddr_inarp__; struct sockaddr_ipx *__restrict __sockaddr_ipx__; struct sockaddr_iso *__restrict __sockaddr_iso__; struct sockaddr_ns *__restrict __sockaddr_ns__; struct sockaddr_un *__restrict __sockaddr_un__; struct sockaddr_x25 *__restrict __sockaddr_x25__; } __SOCKADDR_ARG __attribute__ ((__transparent_union__)); typedef union { __const struct sockaddr *__restrict __sockaddr__; __const struct sockaddr_at *__restrict __sockaddr_at__; __const struct sockaddr_ax25 *__restrict __sockaddr_ax25__; __const struct sockaddr_dl *__restrict __sockaddr_dl__; __const struct sockaddr_eon *__restrict __sockaddr_eon__; __const struct sockaddr_in *__restrict __sockaddr_in__; __const struct sockaddr_in6 *__restrict __sockaddr_in6__; __const struct sockaddr_inarp *__restrict __sockaddr_inarp__; __const struct sockaddr_ipx *__restrict __sockaddr_ipx__; __const struct sockaddr_iso *__restrict __sockaddr_iso__; __const struct sockaddr_ns *__restrict __sockaddr_ns__; __const struct sockaddr_un *__restrict __sockaddr_un__; __const struct sockaddr_x25 *__restrict __sockaddr_x25__; } __CONST_SOCKADDR_ARG __attribute__ ((__transparent_union__)); extern int socket (int __domain, int __type, int __protocol) __attribute__ ((__nothrow__)); extern int socketpair (int __domain, int __type, int __protocol, int __fds[2]) __attribute__ ((__nothrow__)); extern int bind (int __fd, __CONST_SOCKADDR_ARG __addr, socklen_t __len) __attribute__ ((__nothrow__)); extern int getsockname (int __fd, __SOCKADDR_ARG __addr, socklen_t *__restrict __len) __attribute__ ((__nothrow__)); # 124 "../socket/sys/socket.h" extern int connect (int __fd, __CONST_SOCKADDR_ARG __addr, socklen_t __len); extern int getpeername (int __fd, __SOCKADDR_ARG __addr, socklen_t *__restrict __len) __attribute__ ((__nothrow__)); extern ssize_t send (int __fd, __const void *__buf, size_t __n, int __flags); extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); extern ssize_t sendto (int __fd, __const void *__buf, size_t __n, int __flags, __CONST_SOCKADDR_ARG __addr, socklen_t __addr_len); # 161 "../socket/sys/socket.h" extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags, __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len); extern ssize_t sendmsg (int __fd, __const struct msghdr *__message, int __flags); extern ssize_t recvmsg (int __fd, struct msghdr *__message, int __flags); extern int getsockopt (int __fd, int __level, int __optname, void *__restrict __optval, socklen_t *__restrict __optlen) __attribute__ ((__nothrow__)); extern int setsockopt (int __fd, int __level, int __optname, __const void *__optval, socklen_t __optlen) __attribute__ ((__nothrow__)); extern int listen (int __fd, int __n) __attribute__ ((__nothrow__)); # 209 "../socket/sys/socket.h" extern int accept (int __fd, __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len); extern int shutdown (int __fd, int __how) __attribute__ ((__nothrow__)); extern int sockatmark (int __fd) __attribute__ ((__nothrow__)); extern int isfdtype (int __fd, int __fdtype) __attribute__ ((__nothrow__)); # 3 "../include/sys/socket.h" 2 extern int __socket (int __domain, int __type, int __protocol) ; extern int __socketpair (int __domain, int __type, int __protocol, int __fds[2]) ; extern int __opensock (void) __attribute__ ((regparm (3), stdcall)) ; extern int __getpeername (int __fd, __SOCKADDR_ARG __addr, socklen_t *__len) ; extern ssize_t __libc_send (int __fd, __const void *__buf, size_t __n, int __flags); extern ssize_t __send (int __fd, __const void *__buf, size_t __n, int __flags); extern ssize_t __libc_recv (int __fd, void *__buf, size_t __n, int __flags); extern ssize_t __libc_sendto (int __fd, __const void *__buf, size_t __n, int __flags, __CONST_SOCKADDR_ARG __addr, socklen_t __addr_len); extern ssize_t __libc_recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags, __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len); extern int __libc_connect (int __fd, __CONST_SOCKADDR_ARG __addr, socklen_t __len); extern int __connect (int __fd, __CONST_SOCKADDR_ARG __addr, socklen_t __len); extern int __connect_internal (int __fd, __CONST_SOCKADDR_ARG __addr, socklen_t __len) ; extern ssize_t __libc_sendto (int __fd, __const void *__buf, size_t __n, int __flags, __CONST_SOCKADDR_ARG __addr, socklen_t __addr_len); extern ssize_t __sendto (int __fd, __const void *__buf, size_t __n, int __flags, __CONST_SOCKADDR_ARG __addr, socklen_t __addr_len) ; extern ssize_t __recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags, __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) ; extern ssize_t __libc_sendmsg (int __fd, __const struct msghdr *__message, int __flags); extern ssize_t __sendmsg (int __fd, __const struct msghdr *__message, int __flags) ; extern ssize_t __libc_recvmsg (int __fd, struct msghdr *__message, int __flags); extern ssize_t __recvmsg (int __fd, struct msghdr *__message, int __flags) ; extern int __setsockopt (int __fd, int __level, int __optname, __const void *__optval, socklen_t __optlen) ; extern int __getsockopt (int __fd, int __level, int __optname, void *__restrict __optval, socklen_t *__restrict __optlen) ; extern int __getsockname (int __fd, __SOCKADDR_ARG __addr, socklen_t *__restrict __len) ; extern int __bind (int __fd, __CONST_SOCKADDR_ARG __addr, socklen_t __len) ; extern int __listen (int __fd, int __n) ; extern int __libc_accept (int __fd, __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) __attribute__ ((__nothrow__)); extern int __libc_sa_len (sa_family_t __af); extern int __libc_sa_len_internal (sa_family_t __af) ; # 25 "../inet/netinet/in.h" 2 enum { IPPROTO_IP = 0, IPPROTO_HOPOPTS = 0, IPPROTO_ICMP = 1, IPPROTO_IGMP = 2, IPPROTO_IPIP = 4, IPPROTO_TCP = 6, IPPROTO_EGP = 8, IPPROTO_PUP = 12, IPPROTO_UDP = 17, IPPROTO_IDP = 22, IPPROTO_TP = 29, IPPROTO_IPV6 = 41, IPPROTO_ROUTING = 43, IPPROTO_FRAGMENT = 44, IPPROTO_RSVP = 46, IPPROTO_GRE = 47, IPPROTO_ESP = 50, IPPROTO_AH = 51, IPPROTO_ICMPV6 = 58, IPPROTO_NONE = 59, IPPROTO_DSTOPTS = 60, IPPROTO_MTP = 92, IPPROTO_ENCAP = 98, IPPROTO_PIM = 103, IPPROTO_COMP = 108, IPPROTO_SCTP = 132, IPPROTO_RAW = 255, IPPROTO_MAX }; typedef uint16_t in_port_t; enum { IPPORT_ECHO = 7, IPPORT_DISCARD = 9, IPPORT_SYSTAT = 11, IPPORT_DAYTIME = 13, IPPORT_NETSTAT = 15, IPPORT_FTP = 21, IPPORT_TELNET = 23, IPPORT_SMTP = 25, IPPORT_TIMESERVER = 37, IPPORT_NAMESERVER = 42, IPPORT_WHOIS = 43, IPPORT_MTP = 57, IPPORT_TFTP = 69, IPPORT_RJE = 77, IPPORT_FINGER = 79, IPPORT_TTYLINK = 87, IPPORT_SUPDUP = 95, IPPORT_EXECSERVER = 512, IPPORT_LOGINSERVER = 513, IPPORT_CMDSERVER = 514, IPPORT_EFSSERVER = 520, IPPORT_BIFFUDP = 512, IPPORT_WHOSERVER = 513, IPPORT_ROUTESERVER = 520, IPPORT_RESERVED = 1024, IPPORT_USERRESERVED = 5000 }; typedef uint32_t in_addr_t; struct in_addr { in_addr_t s_addr; }; # 193 "../inet/netinet/in.h" struct in6_addr { union { uint8_t u6_addr8[16]; uint16_t u6_addr16[8]; uint32_t u6_addr32[4]; } in6_u; }; extern const struct in6_addr in6addr_any; extern const struct in6_addr in6addr_loopback; # 219 "../inet/netinet/in.h" struct sockaddr_in { sa_family_t sin_family; in_port_t sin_port; struct in_addr sin_addr; unsigned char sin_zero[sizeof (struct sockaddr) - (sizeof (unsigned short int)) - sizeof (in_port_t) - sizeof (struct in_addr)]; }; struct sockaddr_in6 { sa_family_t sin6_family; in_port_t sin6_port; uint32_t sin6_flowinfo; struct in6_addr sin6_addr; uint32_t sin6_scope_id; }; struct ip_mreq { struct in_addr imr_multiaddr; struct in_addr imr_interface; }; struct ip_mreq_source { struct in_addr imr_multiaddr; struct in_addr imr_interface; struct in_addr imr_sourceaddr; }; struct ipv6_mreq { struct in6_addr ipv6mr_multiaddr; unsigned int ipv6mr_interface; }; struct group_req { uint32_t gr_interface; struct sockaddr_storage gr_group; }; struct group_source_req { uint32_t gsr_interface; struct sockaddr_storage gsr_group; struct sockaddr_storage gsr_source; }; struct ip_msfilter { struct in_addr imsf_multiaddr; struct in_addr imsf_interface; uint32_t imsf_fmode; uint32_t imsf_numsrc; struct in_addr imsf_slist[1]; }; struct group_filter { uint32_t gf_interface; struct sockaddr_storage gf_group; uint32_t gf_fmode; uint32_t gf_numsrc; struct sockaddr_storage gf_slist[1]; }; # 345 "../inet/netinet/in.h" # 1 "../sysdeps/unix/sysv/linux/bits/in.h" 1 # 82 "../sysdeps/unix/sysv/linux/bits/in.h" struct ip_opts { struct in_addr ip_dst; char ip_opts[40]; }; struct ip_mreqn { struct in_addr imr_multiaddr; struct in_addr imr_address; int imr_ifindex; }; struct in_pktinfo { int ipi_ifindex; struct in_addr ipi_spec_dst; struct in_addr ipi_addr; }; # 346 "../inet/netinet/in.h" 2 # 354 "../inet/netinet/in.h" extern uint32_t ntohl (uint32_t __netlong) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern uint16_t ntohs (uint16_t __netshort) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern uint32_t htonl (uint32_t __hostlong) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern uint16_t htons (uint16_t __hostshort) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); # 1 "../include/endian.h" 1 # 363 "../inet/netinet/in.h" 2 # 1 "../sysdeps/i386/bits/byteswap.h" 1 # 366 "../inet/netinet/in.h" 2 # 428 "../inet/netinet/in.h" extern int bindresvport (int __sockfd, struct sockaddr_in *__sock_in) __attribute__ ((__nothrow__)); extern int bindresvport6 (int __sockfd, struct sockaddr_in6 *__sock_in) __attribute__ ((__nothrow__)); # 456 "../inet/netinet/in.h" struct in6_pktinfo { struct in6_addr ipi6_addr; unsigned int ipi6_ifindex; }; extern int inet6_option_space (int __nbytes) __attribute__ ((__nothrow__)); extern int inet6_option_init (void *__bp, struct cmsghdr **__cmsgp, int __type) __attribute__ ((__nothrow__)); extern int inet6_option_append (struct cmsghdr *__cmsg, __const uint8_t *__typep, int __multx, int __plusy) __attribute__ ((__nothrow__)); extern uint8_t *inet6_option_alloc (struct cmsghdr *__cmsg, int __datalen, int __multx, int __plusy) __attribute__ ((__nothrow__)); extern int inet6_option_next (__const struct cmsghdr *__cmsg, uint8_t **__tptrp) __attribute__ ((__nothrow__)); extern int inet6_option_find (__const struct cmsghdr *__cmsg, uint8_t **__tptrp, int __type) __attribute__ ((__nothrow__)); extern int getipv4sourcefilter (int __s, struct in_addr __interface_addr, struct in_addr __group, uint32_t *__fmode, uint32_t *__numsrc, struct in_addr *__slist) __attribute__ ((__nothrow__)); extern int setipv4sourcefilter (int __s, struct in_addr __interface_addr, struct in_addr __group, uint32_t __fmode, uint32_t __numsrc, __const struct in_addr *__slist) __attribute__ ((__nothrow__)); extern int getsourcefilter (int __s, uint32_t __interface_addr, __const struct sockaddr *__group, socklen_t __grouplen, uint32_t *__fmode, uint32_t *__numsrc, struct sockaddr_storage *__slist) __attribute__ ((__nothrow__)); extern int setsourcefilter (int __s, uint32_t __interface_addr, __const struct sockaddr *__group, socklen_t __grouplen, uint32_t __fmode, uint32_t __numsrc, __const struct sockaddr_storage *__slist) __attribute__ ((__nothrow__)); # 4 "../include/netinet/in.h" 2 # 58 "../resolv/resolv.h" 2 # 71 "../resolv/resolv.h" typedef enum { res_goahead, res_nextns, res_modified, res_done, res_error } res_sendhookact; typedef res_sendhookact (*res_send_qhook) (struct sockaddr_in * const *ns, const u_char **query, int *querylen, u_char *ans, int anssiz, int *resplen); typedef res_sendhookact (*res_send_rhook) (const struct sockaddr_in *ns, const u_char *query, int querylen, u_char *ans, int anssiz, int *resplen); # 104 "../resolv/resolv.h" struct __res_state { int retrans; int retry; u_long options; int nscount; struct sockaddr_in nsaddr_list[3]; u_short id; char *dnsrch[6 +1]; char defdname[256]; u_long pfcode; unsigned ndots:4; unsigned nsort:4; char unused[3]; struct { struct in_addr addr; u_int32_t mask; } sort_list[10]; res_send_qhook qhook; res_send_rhook rhook; int res_h_errno; int _vcsock; u_int _flags; union { char pad[52]; struct { u_int16_t nscount; u_int16_t nsmap[3]; int nssocks[3]; u_int16_t nscount6; u_int16_t nsinit; struct sockaddr_in6 *nsaddrs[3]; unsigned long long int initstamp __attribute__((packed)); } _ext; } _u; }; typedef struct __res_state *res_state; # 12 "../include/resolv.h" 2 # 20 "../linuxthreads/descr.h" 2 # 1 "../include/sched.h" 1 # 1 "../posix/sched.h" 1 # 29 "../posix/sched.h" # 1 "../include/time.h" 1 # 1 "../time/time.h" 1 # 4 "../include/time.h" 2 # 30 "../posix/sched.h" 2 # 1 "../sysdeps/unix/sysv/linux/bits/sched.h" 1 # 62 "../sysdeps/unix/sysv/linux/bits/sched.h" struct sched_param { int __sched_priority; }; extern int clone (int (*__fn) (void *__arg), void *__child_stack, int __flags, void *__arg) __attribute__ ((__nothrow__)); # 98 "../sysdeps/unix/sysv/linux/bits/sched.h" typedef unsigned long int __cpu_mask; typedef struct { __cpu_mask __bits[1024 / (8 * sizeof (__cpu_mask))]; } cpu_set_t; # 33 "../posix/sched.h" 2 extern int sched_setparam (__pid_t __pid, __const struct sched_param *__param) __attribute__ ((__nothrow__)); extern int sched_getparam (__pid_t __pid, struct sched_param *__param) __attribute__ ((__nothrow__)); extern int sched_setscheduler (__pid_t __pid, int __policy, __const struct sched_param *__param) __attribute__ ((__nothrow__)); extern int sched_getscheduler (__pid_t __pid) __attribute__ ((__nothrow__)); extern int sched_yield (void) __attribute__ ((__nothrow__)); extern int sched_get_priority_max (int __algorithm) __attribute__ ((__nothrow__)); extern int sched_get_priority_min (int __algorithm) __attribute__ ((__nothrow__)); extern int sched_rr_get_interval (__pid_t __pid, struct timespec *__t) __attribute__ ((__nothrow__)); # 76 "../posix/sched.h" extern int sched_setaffinity (__pid_t __pid, size_t __cpusetsize, __const cpu_set_t *__cpuset) __attribute__ ((__nothrow__)); extern int sched_getaffinity (__pid_t __pid, size_t __cpusetsize, cpu_set_t *__cpuset) __attribute__ ((__nothrow__)); # 3 "../include/sched.h" 2 extern int __sched_setparam (__pid_t __pid, __const struct sched_param *__param); extern int __sched_getparam (__pid_t __pid, struct sched_param *__param); extern int __sched_setscheduler (__pid_t __pid, int __policy, __const struct sched_param *__param); extern int __sched_getscheduler (__pid_t __pid); extern int __sched_yield (void); extern int __sched_get_priority_max (int __algorithm); extern int __sched_get_priority_min (int __algorithm); extern int __sched_rr_get_interval (__pid_t __pid, struct timespec *__t); extern int __clone (int (*__fn) (void *__arg), void *__child_stack, int __flags, void *__arg, ...); extern int __clone2 (int (*__fn) (void *__arg), void *__child_stack_base, size_t __child_stack_size, int __flags, void *__arg, ...); # 21 "../linuxthreads/descr.h" 2 # 1 "../include/setjmp.h" 1 # 1 "../setjmp/setjmp.h" 1 # 28 "../setjmp/setjmp.h" # 1 "../sysdeps/i386/bits/setjmp.h" 1 # 38 "../sysdeps/i386/bits/setjmp.h" typedef int __jmp_buf[6]; # 31 "../setjmp/setjmp.h" 2 # 1 "../sysdeps/unix/sysv/linux/bits/sigset.h" 1 # 32 "../setjmp/setjmp.h" 2 typedef struct __jmp_buf_tag { __jmp_buf __jmpbuf; int __mask_was_saved; __sigset_t __saved_mask; } jmp_buf[1]; extern int setjmp (jmp_buf __env) __attribute__ ((__nothrow__)); extern int __sigsetjmp (struct __jmp_buf_tag __env[1], int __savemask) __attribute__ ((__nothrow__)); extern int _setjmp (struct __jmp_buf_tag __env[1]) __attribute__ ((__nothrow__)); # 76 "../setjmp/setjmp.h" extern void longjmp (struct __jmp_buf_tag __env[1], int __val) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); extern void _longjmp (struct __jmp_buf_tag __env[1], int __val) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); typedef struct __jmp_buf_tag sigjmp_buf[1]; # 108 "../setjmp/setjmp.h" extern void siglongjmp (sigjmp_buf __env, int __val) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); # 3 "../include/setjmp.h" 2 extern void __longjmp (__jmp_buf __env, int __val) __attribute__ ((__noreturn__)); extern int __sigjmp_save (jmp_buf __env, int __savemask); extern void _longjmp_unwind (jmp_buf env, int val); extern void __libc_siglongjmp (sigjmp_buf env, int val) __attribute__ ((noreturn)); extern void __libc_longjmp (sigjmp_buf env, int val) __attribute__ ((noreturn)); # 22 "../linuxthreads/descr.h" 2 # 1 "../include/signal.h" 1 # 1 "../signal/signal.h" 1 # 31 "../signal/signal.h" # 1 "../sysdeps/unix/sysv/linux/bits/sigset.h" 1 # 103 "../sysdeps/unix/sysv/linux/bits/sigset.h" extern int __sigismember (__const __sigset_t *, int); extern int __sigaddset (__sigset_t *, int); extern int __sigdelset (__sigset_t *, int); # 117 "../sysdeps/unix/sysv/linux/bits/sigset.h" extern __inline int __sigismember (__const __sigset_t *__set, int __sig) { unsigned long int __mask = (((unsigned long int) 1) << (((__sig) - 1) % (8 * sizeof (unsigned long int)))); unsigned long int __word = (((__sig) - 1) / (8 * sizeof (unsigned long int))); return (__set->__val[__word] & __mask) ? 1 : 0; } extern __inline int __sigaddset ( __sigset_t *__set, int __sig) { unsigned long int __mask = (((unsigned long int) 1) << (((__sig) - 1) % (8 * sizeof (unsigned long int)))); unsigned long int __word = (((__sig) - 1) / (8 * sizeof (unsigned long int))); return ((__set->__val[__word] |= __mask), 0); } extern __inline int __sigdelset ( __sigset_t *__set, int __sig) { unsigned long int __mask = (((unsigned long int) 1) << (((__sig) - 1) % (8 * sizeof (unsigned long int)))); unsigned long int __word = (((__sig) - 1) / (8 * sizeof (unsigned long int))); return ((__set->__val[__word] &= ~__mask), 0); } # 34 "../signal/signal.h" 2 typedef __sig_atomic_t sig_atomic_t; # 58 "../signal/signal.h" # 1 "../sysdeps/unix/sysv/linux/bits/signum.h" 1 # 59 "../signal/signal.h" 2 # 75 "../signal/signal.h" typedef void (*__sighandler_t) (int); extern __sighandler_t __sysv_signal (int __sig, __sighandler_t __handler) __attribute__ ((__nothrow__)); extern __sighandler_t sysv_signal (int __sig, __sighandler_t __handler) __attribute__ ((__nothrow__)); extern __sighandler_t signal (int __sig, __sighandler_t __handler) __attribute__ ((__nothrow__)); # 104 "../signal/signal.h" extern __sighandler_t bsd_signal (int __sig, __sighandler_t __handler) __attribute__ ((__nothrow__)); extern int kill (__pid_t __pid, int __sig) __attribute__ ((__nothrow__)); extern int killpg (__pid_t __pgrp, int __sig) __attribute__ ((__nothrow__)); extern int raise (int __sig) __attribute__ ((__nothrow__)); extern __sighandler_t ssignal (int __sig, __sighandler_t __handler) __attribute__ ((__nothrow__)); extern int gsignal (int __sig) __attribute__ ((__nothrow__)); extern void psignal (int __sig, __const char *__s); # 153 "../signal/signal.h" extern int __sigpause (int __sig_or_mask, int __is_sig); # 162 "../signal/signal.h" extern int sigpause (int __sig) __asm__ ("__xpg_sigpause"); # 181 "../signal/signal.h" extern int sigblock (int __mask) __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__)); extern int sigsetmask (int __mask) __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__)); extern int siggetmask (void) __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__)); # 196 "../signal/signal.h" typedef __sighandler_t sighandler_t; typedef __sighandler_t sig_t; # 1 "../include/time.h" 1 # 1 "../time/time.h" 1 # 4 "../include/time.h" 2 # 210 "../signal/signal.h" 2 # 1 "../sysdeps/unix/sysv/linux/bits/siginfo.h" 1 # 25 "../sysdeps/unix/sysv/linux/bits/siginfo.h" # 1 "../sysdeps/wordsize-32/bits/wordsize.h" 1 # 26 "../sysdeps/unix/sysv/linux/bits/siginfo.h" 2 typedef union sigval { int sival_int; void *sival_ptr; } sigval_t; # 51 "../sysdeps/unix/sysv/linux/bits/siginfo.h" typedef struct siginfo { int si_signo; int si_errno; int si_code; union { int _pad[((128 / sizeof (int)) - 3)]; struct { __pid_t si_pid; __uid_t si_uid; } _kill; struct { int si_tid; int si_overrun; sigval_t si_sigval; } _timer; struct { __pid_t si_pid; __uid_t si_uid; sigval_t si_sigval; } _rt; struct { __pid_t si_pid; __uid_t si_uid; int si_status; __clock_t si_utime; __clock_t si_stime; } _sigchld; struct { void *si_addr; } _sigfault; struct { long int si_band; int si_fd; } _sigpoll; } _sifields; } siginfo_t; # 129 "../sysdeps/unix/sysv/linux/bits/siginfo.h" enum { SI_ASYNCNL = -60, SI_TKILL = -6, SI_SIGIO, SI_ASYNCIO, SI_MESGQ, SI_TIMER, SI_QUEUE, SI_USER, SI_KERNEL = 0x80 }; enum { ILL_ILLOPC = 1, ILL_ILLOPN, ILL_ILLADR, ILL_ILLTRP, ILL_PRVOPC, ILL_PRVREG, ILL_COPROC, ILL_BADSTK }; enum { FPE_INTDIV = 1, FPE_INTOVF, FPE_FLTDIV, FPE_FLTOVF, FPE_FLTUND, FPE_FLTRES, FPE_FLTINV, FPE_FLTSUB }; enum { SEGV_MAPERR = 1, SEGV_ACCERR }; enum { BUS_ADRALN = 1, BUS_ADRERR, BUS_OBJERR }; enum { TRAP_BRKPT = 1, TRAP_TRACE }; enum { CLD_EXITED = 1, CLD_KILLED, CLD_DUMPED, CLD_TRAPPED, CLD_STOPPED, CLD_CONTINUED }; enum { POLL_IN = 1, POLL_OUT, POLL_MSG, POLL_ERR, POLL_PRI, POLL_HUP }; # 273 "../sysdeps/unix/sysv/linux/bits/siginfo.h" typedef struct sigevent { sigval_t sigev_value; int sigev_signo; int sigev_notify; union { int _pad[((64 / sizeof (int)) - 3)]; __pid_t _tid; struct { void (*_function) (sigval_t); void *_attribute; } _sigev_thread; } _sigev_un; } sigevent_t; enum { SIGEV_SIGNAL = 0, SIGEV_NONE, SIGEV_THREAD, SIGEV_THREAD_ID = 4 }; # 213 "../signal/signal.h" 2 extern int sigemptyset (sigset_t *__set) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int sigfillset (sigset_t *__set) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int sigaddset (sigset_t *__set, int __signo) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int sigdelset (sigset_t *__set, int __signo) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int sigismember (__const sigset_t *__set, int __signo) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int sigisemptyset (__const sigset_t *__set) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int sigandset (sigset_t *__set, __const sigset_t *__left, __const sigset_t *__right) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2, 3))); extern int sigorset (sigset_t *__set, __const sigset_t *__left, __const sigset_t *__right) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2, 3))); # 1 "../sysdeps/unix/sysv/linux/bits/sigaction.h" 1 # 25 "../sysdeps/unix/sysv/linux/bits/sigaction.h" struct sigaction { union { __sighandler_t sa_handler; void (*sa_sigaction) (int, siginfo_t *, void *); } __sigaction_handler; __sigset_t sa_mask; int sa_flags; void (*sa_restorer) (void); }; # 247 "../signal/signal.h" 2 extern int sigprocmask (int __how, __const sigset_t *__restrict __set, sigset_t *__restrict __oset) __attribute__ ((__nothrow__)); extern int sigsuspend (__const sigset_t *__set) __attribute__ ((__nonnull__ (1))); extern int sigaction (int __sig, __const struct sigaction *__restrict __act, struct sigaction *__restrict __oact) __attribute__ ((__nothrow__)); extern int sigpending (sigset_t *__set) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int sigwait (__const sigset_t *__restrict __set, int *__restrict __sig) __attribute__ ((__nonnull__ (1, 2))); extern int sigwaitinfo (__const sigset_t *__restrict __set, siginfo_t *__restrict __info) __attribute__ ((__nonnull__ (1))); extern int sigtimedwait (__const sigset_t *__restrict __set, siginfo_t *__restrict __info, __const struct timespec *__restrict __timeout) __attribute__ ((__nonnull__ (1))); extern int sigqueue (__pid_t __pid, int __sig, __const union sigval __val) __attribute__ ((__nothrow__)); # 304 "../signal/signal.h" extern __const char *__const _sys_siglist[65]; extern __const char *__const sys_siglist[65]; struct sigvec { __sighandler_t sv_handler; int sv_mask; int sv_flags; }; # 328 "../signal/signal.h" extern int sigvec (int __sig, __const struct sigvec *__vec, struct sigvec *__ovec) __attribute__ ((__nothrow__)); # 1 "../sysdeps/unix/sysv/linux/bits/sigcontext.h" 1 # 28 "../sysdeps/unix/sysv/linux/bits/sigcontext.h" # 1 "//usr/include/asm/sigcontext.h" 1 3 4 # 1 "//usr/include/linux/compiler.h" 1 3 4 # 5 "//usr/include/asm/sigcontext.h" 2 3 4 # 20 "//usr/include/asm/sigcontext.h" 3 4 struct _fpreg { unsigned short significand[4]; unsigned short exponent; }; struct _fpxreg { unsigned short significand[4]; unsigned short exponent; unsigned short padding[3]; }; struct _xmmreg { unsigned long element[4]; }; struct _fpstate { unsigned long cw; unsigned long sw; unsigned long tag; unsigned long ipoff; unsigned long cssel; unsigned long dataoff; unsigned long datasel; struct _fpreg _st[8]; unsigned short status; unsigned short magic; unsigned long _fxsr_env[6]; unsigned long mxcsr; unsigned long reserved; struct _fpxreg _fxsr_st[8]; struct _xmmreg _xmm[8]; unsigned long padding[56]; }; struct sigcontext { unsigned short gs, __gsh; unsigned short fs, __fsh; unsigned short es, __esh; unsigned short ds, __dsh; unsigned long edi; unsigned long esi; unsigned long ebp; unsigned long esp; unsigned long ebx; unsigned long edx; unsigned long ecx; unsigned long eax; unsigned long trapno; unsigned long err; unsigned long eip; unsigned short cs, __csh; unsigned long eflags; unsigned long esp_at_signal; unsigned short ss, __ssh; struct _fpstate * fpstate; unsigned long oldmask; unsigned long cr2; }; # 29 "../sysdeps/unix/sysv/linux/bits/sigcontext.h" 2 # 334 "../signal/signal.h" 2 extern int sigreturn (struct sigcontext *__scp) __attribute__ ((__nothrow__)); # 346 "../signal/signal.h" extern int siginterrupt (int __sig, int __interrupt) __attribute__ ((__nothrow__)); # 1 "../sysdeps/unix/sysv/linux/bits/sigstack.h" 1 # 26 "../sysdeps/unix/sysv/linux/bits/sigstack.h" struct sigstack { void *ss_sp; int ss_onstack; }; enum { SS_ONSTACK = 1, SS_DISABLE }; # 50 "../sysdeps/unix/sysv/linux/bits/sigstack.h" typedef struct sigaltstack { void *ss_sp; int ss_flags; size_t ss_size; } stack_t; # 349 "../signal/signal.h" 2 # 1 "../sysdeps/unix/sysv/linux/i386/sys/ucontext.h" 1 # 23 "../sysdeps/unix/sysv/linux/i386/sys/ucontext.h" # 1 "../include/signal.h" 1 # 24 "../sysdeps/unix/sysv/linux/i386/sys/ucontext.h" 2 # 1 "../sysdeps/unix/sysv/linux/bits/sigcontext.h" 1 # 28 "../sysdeps/unix/sysv/linux/i386/sys/ucontext.h" 2 typedef int greg_t; typedef greg_t gregset_t[19]; enum { REG_GS = 0, REG_FS, REG_ES, REG_DS, REG_EDI, REG_ESI, REG_EBP, REG_ESP, REG_EBX, REG_EDX, REG_ECX, REG_EAX, REG_TRAPNO, REG_ERR, REG_EIP, REG_CS, REG_EFL, REG_UESP, REG_SS }; struct _libc_fpreg { unsigned short int significand[4]; unsigned short int exponent; }; struct _libc_fpstate { unsigned long int cw; unsigned long int sw; unsigned long int tag; unsigned long int ipoff; unsigned long int cssel; unsigned long int dataoff; unsigned long int datasel; struct _libc_fpreg _st[8]; unsigned long int status; }; typedef struct _libc_fpstate *fpregset_t; typedef struct { gregset_t gregs; fpregset_t fpregs; unsigned long int oldmask; unsigned long int cr2; } mcontext_t; typedef struct ucontext { unsigned long int uc_flags; struct ucontext *uc_link; stack_t uc_stack; mcontext_t uc_mcontext; __sigset_t uc_sigmask; struct _libc_fpstate __fpregs_mem; } ucontext_t; # 352 "../signal/signal.h" 2 extern int sigstack (struct sigstack *__ss, struct sigstack *__oss) __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__)); extern int sigaltstack (__const struct sigaltstack *__restrict __ss, struct sigaltstack *__restrict __oss) __attribute__ ((__nothrow__)); extern int sighold (int __sig) __attribute__ ((__nothrow__)); extern int sigrelse (int __sig) __attribute__ ((__nothrow__)); extern int sigignore (int __sig) __attribute__ ((__nothrow__)); extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __attribute__ ((__nothrow__)); # 1 "../linuxthreads/sysdeps/pthread/bits/pthreadtypes.h" 1 # 387 "../signal/signal.h" 2 # 1 "../linuxthreads/sysdeps/unix/sysv/linux/bits/sigthread.h" 1 # 31 "../linuxthreads/sysdeps/unix/sysv/linux/bits/sigthread.h" extern int pthread_sigmask (int __how, __const __sigset_t *__restrict __newmask, __sigset_t *__restrict __oldmask)__attribute__ ((__nothrow__)); extern int pthread_kill (pthread_t __threadid, int __signo) __attribute__ ((__nothrow__)); # 388 "../signal/signal.h" 2 extern int __libc_current_sigrtmin (void) __attribute__ ((__nothrow__)); extern int __libc_current_sigrtmax (void) __attribute__ ((__nothrow__)); # 6 "../include/signal.h" 2 extern __sighandler_t __bsd_signal (int __sig, __sighandler_t __handler); extern int __kill (__pid_t __pid, int __sig); extern int __sigaction (int __sig, __const struct sigaction *__restrict __act, struct sigaction *__restrict __oact); extern int __sigblock (int __mask); extern int __sigsetmask (int __mask); extern int __sigprocmask (int __how, __const sigset_t *__set, sigset_t *__oset); extern int __sigsuspend (__const sigset_t *__set); extern int __sigwait (__const sigset_t *__set, int *__sig); extern int __sigwaitinfo (__const sigset_t *__set, siginfo_t *__info); extern int __sigtimedwait (__const sigset_t *__set, siginfo_t *__info, __const struct timespec *__timeout); extern int __sigqueue (__pid_t __pid, int __sig, __const union sigval __val); extern int __sigvec (int __sig, __const struct sigvec *__vec, struct sigvec *__ovec); extern int __sigreturn (struct sigcontext *__scp); extern int __sigaltstack (__const struct sigaltstack *__ss, struct sigaltstack *__oss); extern int __libc_sigaction (int sig, const struct sigaction *act, struct sigaction *oact); extern int __sigpause (int sig_or_mask, int is_sig); extern int __default_sigpause (int mask); extern int __xpg_sigpause (int sig); extern int __libc_allocate_rtsig (int __high); # 23 "../linuxthreads/descr.h" 2 # 1 "../include/sys/types.h" 1 # 25 "../linuxthreads/descr.h" 2 # 1 "../sysdeps/i386/i686/hp-timing.h" 1 # 24 "../sysdeps/i386/i686/hp-timing.h" # 1 "../include/string.h" 1 # 1 "../include/sys/types.h" 1 # 4 "../include/string.h" 2 extern void *__memccpy (void *__dest, __const void *__src, int __c, size_t __n); extern size_t __strnlen (__const char *__string, size_t __maxlen) __attribute__ ((__pure__)); extern char *__strsep (char **__stringp, __const char *__delim); extern int __strverscmp (__const char *__s1, __const char *__s2) __attribute__ ((__pure__)); extern int __strncasecmp (__const char *__s1, __const char *__s2, size_t __n) __attribute__ ((__pure__)); extern int __strcasecmp (__const char *__s1, __const char *__s2) __attribute__ ((__pure__)); extern char *__strcasestr (__const char *__haystack, __const char *__needle) __attribute__ ((__pure__)); extern char *__strdup (__const char *__string) __attribute__ ((__malloc__)); extern char *__strndup (__const char *__string, size_t __n) __attribute__ ((__malloc__)); extern void *__rawmemchr (__const void *__s, int __c) __attribute__ ((__pure__)); extern char *__strchrnul (__const char *__s, int __c) __attribute__ ((__pure__)); extern void *__memrchr (__const void *__s, int __c, size_t __n) __attribute__ ((__pure__)); extern void *__memchr (__const void *__s, int __c, size_t __n) __attribute__ ((__pure__)); extern int __ffs (int __i) __attribute__ ((const)); extern char *__strerror_r (int __errnum, char *__buf, size_t __buflen); # 1 "../string/string.h" 1 # 28 "../string/string.h" # 1 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/stddef.h" 1 3 4 # 34 "../string/string.h" 2 extern void *memcpy (void *__restrict __dest, __const void *__restrict __src, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern void *memmove (void *__dest, __const void *__src, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern void *memccpy (void *__restrict __dest, __const void *__restrict __src, int __c, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern void *memset (void *__s, int __c, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int memcmp (__const void *__s1, __const void *__s2, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern void *memchr (__const void *__s, int __c, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern void *rawmemchr (__const void *__s, int __c) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern void *memrchr (__const void *__s, int __c, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strncpy (char *__restrict __dest, __const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strcat (char *__restrict __dest, __const char *__restrict __src) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strncat (char *__restrict __dest, __const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int strcmp (__const char *__s1, __const char *__s2) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strncmp (__const char *__s1, __const char *__s2, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strcoll (__const char *__s1, __const char *__s2) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern size_t strxfrm (char *__restrict __dest, __const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); # 1 "../include/xlocale.h" 1 # 119 "../string/string.h" 2 extern int strcoll_l (__const char *__s1, __const char *__s2, __locale_t __l) __attribute__ ((__nothrow__)) __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__)) __attribute__ ((__nonnull__ (2, 4))); extern char *strdup (__const char *__s) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); extern char *strndup (__const char *__string, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); # 165 "../string/string.h" extern char *strchr (__const char *__s, int __c) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern char *strrchr (__const char *__s, int __c) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern char *strchrnul (__const char *__s, int __c) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern size_t strcspn (__const char *__s, __const char *__reject) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern size_t strspn (__const char *__s, __const char *__accept) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strpbrk (__const char *__s, __const char *__accept) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strstr (__const char *__haystack, __const char *__needle) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strtok (char *__restrict __s, __const char *__restrict __delim) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern char *__strtok_r (char *__restrict __s, __const char *__restrict __delim, char **__restrict __save_ptr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))); extern char *strtok_r (char *__restrict __s, __const char *__restrict __delim, char **__restrict __save_ptr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))); extern char *strcasestr (__const char *__haystack, __const char *__needle) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern void *memmem (__const void *__haystack, size_t __haystacklen, __const void *__needle, size_t __needlelen) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 3))); extern void *__mempcpy (void *__restrict __dest, __const void *__restrict __src, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern void *mempcpy (void *__restrict __dest, __const void *__restrict __src, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern size_t strlen (__const char *__s) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern size_t strnlen (__const char *__string, size_t __maxlen) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern char *strerror (int __errnum) __attribute__ ((__nothrow__)); # 281 "../string/string.h" extern char *strerror_r (int __errnum, char *__buf, size_t __buflen) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern void __bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern void bcopy (__const void *__src, void *__dest, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern void bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int bcmp (__const void *__s1, __const void *__s2, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern char *index (__const char *__s, int __c) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern char *rindex (__const char *__s, int __c) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern int ffs (int __i) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int ffsl (long int __l) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); __extension__ extern int ffsll (long long int __ll) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int strcasecmp (__const char *__s1, __const char *__s2) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strncasecmp (__const char *__s1, __const char *__s2, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strcasecmp_l (__const char *__s1, __const char *__s2, __locale_t __loc) __attribute__ ((__nothrow__)) __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__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 4))); extern char *strsep (char **__restrict __stringp, __const char *__restrict __delim) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int strverscmp (__const char *__s1, __const char *__s2) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strsignal (int __sig) __attribute__ ((__nothrow__)); extern char *__stpcpy (char *__restrict __dest, __const char *__restrict __src) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern char *stpcpy (char *__restrict __dest, __const char *__restrict __src) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern char *__stpncpy (char *__restrict __dest, __const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern char *stpncpy (char *__restrict __dest, __const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strfry (char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern void *memfrob (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern char *basename (__const char *__filename) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); # 414 "../string/string.h" # 1 "../sysdeps/i386/i486/bits/string.h" 1 # 415 "../string/string.h" 2 # 1 "../include/bits/string2.h" 1 # 1 "../string/bits/string2.h" 1 # 52 "../string/bits/string2.h" # 1 "../include/endian.h" 1 # 53 "../string/bits/string2.h" 2 # 394 "../string/bits/string2.h" extern void *__rawmemchr (const void *__s, int __c); # 969 "../string/bits/string2.h" extern __inline__ size_t __strcspn_c1 (__const char *__s, int __reject); extern __inline__ size_t __strcspn_c1 (__const char *__s, int __reject) { register size_t __result = 0; while (__s[__result] != '\0' && __s[__result] != __reject) ++__result; return __result; } extern __inline__ size_t __strcspn_c2 (__const char *__s, int __reject1, int __reject2); extern __inline__ size_t __strcspn_c2 (__const char *__s, int __reject1, int __reject2) { register size_t __result = 0; while (__s[__result] != '\0' && __s[__result] != __reject1 && __s[__result] != __reject2) ++__result; return __result; } extern __inline__ size_t __strcspn_c3 (__const char *__s, int __reject1, int __reject2, int __reject3); extern __inline__ size_t __strcspn_c3 (__const char *__s, int __reject1, int __reject2, int __reject3) { register size_t __result = 0; while (__s[__result] != '\0' && __s[__result] != __reject1 && __s[__result] != __reject2 && __s[__result] != __reject3) ++__result; return __result; } # 1045 "../string/bits/string2.h" extern __inline__ size_t __strspn_c1 (__const char *__s, int __accept); extern __inline__ size_t __strspn_c1 (__const char *__s, int __accept) { register size_t __result = 0; while (__s[__result] == __accept) ++__result; return __result; } extern __inline__ size_t __strspn_c2 (__const char *__s, int __accept1, int __accept2); extern __inline__ size_t __strspn_c2 (__const char *__s, int __accept1, int __accept2) { register size_t __result = 0; while (__s[__result] == __accept1 || __s[__result] == __accept2) ++__result; return __result; } extern __inline__ size_t __strspn_c3 (__const char *__s, int __accept1, int __accept2, int __accept3); extern __inline__ size_t __strspn_c3 (__const char *__s, int __accept1, int __accept2, int __accept3) { register size_t __result = 0; while (__s[__result] == __accept1 || __s[__result] == __accept2 || __s[__result] == __accept3) ++__result; return __result; } # 1121 "../string/bits/string2.h" extern __inline__ char *__strpbrk_c2 (__const char *__s, int __accept1, int __accept2); extern __inline__ char * __strpbrk_c2 (__const char *__s, int __accept1, int __accept2) { while (*__s != '\0' && *__s != __accept1 && *__s != __accept2) ++__s; return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s; } extern __inline__ char *__strpbrk_c3 (__const char *__s, int __accept1, int __accept2, int __accept3); extern __inline__ char * __strpbrk_c3 (__const char *__s, int __accept1, int __accept2, int __accept3) { while (*__s != '\0' && *__s != __accept1 && *__s != __accept2 && *__s != __accept3) ++__s; return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s; } # 1173 "../string/bits/string2.h" extern __inline__ char *__strtok_r_1c (char *__s, char __sep, char **__nextp); extern __inline__ char * __strtok_r_1c (char *__s, char __sep, char **__nextp) { char *__result; if (__s == ((void *)0)) __s = *__nextp; while (*__s == __sep) ++__s; __result = ((void *)0); if (*__s != '\0') { __result = __s++; while (*__s != '\0') if (*__s++ == __sep) { __s[-1] = '\0'; break; } *__nextp = __s; } return __result; } # 1205 "../string/bits/string2.h" extern char *__strsep_g (char **__stringp, __const char *__delim); # 1223 "../string/bits/string2.h" extern __inline__ char *__strsep_1c (char **__s, char __reject); extern __inline__ char * __strsep_1c (char **__s, char __reject) { register char *__retval = *__s; if (__retval != ((void *)0) && (*__s = (__extension__ (__builtin_constant_p (__reject) && !__builtin_constant_p (__retval) && (__reject) == '\0' ? (char *) __rawmemchr (__retval, __reject) : __builtin_strchr (__retval, __reject)))) != ((void *)0)) *(*__s)++ = '\0'; return __retval; } extern __inline__ char *__strsep_2c (char **__s, char __reject1, char __reject2); extern __inline__ char * __strsep_2c (char **__s, char __reject1, char __reject2) { register char *__retval = *__s; if (__retval != ((void *)0)) { register char *__cp = __retval; while (1) { if (*__cp == '\0') { __cp = ((void *)0); break; } if (*__cp == __reject1 || *__cp == __reject2) { *__cp++ = '\0'; break; } ++__cp; } *__s = __cp; } return __retval; } extern __inline__ char *__strsep_3c (char **__s, char __reject1, char __reject2, char __reject3); extern __inline__ char * __strsep_3c (char **__s, char __reject1, char __reject2, char __reject3) { register char *__retval = *__s; if (__retval != ((void *)0)) { register char *__cp = __retval; while (1) { if (*__cp == '\0') { __cp = ((void *)0); break; } if (*__cp == __reject1 || *__cp == __reject2 || *__cp == __reject3) { *__cp++ = '\0'; break; } ++__cp; } *__s = __cp; } return __retval; } # 1304 "../string/bits/string2.h" extern char *__strdup (__const char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)); # 1323 "../string/bits/string2.h" extern char *__strndup (__const char *__string, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)); # 2 "../include/bits/string2.h" 2 # 418 "../string/string.h" 2 # 426 "../string/string.h" # 50 "../include/string.h" 2 extern __typeof (strcoll_l) __strcoll_l; extern __typeof (strxfrm_l) __strxfrm_l; extern __typeof (strcasecmp_l) __strcasecmp_l; extern __typeof (strncasecmp_l) __strncasecmp_l; # 68 "../include/string.h" extern char *__strsep_g (char **__stringp, __const char *__delim); # 117 "../include/string.h" extern void *__memcpy_chk (void *__restrict __dest, const void *__restrict __src, size_t __len, size_t __destlen) __attribute__ ((__nothrow__)); extern void *__memmove_chk (void *__dest, const void *__src, size_t __len, size_t __destlen) __attribute__ ((__nothrow__)); extern void *__mempcpy_chk (void *__restrict __dest, const void *__restrict __src, size_t __len, size_t __destlen) __attribute__ ((__nothrow__)); extern void *__memset_chk (void *__dest, int __ch, size_t __len, size_t __destlen) __attribute__ ((__nothrow__)); extern char *__strcpy_chk (char *__restrict __dest, const char *__restrict __src, size_t __destlen) __attribute__ ((__nothrow__)); extern char *__stpcpy_chk (char *__restrict __dest, const char *__restrict __src, size_t __destlen) __attribute__ ((__nothrow__)); extern char *__strncpy_chk (char *__restrict __dest, const char *__restrict __src, size_t __len, size_t __destlen) __attribute__ ((__nothrow__)); extern char *__strcat_chk (char *__restrict __dest, const char *__restrict __src, size_t __destlen) __attribute__ ((__nothrow__)); extern char *__strncat_chk (char *__restrict __dest, const char *__restrict __src, size_t __len, size_t __destlen) __attribute__ ((__nothrow__)); # 25 "../sysdeps/i386/i686/hp-timing.h" 2 # 1 "../sysdeps/unix/sysv/linux/sys/param.h" 1 # 22 "../sysdeps/unix/sysv/linux/sys/param.h" # 1 "../include/limits.h" 1 # 144 "../include/limits.h" # 1 "../include/bits/posix1_lim.h" 1 # 145 "../include/limits.h" 2 # 1 "../include/bits/posix2_lim.h" 1 # 149 "../include/limits.h" 2 # 23 "../sysdeps/unix/sysv/linux/sys/param.h" 2 # 1 "//usr/include/linux/param.h" 1 3 4 # 1 "//usr/include/asm/param.h" 1 3 4 # 5 "//usr/include/linux/param.h" 2 3 4 # 25 "../sysdeps/unix/sysv/linux/sys/param.h" 2 # 42 "../sysdeps/unix/sysv/linux/sys/param.h" # 1 "../include/sys/types.h" 1 # 43 "../sysdeps/unix/sysv/linux/sys/param.h" 2 # 26 "../sysdeps/i386/i686/hp-timing.h" 2 # 1 "../stdio-common/_itoa.h" 1 # 29 "../stdio-common/_itoa.h" extern char *_itoa (unsigned long long int value, char *buflim, unsigned int base, int upper_case); extern const char _itoa_upper_digits[]; extern const char _itoa_upper_digits_internal[] ; extern const char _itoa_lower_digits[]; extern const char _itoa_lower_digits_internal[] ; extern char *_itoa_word (unsigned long value, char *buflim, unsigned int base, int upper_case); # 79 "../stdio-common/_itoa.h" extern char *_fitoa_word (unsigned long value, char *buf, unsigned int base, int upper_case) ; extern char *_fitoa (unsigned long long value, char *buf, unsigned int base, int upper_case) ; # 27 "../sysdeps/i386/i686/hp-timing.h" 2 # 85 "../sysdeps/i386/i686/hp-timing.h" typedef unsigned long long int hp_timing_t; # 26 "../linuxthreads/descr.h" 2 enum __libc_tsd_key_t { _LIBC_TSD_KEY_MALLOC = 0, _LIBC_TSD_KEY_DL_ERROR, _LIBC_TSD_KEY_RPC_VARS, _LIBC_TSD_KEY_LOCALE, _LIBC_TSD_KEY_CTYPE_B, _LIBC_TSD_KEY_CTYPE_TOLOWER, _LIBC_TSD_KEY_CTYPE_TOUPPER, _LIBC_TSD_KEY_N }; typedef struct _pthread_descr_struct *pthread_descr; # 1 "../linuxthreads_db/thread_dbP.h" 1 # 1 "../include/unistd.h" 1 # 1 "../posix/unistd.h" 1 # 28 "../posix/unistd.h" # 171 "../posix/unistd.h" # 1 "../linuxthreads/sysdeps/unix/sysv/linux/bits/posix_opt.h" 1 # 172 "../posix/unistd.h" 2 # 1 "../sysdeps/unix/sysv/linux/i386/bits/environments.h" 1 # 176 "../posix/unistd.h" 2 # 195 "../posix/unistd.h" # 1 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/stddef.h" 1 3 4 # 196 "../posix/unistd.h" 2 # 256 "../posix/unistd.h" extern int access (__const char *__name, int __type) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int euidaccess (__const char *__name, int __type) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); # 287 "../posix/unistd.h" extern __off_t lseek (int __fd, __off_t __offset, int __whence) __attribute__ ((__nothrow__)); # 298 "../posix/unistd.h" extern __off64_t lseek64 (int __fd, __off64_t __offset, int __whence) __attribute__ ((__nothrow__)); 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); # 328 "../posix/unistd.h" 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); # 356 "../posix/unistd.h" 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__)); # 378 "../posix/unistd.h" extern unsigned int alarm (unsigned int __seconds) __attribute__ ((__nothrow__)); # 390 "../posix/unistd.h" extern unsigned int sleep (unsigned int __seconds); extern __useconds_t ualarm (__useconds_t __value, __useconds_t __interval) __attribute__ ((__nothrow__)); extern int usleep (__useconds_t __useconds); # 414 "../posix/unistd.h" extern int pause (void); extern int chown (__const char *__file, __uid_t __owner, __gid_t __group) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int fchown (int __fd, __uid_t __owner, __gid_t __group) __attribute__ ((__nothrow__)); extern int lchown (__const char *__file, __uid_t __owner, __gid_t __group) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int chdir (__const char *__path) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int fchdir (int __fd) __attribute__ ((__nothrow__)); # 448 "../posix/unistd.h" extern char *getcwd (char *__buf, size_t __size) __attribute__ ((__nothrow__)); extern char *get_current_dir_name (void) __attribute__ ((__nothrow__)); extern char *getwd (char *__buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int dup (int __fd) __attribute__ ((__nothrow__)); extern int dup2 (int __fd, int __fd2) __attribute__ ((__nothrow__)); extern char **__environ; extern char **environ; extern int execve (__const char *__path, char *__const __argv[], char *__const __envp[]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int fexecve (int __fd, char *__const __argv[], char *__const __envp[]) __attribute__ ((__nothrow__)); extern int execv (__const char *__path, char *__const __argv[]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int execle (__const char *__path, __const char *__arg, ...) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int execl (__const char *__path, __const char *__arg, ...) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int execvp (__const char *__file, char *__const __argv[]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int execlp (__const char *__file, __const char *__arg, ...) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int nice (int __inc) __attribute__ ((__nothrow__)); extern void _exit (int __status) __attribute__ ((__noreturn__)); # 1 "../sysdeps/generic/bits/confname.h" 1 # 26 "../sysdeps/generic/bits/confname.h" 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 }; enum { _CS_PATH, _CS_V6_WIDTH_RESTRICTED_ENVS, _CS_GNU_LIBC_VERSION, _CS_GNU_LIBPTHREAD_VERSION, _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 }; # 531 "../posix/unistd.h" 2 extern long int pathconf (__const char *__path, int __name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern long int fpathconf (int __fd, int __name) __attribute__ ((__nothrow__)); extern long int sysconf (int __name) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern size_t confstr (int __name, char *__buf, size_t __len) __attribute__ ((__nothrow__)); extern __pid_t getpid (void) __attribute__ ((__nothrow__)); extern __pid_t getppid (void) __attribute__ ((__nothrow__)); extern __pid_t getpgrp (void) __attribute__ ((__nothrow__)); # 567 "../posix/unistd.h" extern __pid_t __getpgid (__pid_t __pid) __attribute__ ((__nothrow__)); extern __pid_t getpgid (__pid_t __pid) __attribute__ ((__nothrow__)); extern int setpgid (__pid_t __pid, __pid_t __pgid) __attribute__ ((__nothrow__)); # 593 "../posix/unistd.h" extern int setpgrp (void) __attribute__ ((__nothrow__)); # 610 "../posix/unistd.h" extern __pid_t setsid (void) __attribute__ ((__nothrow__)); extern __pid_t getsid (__pid_t __pid) __attribute__ ((__nothrow__)); extern __uid_t getuid (void) __attribute__ ((__nothrow__)); extern __uid_t geteuid (void) __attribute__ ((__nothrow__)); extern __gid_t getgid (void) __attribute__ ((__nothrow__)); extern __gid_t getegid (void) __attribute__ ((__nothrow__)); extern int getgroups (int __size, __gid_t __list[]) __attribute__ ((__nothrow__)); extern int group_member (__gid_t __gid) __attribute__ ((__nothrow__)); extern int setuid (__uid_t __uid) __attribute__ ((__nothrow__)); extern int setreuid (__uid_t __ruid, __uid_t __euid) __attribute__ ((__nothrow__)); extern int seteuid (__uid_t __uid) __attribute__ ((__nothrow__)); extern int setgid (__gid_t __gid) __attribute__ ((__nothrow__)); extern int setregid (__gid_t __rgid, __gid_t __egid) __attribute__ ((__nothrow__)); extern int setegid (__gid_t __gid) __attribute__ ((__nothrow__)); extern int getresuid (__uid_t *__euid, __uid_t *__ruid, __uid_t *__suid); extern int getresgid (__gid_t *__egid, __gid_t *__rgid, __gid_t *__sgid); extern int setresuid (__uid_t __euid, __uid_t __ruid, __uid_t __suid); extern int setresgid (__gid_t __egid, __gid_t __rgid, __gid_t __sgid); extern __pid_t fork (void) __attribute__ ((__nothrow__)); extern __pid_t vfork (void) __attribute__ ((__nothrow__)); extern char *ttyname (int __fd) __attribute__ ((__nothrow__)); extern int ttyname_r (int __fd, char *__buf, size_t __buflen) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern int isatty (int __fd) __attribute__ ((__nothrow__)); extern int ttyslot (void) __attribute__ ((__nothrow__)); extern int link (__const char *__from, __const char *__to) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int symlink (__const char *__from, __const char *__to) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int readlink (__const char *__restrict __path, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int unlink (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int rmdir (__const char *__path) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern __pid_t tcgetpgrp (int __fd) __attribute__ ((__nothrow__)); extern int tcsetpgrp (int __fd, __pid_t __pgrp_id) __attribute__ ((__nothrow__)); 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__)) __attribute__ ((__nonnull__ (1))); # 783 "../posix/unistd.h" # 1 "../include/getopt.h" 1 # 1 "../posix/getopt.h" 1 # 59 "../posix/getopt.h" extern char *optarg; # 73 "../posix/getopt.h" extern int optind; extern int opterr; extern int optopt; # 152 "../posix/getopt.h" extern int getopt (int ___argc, char *const *___argv, const char *__shortopts) __attribute__ ((__nothrow__)); # 5 "../include/getopt.h" 2 # 784 "../posix/unistd.h" 2 extern int gethostname (char *__name, size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int sethostname (__const char *__name, size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int sethostid (long int __id) __attribute__ ((__nothrow__)); extern int getdomainname (char *__name, size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int setdomainname (__const char *__name, size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int vhangup (void) __attribute__ ((__nothrow__)); extern int revoke (__const char *__file) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int profil (unsigned short int *__sample_buffer, size_t __size, size_t __offset, unsigned int __scale) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int acct (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern char *getusershell (void) __attribute__ ((__nothrow__)); extern void endusershell (void) __attribute__ ((__nothrow__)); extern void setusershell (void) __attribute__ ((__nothrow__)); extern int daemon (int __nochdir, int __noclose) __attribute__ ((__nothrow__)); extern int chroot (__const char *__path) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern char *getpass (__const char *__prompt) __attribute__ ((__nonnull__ (1))); # 869 "../posix/unistd.h" extern int fsync (int __fd); extern long int gethostid (void); extern void sync (void) __attribute__ ((__nothrow__)); extern int getpagesize (void) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int getdtablesize (void) __attribute__ ((__nothrow__)); extern int truncate (__const char *__file, __off_t __length) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); # 906 "../posix/unistd.h" extern int truncate64 (__const char *__file, __off64_t __length) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); # 916 "../posix/unistd.h" extern int ftruncate (int __fd, __off_t __length) __attribute__ ((__nothrow__)); # 926 "../posix/unistd.h" extern int ftruncate64 (int __fd, __off64_t __length) __attribute__ ((__nothrow__)); # 936 "../posix/unistd.h" extern int brk (void *__addr) __attribute__ ((__nothrow__)); extern void *sbrk (intptr_t __delta) __attribute__ ((__nothrow__)); # 957 "../posix/unistd.h" extern long int syscall (long int __sysno, ...) __attribute__ ((__nothrow__)); # 980 "../posix/unistd.h" extern int lockf (int __fd, int __cmd, __off_t __len); # 990 "../posix/unistd.h" extern int lockf64 (int __fd, int __cmd, __off64_t __len); # 1011 "../posix/unistd.h" extern int fdatasync (int __fildes) __attribute__ ((__nothrow__)); extern char *crypt (__const char *__key, __const char *__salt) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern void encrypt (char *__block, int __edflag) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern void swab (__const void *__restrict __from, void *__restrict __to, ssize_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern char *ctermid (char *__s) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); # 3 "../include/unistd.h" 2 extern int __access (__const char *__name, int __type); extern int __euidaccess (__const char *__name, int __type); extern __off64_t __lseek64 (int __fd, __off64_t __offset, int __whence); extern __off_t __lseek (int __fd, __off_t __offset, int __whence); extern __off_t __libc_lseek (int __fd, __off_t __offset, int __whence); extern __off64_t __libc_lseek64 (int __fd, __off64_t __offset, int __whence); extern ssize_t __pread (int __fd, void *__buf, size_t __nbytes, __off_t __offset); extern ssize_t __libc_pread (int __fd, void *__buf, size_t __nbytes, __off_t __offset); extern ssize_t __pread64 (int __fd, void *__buf, size_t __nbytes, __off64_t __offset); extern ssize_t __libc_pread64 (int __fd, void *__buf, size_t __nbytes, __off64_t __offset); extern ssize_t __pwrite (int __fd, __const void *__buf, size_t __n, __off_t __offset); extern ssize_t __libc_pwrite (int __fd, __const void *__buf, size_t __n, __off_t __offset); extern ssize_t __pwrite64 (int __fd, __const void *__buf, size_t __n, __off64_t __offset); extern ssize_t __libc_pwrite64 (int __fd, __const void *__buf, size_t __n, __off64_t __offset); extern ssize_t __libc_read (int __fd, void *__buf, size_t __n); extern ssize_t __libc_write (int __fd, __const void *__buf, size_t __n); extern int __pipe (int __pipedes[2]); extern unsigned int __sleep (unsigned int __seconds); extern int __chown (__const char *__file, __uid_t __owner, __gid_t __group); extern int __fchown (int __fd, __uid_t __owner, __gid_t __group); extern int __lchown (__const char *__file, __uid_t __owner, __gid_t __group); extern int __chdir (__const char *__path); extern int __fchdir (int __fd); extern char *__getcwd (char *__buf, size_t __size); extern int __rmdir (const char *__path); char *__canonicalize_directory_name_internal (__const char *__thisdir, char *__buf, size_t __size) ; extern int __dup (int __fd); extern int __dup2 (int __fd, int __fd2); extern int __execve (__const char *__path, char *__const __argv[], char *__const __envp[]); extern long int __pathconf (__const char *__path, int __name); extern long int __fpathconf (int __fd, int __name); extern long int __sysconf (int __name); extern __pid_t __getpid (void); extern __pid_t __getppid (void); extern __pid_t __setsid (void); extern __uid_t __getuid (void); extern __uid_t __geteuid (void); extern __gid_t __getgid (void); extern __gid_t __getegid (void); extern int __getgroups (int __size, __gid_t __list[]); extern int __group_member (__gid_t __gid); extern int __setuid (__uid_t __uid); extern int __setreuid (__uid_t __ruid, __uid_t __euid); extern int __setgid (__gid_t __gid); extern int __setpgid (__pid_t __pid, __pid_t __pgid); extern int __setregid (__gid_t __rgid, __gid_t __egid); extern int __getresuid (__uid_t *__euid, __uid_t *__ruid, __uid_t *__suid); extern int __getresgid (__gid_t *__egid, __gid_t *__rgid, __gid_t *__sgid); extern int __setresuid (__uid_t __euid, __uid_t __ruid, __uid_t __suid); extern int __setresgid (__gid_t __egid, __gid_t __rgid, __gid_t __sgid); extern __pid_t __vfork (void); extern int __ttyname_r (int __fd, char *__buf, size_t __buflen); extern int __isatty (int __fd); extern int __link (__const char *__from, __const char *__to); extern int __symlink (__const char *__from, __const char *__to); extern int __readlink (__const char *__path, char *__buf, size_t __len); extern int __unlink (__const char *__name); extern int __gethostname (char *__name, size_t __len); extern int __profil (unsigned short int *__sample_buffer, size_t __size, size_t __offset, unsigned int __scale); extern int __getdtablesize (void); extern int __brk (void *__addr); extern int __close (int __fd); extern int __libc_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); extern __pid_t __fork (void); extern int __getpagesize (void) __attribute__ ((__const__)); extern int __ftruncate (int __fd, __off_t __length); extern int __ftruncate64 (int __fd, __off64_t __length); extern int __truncate (const char *path, __off_t __length); extern void *__sbrk (intptr_t __delta); extern int __libc_enable_secure __attribute__ ((section (".data.rel.ro"))); extern int __libc_enable_secure_decided; extern void __libc_check_standard_fds (void); extern void __exit_thread (int val) __attribute__ ((noreturn)); extern __pid_t __libc_fork (void); extern int __libc_pause (void); # 7 "../linuxthreads_db/thread_dbP.h" 2 # 1 "../linuxthreads_db/proc_service.h" 1 # 20 "../linuxthreads_db/proc_service.h" # 1 "../sysdeps/unix/sysv/linux/i386/sys/procfs.h" 1 # 32 "../sysdeps/unix/sysv/linux/i386/sys/procfs.h" # 1 "../include/sys/time.h" 1 # 1 "../time/sys/time.h" 1 # 26 "../time/sys/time.h" # 1 "../include/time.h" 1 # 1 "../time/time.h" 1 # 4 "../include/time.h" 2 # 27 "../time/sys/time.h" 2 # 1 "../sysdeps/generic/bits/time.h" 1 # 29 "../time/sys/time.h" 2 # 38 "../time/sys/time.h" # 56 "../time/sys/time.h" struct timezone { int tz_minuteswest; int tz_dsttime; }; typedef struct timezone *__restrict __timezone_ptr_t; # 72 "../time/sys/time.h" extern int gettimeofday (struct timeval *__restrict __tv, __timezone_ptr_t __tz) __attribute__ ((__nothrow__)); extern int settimeofday (__const struct timeval *__tv, __const struct timezone *__tz) __attribute__ ((__nothrow__)); extern int adjtime (__const struct timeval *__delta, struct timeval *__olddelta) __attribute__ ((__nothrow__)); enum __itimer_which { ITIMER_REAL = 0, ITIMER_VIRTUAL = 1, ITIMER_PROF = 2 }; struct itimerval { struct timeval it_interval; struct timeval it_value; }; typedef enum __itimer_which __itimer_which_t; extern int getitimer (__itimer_which_t __which, struct itimerval *__value) __attribute__ ((__nothrow__)); extern int setitimer (__itimer_which_t __which, __const struct itimerval *__restrict __new, struct itimerval *__restrict __old) __attribute__ ((__nothrow__)); extern int utimes (__const char *__file, __const struct timeval __tvp[2]) __attribute__ ((__nothrow__)); extern int lutimes (__const char *__file, __const struct timeval __tvp[2]) __attribute__ ((__nothrow__)); extern int futimes (int __fd, __const struct timeval __tvp[2]) __attribute__ ((__nothrow__)); # 181 "../time/sys/time.h" # 3 "../include/sys/time.h" 2 extern int __gettimeofday (struct timeval *__tv, struct timezone *__tz); extern int __gettimeofday_internal (struct timeval *__tv, struct timezone *__tz) ; extern int __settimeofday (__const struct timeval *__tv, __const struct timezone *__tz) ; extern int __adjtime (__const struct timeval *__delta, struct timeval *__olddelta); extern int __getitimer (enum __itimer_which __which, struct itimerval *__value); extern int __setitimer (enum __itimer_which __which, __const struct itimerval *__restrict __new, struct itimerval *__restrict __old) ; extern int __utimes (__const char *__file, const struct timeval __tvp[2]) ; # 33 "../sysdeps/unix/sysv/linux/i386/sys/procfs.h" 2 # 1 "../include/sys/types.h" 1 # 34 "../sysdeps/unix/sysv/linux/i386/sys/procfs.h" 2 # 1 "../sysdeps/unix/sysv/linux/i386/sys/user.h" 1 # 26 "../sysdeps/unix/sysv/linux/i386/sys/user.h" struct user_fpregs_struct { long int cwd; long int swd; long int twd; long int fip; long int fcs; long int foo; long int fos; long int st_space [20]; }; struct user_fpxregs_struct { unsigned short int cwd; unsigned short int swd; unsigned short int twd; unsigned short int fop; long int fip; long int fcs; long int foo; long int fos; long int mxcsr; long int reserved; long int st_space[32]; long int xmm_space[32]; long int padding[56]; }; struct user_regs_struct { long int ebx; long int ecx; long int edx; long int esi; long int edi; long int ebp; long int eax; long int xds; long int xes; long int xfs; long int xgs; long int orig_eax; long int eip; long int xcs; long int eflags; long int esp; long int xss; }; struct user { struct user_regs_struct regs; int u_fpvalid; struct user_fpregs_struct i387; unsigned long int u_tsize; unsigned long int u_dsize; unsigned long int u_ssize; unsigned long start_code; unsigned long start_stack; long int signal; int reserved; struct user_regs_struct* u_ar0; struct user_fpregs_struct* u_fpstate; unsigned long int magic; char u_comm [32]; int u_debugreg [8]; }; # 35 "../sysdeps/unix/sysv/linux/i386/sys/procfs.h" 2 typedef unsigned long elf_greg_t; typedef elf_greg_t elf_gregset_t[(sizeof (struct user_regs_struct) / sizeof(elf_greg_t))]; typedef struct user_fpregs_struct elf_fpregset_t; typedef struct user_fpxregs_struct elf_fpxregset_t; struct elf_siginfo { int si_signo; int si_code; int si_errno; }; # 73 "../sysdeps/unix/sysv/linux/i386/sys/procfs.h" struct elf_prstatus { struct elf_siginfo pr_info; short int pr_cursig; unsigned long int pr_sigpend; unsigned long int pr_sighold; __pid_t pr_pid; __pid_t pr_ppid; __pid_t pr_pgrp; __pid_t pr_sid; struct timeval pr_utime; struct timeval pr_stime; struct timeval pr_cutime; struct timeval pr_cstime; elf_gregset_t pr_reg; int pr_fpvalid; }; struct elf_prpsinfo { char pr_state; char pr_sname; char pr_zomb; char pr_nice; unsigned long int pr_flag; unsigned short int pr_uid; unsigned short int pr_gid; int pr_pid, pr_ppid, pr_pgrp, pr_sid; char pr_fname[16]; char pr_psargs[(80)]; }; typedef void *psaddr_t; typedef elf_gregset_t prgregset_t; typedef elf_fpregset_t prfpregset_t; typedef __pid_t lwpid_t; typedef struct elf_prstatus prstatus_t; typedef struct elf_prpsinfo prpsinfo_t; # 21 "../linuxthreads_db/proc_service.h" 2 typedef enum { PS_OK, PS_ERR, PS_BADPID, PS_BADLID, PS_BADADDR, PS_NOSYM, PS_NOFREGS } ps_err_e; struct ps_prochandle; extern ps_err_e ps_pdread(struct ps_prochandle *, psaddr_t, void *, size_t); extern ps_err_e ps_pdwrite(struct ps_prochandle *, psaddr_t, const void *, size_t); extern ps_err_e ps_ptread(struct ps_prochandle *, psaddr_t, void *, size_t); extern ps_err_e ps_ptwrite(struct ps_prochandle *, psaddr_t, const void *, size_t); extern ps_err_e ps_pglobal_lookup(struct ps_prochandle *, const char *object_name, const char *sym_name, psaddr_t *sym_addr); extern ps_err_e ps_lgetregs(struct ps_prochandle *, lwpid_t, prgregset_t); extern ps_err_e ps_lsetregs(struct ps_prochandle *, lwpid_t, const prgregset_t); extern ps_err_e ps_lgetfpregs(struct ps_prochandle *, lwpid_t, prfpregset_t *); extern ps_err_e ps_lsetfpregs(struct ps_prochandle *, lwpid_t, const prfpregset_t *); extern pid_t ps_getpid (struct ps_prochandle *); extern ps_err_e ps_pstop (const struct ps_prochandle *); extern ps_err_e ps_pcontinue (const struct ps_prochandle *); extern ps_err_e ps_lstop (const struct ps_prochandle *, lwpid_t); extern ps_err_e ps_lcontinue (const struct ps_prochandle *, lwpid_t); # 8 "../linuxthreads_db/thread_dbP.h" 2 # 1 "../linuxthreads_db/thread_db.h" 1 # 26 "../linuxthreads_db/thread_db.h" # 1 "../include/pthread.h" 1 # 1 "../linuxthreads/sysdeps/pthread/pthread.h" 1 # 21 "../linuxthreads/sysdeps/pthread/pthread.h" # 1 "../include/time.h" 1 # 1 "../time/time.h" 1 # 30 "../time/time.h" # 1 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/stddef.h" 1 3 4 # 39 "../time/time.h" 2 # 1 "../sysdeps/generic/bits/time.h" 1 # 43 "../time/time.h" 2 # 129 "../time/time.h" struct tm { int tm_sec; int tm_min; int tm_hour; int tm_mday; int tm_mon; int tm_year; int tm_wday; int tm_yday; int tm_isdst; long int tm_gmtoff; __const char *tm_zone; }; struct itimerspec { struct timespec it_interval; struct timespec it_value; }; struct sigevent; # 178 "../time/time.h" extern clock_t clock (void) __attribute__ ((__nothrow__)); extern time_t time (time_t *__timer) __attribute__ ((__nothrow__)); extern double difftime (time_t __time1, time_t __time0) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern time_t mktime (struct tm *__tp) __attribute__ ((__nothrow__)); extern size_t strftime (char *__restrict __s, size_t __maxsize, __const char *__restrict __format, __const struct tm *__restrict __tp) __attribute__ ((__nothrow__)); extern char *strptime (__const char *__restrict __s, __const char *__restrict __fmt, struct tm *__tp) __attribute__ ((__nothrow__)); # 1 "../include/xlocale.h" 1 # 214 "../time/time.h" 2 extern size_t strftime_l (char *__restrict __s, size_t __maxsize, __const char *__restrict __format, __const struct tm *__restrict __tp, __locale_t __loc) __attribute__ ((__nothrow__)); extern char *strptime_l (__const char *__restrict __s, __const char *__restrict __fmt, struct tm *__tp, __locale_t __loc) __attribute__ ((__nothrow__)); extern struct tm *gmtime (__const time_t *__timer) __attribute__ ((__nothrow__)); extern struct tm *localtime (__const time_t *__timer) __attribute__ ((__nothrow__)); extern struct tm *gmtime_r (__const time_t *__restrict __timer, struct tm *__restrict __tp) __attribute__ ((__nothrow__)); extern struct tm *localtime_r (__const time_t *__restrict __timer, struct tm *__restrict __tp) __attribute__ ((__nothrow__)); extern char *asctime (__const struct tm *__tp) __attribute__ ((__nothrow__)); extern char *ctime (__const time_t *__timer) __attribute__ ((__nothrow__)); extern char *asctime_r (__const struct tm *__restrict __tp, char *__restrict __buf) __attribute__ ((__nothrow__)); extern char *ctime_r (__const time_t *__restrict __timer, char *__restrict __buf) __attribute__ ((__nothrow__)); extern char *__tzname[2]; extern int __daylight; extern long int __timezone; extern char *tzname[2]; extern void tzset (void) __attribute__ ((__nothrow__)); extern int daylight; extern long int timezone; extern int stime (__const time_t *__when) __attribute__ ((__nothrow__)); # 309 "../time/time.h" extern time_t timegm (struct tm *__tp) __attribute__ ((__nothrow__)); extern time_t timelocal (struct tm *__tp) __attribute__ ((__nothrow__)); extern int dysize (int __year) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); # 324 "../time/time.h" extern int nanosleep (__const struct timespec *__requested_time, struct timespec *__remaining); extern int clock_getres (clockid_t __clock_id, struct timespec *__res) __attribute__ ((__nothrow__)); extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) __attribute__ ((__nothrow__)); extern int clock_settime (clockid_t __clock_id, __const struct timespec *__tp) __attribute__ ((__nothrow__)); extern int clock_nanosleep (clockid_t __clock_id, int __flags, __const struct timespec *__req, struct timespec *__rem); extern int clock_getcpuclockid (pid_t __pid, clockid_t *__clock_id) __attribute__ ((__nothrow__)); extern int timer_create (clockid_t __clock_id, struct sigevent *__restrict __evp, timer_t *__restrict __timerid) __attribute__ ((__nothrow__)); extern int timer_delete (timer_t __timerid) __attribute__ ((__nothrow__)); extern int timer_settime (timer_t __timerid, int __flags, __const struct itimerspec *__restrict __value, struct itimerspec *__restrict __ovalue) __attribute__ ((__nothrow__)); extern int timer_gettime (timer_t __timerid, struct itimerspec *__value) __attribute__ ((__nothrow__)); extern int timer_getoverrun (timer_t __timerid) __attribute__ ((__nothrow__)); # 386 "../time/time.h" extern int getdate_err; # 395 "../time/time.h" extern struct tm *getdate (__const char *__string); # 409 "../time/time.h" extern int getdate_r (__const char *__restrict __string, struct tm *__restrict __resbufp); # 6 "../include/time.h" 2 # 1 "../include/xlocale.h" 1 # 7 "../include/time.h" 2 extern __typeof (strftime_l) __strftime_l; extern __typeof (strptime_l) __strptime_l; struct tm; extern const unsigned short int __mon_yday[2][13] ; extern struct tm _tmbuf ; extern char *__tzstring (const char *string); extern size_t __tzname_cur_max ; extern int __use_tzfile ; extern void __tzfile_read (const char *file, size_t extra, char **extrap); extern void __tzfile_compute (time_t timer, int use_localtime, long int *leap_correct, int *leap_hit, struct tm *tp); extern void __tzfile_default (const char *std, const char *dst, long int stdoff, long int dstoff); extern time_t __mktime_internal (struct tm *__tp, struct tm *(*__func) (const time_t *, struct tm *), time_t *__offset); extern struct tm *__localtime_r (__const time_t *__timer, struct tm *__tp) ; extern struct tm *__gmtime_r (__const time_t *__restrict __timer, struct tm *__restrict __tp); extern int __offtime (__const time_t *__timer, long int __offset, struct tm *__tp); extern char *__asctime_r (__const struct tm *__tp, char *__buf); extern void __tzset (void); extern struct tm *__tz_convert (const time_t *timer, int use_localtime, struct tm *tp); extern long int __tzname_max (void); extern int __nanosleep (__const struct timespec *__requested_time, struct timespec *__remaining); extern int __getdate_r (__const char *__string, struct tm *__resbufp); extern int __getclktck (void); enum ptime_locale_status { not, loc, raw }; extern char * __strptime_internal (const char *rp, const char *fmt, struct tm *tm, enum ptime_locale_status *decided, int era_cnt, __locale_t loc) __attribute__ ((regparm (3), stdcall)); extern double __difftime (time_t time1, time_t time0); # 22 "../linuxthreads/sysdeps/pthread/pthread.h" 2 # 1 "../linuxthreads/sysdeps/pthread/bits/pthreadtypes.h" 1 # 26 "../linuxthreads/sysdeps/pthread/pthread.h" 2 # 1 "../linuxthreads/sysdeps/pthread/bits/initspin.h" 1 # 27 "../linuxthreads/sysdeps/pthread/pthread.h" 2 # 59 "../linuxthreads/sysdeps/pthread/pthread.h" enum { PTHREAD_CREATE_JOINABLE, PTHREAD_CREATE_DETACHED }; enum { PTHREAD_INHERIT_SCHED, PTHREAD_EXPLICIT_SCHED }; enum { PTHREAD_SCOPE_SYSTEM, PTHREAD_SCOPE_PROCESS }; enum { PTHREAD_MUTEX_TIMED_NP, PTHREAD_MUTEX_RECURSIVE_NP, PTHREAD_MUTEX_ERRORCHECK_NP, PTHREAD_MUTEX_ADAPTIVE_NP , PTHREAD_MUTEX_NORMAL = PTHREAD_MUTEX_TIMED_NP, PTHREAD_MUTEX_RECURSIVE = PTHREAD_MUTEX_RECURSIVE_NP, PTHREAD_MUTEX_ERRORCHECK = PTHREAD_MUTEX_ERRORCHECK_NP, PTHREAD_MUTEX_DEFAULT = PTHREAD_MUTEX_NORMAL , PTHREAD_MUTEX_FAST_NP = PTHREAD_MUTEX_ADAPTIVE_NP }; enum { PTHREAD_PROCESS_PRIVATE, PTHREAD_PROCESS_SHARED }; enum { PTHREAD_RWLOCK_PREFER_READER_NP, PTHREAD_RWLOCK_PREFER_WRITER_NP, PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP, PTHREAD_RWLOCK_DEFAULT_NP = PTHREAD_RWLOCK_PREFER_WRITER_NP }; # 131 "../linuxthreads/sysdeps/pthread/pthread.h" struct _pthread_cleanup_buffer { void (*__routine) (void *); void *__arg; int __canceltype; struct _pthread_cleanup_buffer *__prev; }; enum { PTHREAD_CANCEL_ENABLE, PTHREAD_CANCEL_DISABLE }; enum { PTHREAD_CANCEL_DEFERRED, PTHREAD_CANCEL_ASYNCHRONOUS }; # 163 "../linuxthreads/sysdeps/pthread/pthread.h" extern int pthread_create (pthread_t *__restrict __threadp, __const pthread_attr_t *__restrict __attr, void *(*__start_routine) (void *), void *__restrict __arg) __attribute__ ((__nothrow__)); extern pthread_t pthread_self (void) __attribute__ ((__nothrow__)); extern int pthread_equal (pthread_t __thread1, pthread_t __thread2) __attribute__ ((__nothrow__)); extern void pthread_exit (void *__retval) __attribute__ ((__noreturn__)); extern int pthread_join (pthread_t __th, void **__thread_return); extern int pthread_detach (pthread_t __th) __attribute__ ((__nothrow__)); extern int pthread_attr_init (pthread_attr_t *__attr) __attribute__ ((__nothrow__)); extern int pthread_attr_destroy (pthread_attr_t *__attr) __attribute__ ((__nothrow__)); extern int pthread_attr_setdetachstate (pthread_attr_t *__attr, int __detachstate) __attribute__ ((__nothrow__)); extern int pthread_attr_getdetachstate (__const pthread_attr_t *__attr, int *__detachstate) __attribute__ ((__nothrow__)); extern int pthread_attr_setschedparam (pthread_attr_t *__restrict __attr, __const struct sched_param *__restrict __param) __attribute__ ((__nothrow__)); extern int pthread_attr_getschedparam (__const pthread_attr_t *__restrict __attr, struct sched_param *__restrict __param) __attribute__ ((__nothrow__)); extern int pthread_attr_setschedpolicy (pthread_attr_t *__attr, int __policy) __attribute__ ((__nothrow__)); extern int pthread_attr_getschedpolicy (__const pthread_attr_t *__restrict __attr, int *__restrict __policy) __attribute__ ((__nothrow__)); extern int pthread_attr_setinheritsched (pthread_attr_t *__attr, int __inherit) __attribute__ ((__nothrow__)); extern int pthread_attr_getinheritsched (__const pthread_attr_t *__restrict __attr, int *__restrict __inherit) __attribute__ ((__nothrow__)); extern int pthread_attr_setscope (pthread_attr_t *__attr, int __scope) __attribute__ ((__nothrow__)); extern int pthread_attr_getscope (__const pthread_attr_t *__restrict __attr, int *__restrict __scope) __attribute__ ((__nothrow__)); extern int pthread_attr_setguardsize (pthread_attr_t *__attr, size_t __guardsize) __attribute__ ((__nothrow__)); extern int pthread_attr_getguardsize (__const pthread_attr_t *__restrict __attr, size_t *__restrict __guardsize) __attribute__ ((__nothrow__)); extern int pthread_attr_setstackaddr (pthread_attr_t *__attr, void *__stackaddr) __attribute__ ((__nothrow__)); extern int pthread_attr_getstackaddr (__const pthread_attr_t *__restrict __attr, void **__restrict __stackaddr) __attribute__ ((__nothrow__)); extern int pthread_attr_setstack (pthread_attr_t *__attr, void *__stackaddr, size_t __stacksize) __attribute__ ((__nothrow__)); extern int pthread_attr_getstack (__const pthread_attr_t *__restrict __attr, void **__restrict __stackaddr, size_t *__restrict __stacksize) __attribute__ ((__nothrow__)); extern int pthread_attr_setstacksize (pthread_attr_t *__attr, size_t __stacksize) __attribute__ ((__nothrow__)); extern int pthread_attr_getstacksize (__const pthread_attr_t *__restrict __attr, size_t *__restrict __stacksize) __attribute__ ((__nothrow__)); extern int pthread_getattr_np (pthread_t __th, pthread_attr_t *__attr) __attribute__ ((__nothrow__)); extern int pthread_setschedparam (pthread_t __target_thread, int __policy, __const struct sched_param *__param) __attribute__ ((__nothrow__)); extern int pthread_getschedparam (pthread_t __target_thread, int *__restrict __policy, struct sched_param *__restrict __param) __attribute__ ((__nothrow__)); extern int pthread_getconcurrency (void) __attribute__ ((__nothrow__)); extern int pthread_setconcurrency (int __level) __attribute__ ((__nothrow__)); extern int pthread_yield (void) __attribute__ ((__nothrow__)); extern int pthread_mutex_init (pthread_mutex_t *__restrict __mutex, __const pthread_mutexattr_t *__restrict __mutex_attr) __attribute__ ((__nothrow__)); extern int pthread_mutex_destroy (pthread_mutex_t *__mutex) __attribute__ ((__nothrow__)); extern int pthread_mutex_trylock (pthread_mutex_t *__mutex) __attribute__ ((__nothrow__)); extern int pthread_mutex_lock (pthread_mutex_t *__mutex) __attribute__ ((__nothrow__)); extern int pthread_mutex_timedlock (pthread_mutex_t *__restrict __mutex, __const struct timespec *__restrict __abstime) __attribute__ ((__nothrow__)); extern int pthread_mutex_unlock (pthread_mutex_t *__mutex) __attribute__ ((__nothrow__)); extern int pthread_mutexattr_init (pthread_mutexattr_t *__attr) __attribute__ ((__nothrow__)); extern int pthread_mutexattr_destroy (pthread_mutexattr_t *__attr) __attribute__ ((__nothrow__)); extern int pthread_mutexattr_getpshared (__const pthread_mutexattr_t * __restrict __attr, int *__restrict __pshared) __attribute__ ((__nothrow__)); extern int pthread_mutexattr_setpshared (pthread_mutexattr_t *__attr, int __pshared) __attribute__ ((__nothrow__)); extern int pthread_mutexattr_settype (pthread_mutexattr_t *__attr, int __kind) __attribute__ ((__nothrow__)); extern int pthread_mutexattr_gettype (__const pthread_mutexattr_t *__restrict __attr, int *__restrict __kind) __attribute__ ((__nothrow__)); extern int pthread_cond_init (pthread_cond_t *__restrict __cond, __const pthread_condattr_t *__restrict __cond_attr) __attribute__ ((__nothrow__)); extern int pthread_cond_destroy (pthread_cond_t *__cond) __attribute__ ((__nothrow__)); extern int pthread_cond_signal (pthread_cond_t *__cond) __attribute__ ((__nothrow__)); extern int pthread_cond_broadcast (pthread_cond_t *__cond) __attribute__ ((__nothrow__)); extern int pthread_cond_wait (pthread_cond_t *__restrict __cond, pthread_mutex_t *__restrict __mutex); extern int pthread_cond_timedwait (pthread_cond_t *__restrict __cond, pthread_mutex_t *__restrict __mutex, __const struct timespec *__restrict __abstime); extern int pthread_condattr_init (pthread_condattr_t *__attr) __attribute__ ((__nothrow__)); extern int pthread_condattr_destroy (pthread_condattr_t *__attr) __attribute__ ((__nothrow__)); extern int pthread_condattr_getpshared (__const pthread_condattr_t * __restrict __attr, int *__restrict __pshared) __attribute__ ((__nothrow__)); extern int pthread_condattr_setpshared (pthread_condattr_t *__attr, int __pshared) __attribute__ ((__nothrow__)); extern int pthread_rwlock_init (pthread_rwlock_t *__restrict __rwlock, __const pthread_rwlockattr_t *__restrict __attr) __attribute__ ((__nothrow__)); extern int pthread_rwlock_destroy (pthread_rwlock_t *__rwlock) __attribute__ ((__nothrow__)); extern int pthread_rwlock_rdlock (pthread_rwlock_t *__rwlock) __attribute__ ((__nothrow__)); extern int pthread_rwlock_tryrdlock (pthread_rwlock_t *__rwlock) __attribute__ ((__nothrow__)); extern int pthread_rwlock_timedrdlock (pthread_rwlock_t *__restrict __rwlock, __const struct timespec *__restrict __abstime) __attribute__ ((__nothrow__)); extern int pthread_rwlock_wrlock (pthread_rwlock_t *__rwlock) __attribute__ ((__nothrow__)); extern int pthread_rwlock_trywrlock (pthread_rwlock_t *__rwlock) __attribute__ ((__nothrow__)); extern int pthread_rwlock_timedwrlock (pthread_rwlock_t *__restrict __rwlock, __const struct timespec *__restrict __abstime) __attribute__ ((__nothrow__)); extern int pthread_rwlock_unlock (pthread_rwlock_t *__rwlock) __attribute__ ((__nothrow__)); extern int pthread_rwlockattr_init (pthread_rwlockattr_t *__attr) __attribute__ ((__nothrow__)); extern int pthread_rwlockattr_destroy (pthread_rwlockattr_t *__attr) __attribute__ ((__nothrow__)); extern int pthread_rwlockattr_getpshared (__const pthread_rwlockattr_t * __restrict __attr, int *__restrict __pshared) __attribute__ ((__nothrow__)); extern int pthread_rwlockattr_setpshared (pthread_rwlockattr_t *__attr, int __pshared) __attribute__ ((__nothrow__)); extern int pthread_rwlockattr_getkind_np (__const pthread_rwlockattr_t *__attr, int *__pref) __attribute__ ((__nothrow__)); extern int pthread_rwlockattr_setkind_np (pthread_rwlockattr_t *__attr, int __pref) __attribute__ ((__nothrow__)); # 510 "../linuxthreads/sysdeps/pthread/pthread.h" extern int pthread_spin_init (pthread_spinlock_t *__lock, int __pshared) __attribute__ ((__nothrow__)); extern int pthread_spin_destroy (pthread_spinlock_t *__lock) __attribute__ ((__nothrow__)); extern int pthread_spin_lock (pthread_spinlock_t *__lock) __attribute__ ((__nothrow__)); extern int pthread_spin_trylock (pthread_spinlock_t *__lock) __attribute__ ((__nothrow__)); extern int pthread_spin_unlock (pthread_spinlock_t *__lock) __attribute__ ((__nothrow__)); extern int pthread_barrier_init (pthread_barrier_t *__restrict __barrier, __const pthread_barrierattr_t *__restrict __attr, unsigned int __count) __attribute__ ((__nothrow__)); extern int pthread_barrier_destroy (pthread_barrier_t *__barrier) __attribute__ ((__nothrow__)); extern int pthread_barrierattr_init (pthread_barrierattr_t *__attr) __attribute__ ((__nothrow__)); extern int pthread_barrierattr_destroy (pthread_barrierattr_t *__attr) __attribute__ ((__nothrow__)); extern int pthread_barrierattr_getpshared (__const pthread_barrierattr_t * __restrict __attr, int *__restrict __pshared) __attribute__ ((__nothrow__)); extern int pthread_barrierattr_setpshared (pthread_barrierattr_t *__attr, int __pshared) __attribute__ ((__nothrow__)); extern int pthread_barrier_wait (pthread_barrier_t *__barrier) __attribute__ ((__nothrow__)); # 557 "../linuxthreads/sysdeps/pthread/pthread.h" extern int pthread_key_create (pthread_key_t *__key, void (*__destr_function) (void *)) __attribute__ ((__nothrow__)); extern int pthread_key_delete (pthread_key_t __key) __attribute__ ((__nothrow__)); extern int pthread_setspecific (pthread_key_t __key, __const void *__pointer) __attribute__ ((__nothrow__)); extern void *pthread_getspecific (pthread_key_t __key) __attribute__ ((__nothrow__)); # 580 "../linuxthreads/sysdeps/pthread/pthread.h" extern int pthread_once (pthread_once_t *__once_control, void (*__init_routine) (void)); extern int pthread_setcancelstate (int __state, int *__oldstate); extern int pthread_setcanceltype (int __type, int *__oldtype); extern int pthread_cancel (pthread_t __cancelthread); extern void pthread_testcancel (void); # 614 "../linuxthreads/sysdeps/pthread/pthread.h" extern void _pthread_cleanup_push (struct _pthread_cleanup_buffer *__buffer, void (*__routine) (void *), void *__arg) __attribute__ ((__nothrow__)); extern void _pthread_cleanup_pop (struct _pthread_cleanup_buffer *__buffer, int __execute) __attribute__ ((__nothrow__)); # 635 "../linuxthreads/sysdeps/pthread/pthread.h" extern void _pthread_cleanup_push_defer (struct _pthread_cleanup_buffer *__buffer, void (*__routine) (void *), void *__arg) __attribute__ ((__nothrow__)); # 646 "../linuxthreads/sysdeps/pthread/pthread.h" extern void _pthread_cleanup_pop_restore (struct _pthread_cleanup_buffer *__buffer, int __execute) __attribute__ ((__nothrow__)); extern int pthread_getcpuclockid (pthread_t __thread_id, __clockid_t *__clock_id) __attribute__ ((__nothrow__)); # 675 "../linuxthreads/sysdeps/pthread/pthread.h" extern int pthread_atfork (void (*__prepare) (void), void (*__parent) (void), void (*__child) (void)) __attribute__ ((__nothrow__)); extern void pthread_kill_other_threads_np (void) __attribute__ ((__nothrow__)); # 2 "../include/pthread.h" 2 extern void __pthread_initialize (void) __attribute__ ((weak)); # 27 "../linuxthreads_db/thread_db.h" 2 # 1 "../include/sys/types.h" 1 # 29 "../linuxthreads_db/thread_db.h" 2 typedef enum { TD_OK, TD_ERR, TD_NOTHR, TD_NOSV, TD_NOLWP, TD_BADPH, TD_BADTH, TD_BADSH, TD_BADTA, TD_BADKEY, TD_NOMSG, TD_NOFPREGS, TD_NOLIBTHREAD, TD_NOEVENT, TD_NOCAPAB, TD_DBERR, TD_NOAPLIC, TD_NOTSD, TD_MALLOC, TD_PARTIALREG, TD_NOXREGS, TD_TLSDEFER, TD_NOTALLOC = TD_TLSDEFER, TD_VERSION, TD_NOTLS } td_err_e; typedef enum { TD_THR_ANY_STATE, TD_THR_UNKNOWN, TD_THR_STOPPED, TD_THR_RUN, TD_THR_ACTIVE, TD_THR_ZOMBIE, TD_THR_SLEEP, TD_THR_STOPPED_ASLEEP } td_thr_state_e; typedef enum { TD_THR_ANY_TYPE, TD_THR_USER, TD_THR_SYSTEM } td_thr_type_e; typedef struct td_thragent td_thragent_t; typedef struct td_thrhandle { td_thragent_t *th_ta_p; psaddr_t th_unique; } td_thrhandle_t; struct link_map; # 116 "../linuxthreads_db/thread_db.h" typedef struct td_thr_events { uint32_t event_bits[2]; } td_thr_events_t; # 155 "../linuxthreads_db/thread_db.h" typedef enum { TD_ALL_EVENTS, TD_EVENT_NONE = TD_ALL_EVENTS, TD_READY, TD_SLEEP, TD_SWITCHTO, TD_SWITCHFROM, TD_LOCK_TRY, TD_CATCHSIG, TD_IDLE, TD_CREATE, TD_DEATH, TD_PREEMPT, TD_PRI_INHERIT, TD_REAP, TD_CONCURRENCY, TD_TIMEOUT, TD_MIN_EVENT_NUM = TD_READY, TD_MAX_EVENT_NUM = TD_TIMEOUT, TD_EVENTS_ENABLE = 31 } td_event_e; typedef enum { NOTIFY_BPT, NOTIFY_AUTOBPT, NOTIFY_SYSCALL } td_notify_e; typedef struct td_notify { td_notify_e type; union { psaddr_t bptaddr; int syscallno; } u; } td_notify_t; typedef struct td_event_msg { td_event_e event; const td_thrhandle_t *th_p; union { uintptr_t data; } msg; } td_event_msg_t; typedef struct { td_thr_events_t eventmask; td_event_e eventnum; void *eventdata; } td_eventbuf_t; typedef struct td_ta_stats { int nthreads; int r_concurrency; int nrunnable_num; int nrunnable_den; int a_concurrency_num; int a_concurrency_den; int nlwps_num; int nlwps_den; int nidle_num; int nidle_den; } td_ta_stats_t; typedef pthread_t thread_t; typedef pthread_key_t thread_key_t; typedef int td_thr_iter_f (const td_thrhandle_t *, void *); typedef int td_key_iter_f (thread_key_t, void (*) (void *), void *); struct ps_prochandle; typedef struct td_thrinfo { td_thragent_t *ti_ta_p; unsigned int ti_user_flags; thread_t ti_tid; char *ti_tls; psaddr_t ti_startfunc; psaddr_t ti_stkbase; long int ti_stksize; psaddr_t ti_ro_area; int ti_ro_size; td_thr_state_e ti_state; unsigned char ti_db_suspended; td_thr_type_e ti_type; intptr_t ti_pc; intptr_t ti_sp; short int ti_flags; int ti_pri; lwpid_t ti_lid; sigset_t ti_sigmask; unsigned char ti_traceme; unsigned char ti_preemptflag; unsigned char ti_pirecflag; sigset_t ti_pending; td_thr_events_t ti_events; } td_thrinfo_t; extern td_err_e td_init (void); extern td_err_e td_log (void); extern const char **td_symbol_list (void); extern td_err_e td_ta_new (struct ps_prochandle *__ps, td_thragent_t **__ta); extern td_err_e td_ta_delete (td_thragent_t *__ta); extern td_err_e td_ta_get_nthreads (const td_thragent_t *__ta, int *__np); extern td_err_e td_ta_get_ph (const td_thragent_t *__ta, struct ps_prochandle **__ph); extern td_err_e td_ta_map_id2thr (const td_thragent_t *__ta, pthread_t __pt, td_thrhandle_t *__th); extern td_err_e td_ta_map_lwp2thr (const td_thragent_t *__ta, lwpid_t __lwpid, td_thrhandle_t *__th); extern td_err_e td_ta_thr_iter (const td_thragent_t *__ta, td_thr_iter_f *__callback, void *__cbdata_p, td_thr_state_e __state, int __ti_pri, sigset_t *__ti_sigmask_p, unsigned int __ti_user_flags); extern td_err_e td_ta_tsd_iter (const td_thragent_t *__ta, td_key_iter_f *__ki, void *__p); extern td_err_e td_ta_event_addr (const td_thragent_t *__ta, td_event_e __event, td_notify_t *__ptr); extern td_err_e td_ta_set_event (const td_thragent_t *__ta, td_thr_events_t *__event); extern td_err_e td_ta_clear_event (const td_thragent_t *__ta, td_thr_events_t *__event); extern td_err_e td_ta_event_getmsg (const td_thragent_t *__ta, td_event_msg_t *__msg); extern td_err_e td_ta_setconcurrency (const td_thragent_t *__ta, int __level); extern td_err_e td_ta_enable_stats (const td_thragent_t *__ta, int __enable); extern td_err_e td_ta_reset_stats (const td_thragent_t *__ta); extern td_err_e td_ta_get_stats (const td_thragent_t *__ta, td_ta_stats_t *__statsp); extern td_err_e td_thr_validate (const td_thrhandle_t *__th); extern td_err_e td_thr_get_info (const td_thrhandle_t *__th, td_thrinfo_t *__infop); extern td_err_e td_thr_getfpregs (const td_thrhandle_t *__th, prfpregset_t *__regset); extern td_err_e td_thr_getgregs (const td_thrhandle_t *__th, prgregset_t __gregs); extern td_err_e td_thr_getxregs (const td_thrhandle_t *__th, void *__xregs); extern td_err_e td_thr_getxregsize (const td_thrhandle_t *__th, int *__sizep); extern td_err_e td_thr_setfpregs (const td_thrhandle_t *__th, const prfpregset_t *__fpregs); extern td_err_e td_thr_setgregs (const td_thrhandle_t *__th, prgregset_t __gregs); extern td_err_e td_thr_setxregs (const td_thrhandle_t *__th, const void *__addr); extern td_err_e td_thr_tlsbase (const td_thrhandle_t *__th, unsigned long int __modid, psaddr_t *__base); extern td_err_e td_thr_tls_get_addr (const td_thrhandle_t *__th, void *__map_address, size_t __offset, void **__address); extern td_err_e td_thr_event_enable (const td_thrhandle_t *__th, int __event); extern td_err_e td_thr_set_event (const td_thrhandle_t *__th, td_thr_events_t *__event); extern td_err_e td_thr_clear_event (const td_thrhandle_t *__th, td_thr_events_t *__event); extern td_err_e td_thr_event_getmsg (const td_thrhandle_t *__th, td_event_msg_t *__msg); extern td_err_e td_thr_setprio (const td_thrhandle_t *__th, int __prio); extern td_err_e td_thr_setsigpending (const td_thrhandle_t *__th, unsigned char __n, const sigset_t *__ss); extern td_err_e td_thr_sigsetmask (const td_thrhandle_t *__th, const sigset_t *__ss); extern td_err_e td_thr_tsd (const td_thrhandle_t *__th, const thread_key_t __tk, void **__data); extern td_err_e td_thr_dbsuspend (const td_thrhandle_t *__th); extern td_err_e td_thr_dbresume (const td_thrhandle_t *__th); # 9 "../linuxthreads_db/thread_dbP.h" 2 # 1 "../linuxthreads/descr.h" 1 # 10 "../linuxthreads_db/thread_dbP.h" 2 enum { PTHREAD_THREADS_EVENTS = 0, PTHREAD_LAST_EVENT, PTHREAD_HANDLES_NUM, PTHREAD_HANDLES, PTHREAD_KEYS, LINUXTHREADS_PTHREAD_THREADS_MAX, LINUXTHREADS_PTHREAD_KEYS_MAX, LINUXTHREADS_PTHREAD_SIZEOF_DESCR, LINUXTHREADS_CREATE_EVENT, LINUXTHREADS_DEATH_EVENT, LINUXTHREADS_REAP_EVENT, LINUXTHREADS_INITIAL_REPORT_EVENTS, LINUXTHREADS_VERSION, NUM_MESSAGES }; extern int __td_debug; struct td_thragent { struct ps_prochandle *ph; struct pthread_handle_struct *handles; struct pthread_key_struct *keys; int pthread_threads_max; int pthread_keys_max; int pthread_key_2ndlevel_size; int sizeof_descr; psaddr_t pthread_threads_eventsp; psaddr_t pthread_last_event; psaddr_t pthread_handles_num; }; struct agent_list { td_thragent_t *ta; struct agent_list *next; }; extern struct agent_list *__td_agent_list; static __inline__ int ta_ok (const td_thragent_t *ta) { struct agent_list *runp = __td_agent_list; if (ta == ((void *)0)) return 0; while (runp != ((void *)0) && runp->ta != ta) runp = runp->next; return runp != ((void *)0); } extern int td_lookup (struct ps_prochandle *ps, int idx, psaddr_t *sym_addr); # 45 "../linuxthreads/descr.h" 2 struct pthread_start_args { void *(*start_routine)(void *); void *arg; sigset_t mask; int schedpolicy; struct sched_param schedparam; }; # 65 "../linuxthreads/descr.h" typedef struct _pthread_extricate_struct { void *pu_object; int (*pu_extricate_func)(void *, pthread_descr); } pthread_extricate_if; struct pthread_atomic { long p_count; int p_spinlock; }; # 85 "../linuxthreads/descr.h" struct _pthread_rwlock_t; typedef struct _pthread_rwlock_info { struct _pthread_rwlock_info *pr_next; struct _pthread_rwlock_t *pr_lock; int pr_lock_count; } pthread_readlock_info; # 108 "../linuxthreads/descr.h" union dtv; struct _pthread_descr_struct { union { struct { void *tcb; union dtv *dtvp; pthread_descr self; int multiple_threads; uintptr_t sysinfo; } data; void *__padding[16]; } p_header; pthread_descr p_nextlive, p_prevlive; pthread_descr p_nextwaiting; pthread_descr p_nextlock; pthread_t p_tid; int p_pid; int p_priority; struct _pthread_fastlock * p_lock; int p_signal; sigjmp_buf * p_signal_jmp; sigjmp_buf * p_cancel_jmp; char p_terminated; char p_detached; char p_exited; void * p_retval; int p_retcode; pthread_descr p_joining; struct _pthread_cleanup_buffer * p_cleanup; char p_cancelstate; char p_canceltype; char p_canceled; char * p_in_sighandler; char p_sigwaiting; struct pthread_start_args p_start_args; void ** p_specific[((1024 + 32 - 1) / 32)]; void * p_libc_specific[_LIBC_TSD_KEY_N]; int * p_errnop; int p_errno; int * p_h_errnop; int p_h_errno; struct __res_state *p_resp; struct __res_state p_res; int p_userstack; void *p_guardaddr; size_t p_guardsize; int p_nr; int p_report_events; td_eventbuf_t p_eventbuf; struct pthread_atomic p_resume_count; char p_woken_by_cancel; char p_condvar_avail; char p_sem_avail; pthread_extricate_if *p_extricate; pthread_readlock_info *p_readlock_list; pthread_readlock_info *p_readlock_free; int p_untracked_readlock_count; int p_inheritsched; hp_timing_t p_cpuclock_offset; char *p_stackaddr; size_t p_alloca_cutoff; } __attribute__ ((aligned(32))); # 206 "../linuxthreads/descr.h" extern char *__pthread_initial_thread_bos; extern struct _pthread_descr_struct __pthread_initial_thread; extern char *__pthread_manager_thread_bos; extern char *__pthread_manager_thread_tos; extern struct _pthread_descr_struct __pthread_manager_thread; extern pthread_descr __pthread_manager_threadp ; extern int __pthread_nonstandard_stacks; # 242 "../linuxthreads/descr.h" extern pthread_descr __pthread_find_self (void) __attribute__ ((pure)); static __inline__ pthread_descr thread_self (void) __attribute__ ((pure)); static __inline__ pthread_descr thread_self (void) { return ({ register pthread_descr __self; __asm__ ("movl %%gs:%c1,%0" : "=r" (__self) : "i" (((size_t) &((struct _pthread_descr_struct *)0)->p_header.data.self))); __self; }); # 265 "../linuxthreads/descr.h" } # 76 "../linuxthreads/sysdeps/i386/tls.h" 2 # 7 "../include/tls.h" 2 # 23 "../include/errno.h" 2 # 39 "../include/errno.h" extern int *__errno_location (void) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ; # 22 "iconv_close.c" 2 # 1 "../include/iconv.h" 1 # 1 "../iconv/iconv.h" 1 # 24 "../iconv/iconv.h" # 1 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/stddef.h" 1 3 4 # 25 "../iconv/iconv.h" 2 typedef void *iconv_t; extern iconv_t iconv_open (__const char *__tocode, __const char *__fromcode); extern size_t iconv (iconv_t __cd, char **__restrict __inbuf, size_t *__restrict __inbytesleft, char **__restrict __outbuf, size_t *__restrict __outbytesleft); extern int iconv_close (iconv_t __cd); # 2 "../include/iconv.h" 2 # 23 "iconv_close.c" 2 # 1 "gconv_int.h" 1 # 23 "gconv_int.h" # 1 "gconv.h" 1 # 28 "gconv.h" # 1 "../include/wchar.h" 1 # 1 "../wcsmbs/wchar.h" 1 # 48 "../wcsmbs/wchar.h" # 1 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/stddef.h" 1 3 4 # 354 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/stddef.h" 3 4 typedef unsigned int wint_t; # 49 "../wcsmbs/wchar.h" 2 # 76 "../wcsmbs/wchar.h" typedef struct { int __count; union { wint_t __wch; char __wchb[4]; } __value; } __mbstate_t; # 3 "../include/wchar.h" 2 # 29 "gconv.h" 2 # 1 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/stddef.h" 1 3 4 # 32 "gconv.h" 2 enum { __GCONV_OK = 0, __GCONV_NOCONV, __GCONV_NODB, __GCONV_NOMEM, __GCONV_EMPTY_INPUT, __GCONV_FULL_OUTPUT, __GCONV_ILLEGAL_INPUT, __GCONV_INCOMPLETE_INPUT, __GCONV_ILLEGAL_DESCRIPTOR, __GCONV_INTERNAL_ERROR }; enum { __GCONV_IS_LAST = 0x0001, __GCONV_IGNORE_ERRORS = 0x0002 }; struct __gconv_step; struct __gconv_step_data; struct __gconv_loaded_object; struct __gconv_trans_data; typedef int (*__gconv_fct) (struct __gconv_step *, struct __gconv_step_data *, __const unsigned char **, __const unsigned char *, unsigned char **, size_t *, int, int); typedef wint_t (*__gconv_btowc_fct) (struct __gconv_step *, unsigned char); typedef int (*__gconv_init_fct) (struct __gconv_step *); typedef void (*__gconv_end_fct) (struct __gconv_step *); typedef int (*__gconv_trans_fct) (struct __gconv_step *, struct __gconv_step_data *, void *, __const unsigned char *, __const unsigned char **, __const unsigned char *, unsigned char **, size_t *); typedef int (*__gconv_trans_context_fct) (void *, __const unsigned char *, __const unsigned char *, unsigned char *, unsigned char *); typedef int (*__gconv_trans_query_fct) (__const char *, __const char ***, size_t *); typedef int (*__gconv_trans_init_fct) (void **, const char *); typedef void (*__gconv_trans_end_fct) (void *); struct __gconv_trans_data { __gconv_trans_fct __trans_fct; __gconv_trans_context_fct __trans_context_fct; __gconv_trans_end_fct __trans_end_fct; void *__data; struct __gconv_trans_data *__next; }; struct __gconv_step { struct __gconv_loaded_object *__shlib_handle; __const char *__modname; int __counter; char *__from_name; char *__to_name; __gconv_fct __fct; __gconv_btowc_fct __btowc_fct; __gconv_init_fct __init_fct; __gconv_end_fct __end_fct; int __min_needed_from; int __max_needed_from; int __min_needed_to; int __max_needed_to; int __stateful; void *__data; }; struct __gconv_step_data { unsigned char *__outbuf; unsigned char *__outbufend; int __flags; int __invocation_counter; int __internal_use; __mbstate_t *__statep; __mbstate_t __state; struct __gconv_trans_data *__trans; }; typedef struct __gconv_info { size_t __nsteps; struct __gconv_step *__steps; __extension__ struct __gconv_step_data __data []; } *__gconv_t; # 24 "gconv_int.h" 2 # 1 "../linuxthreads/sysdeps/pthread/bits/libc-lock.h" 1 # 24 "../linuxthreads/sysdeps/pthread/bits/libc-lock.h" # 1 "../include/pthread.h" 1 extern void __pthread_initialize (void) __attribute__ ((weak)); # 25 "../linuxthreads/sysdeps/pthread/bits/libc-lock.h" 2 # 1 "../linuxthreads/internals.h" 1 # 22 "../linuxthreads/internals.h" # 1 "../include/limits.h" 1 # 144 "../include/limits.h" # 1 "../include/bits/posix1_lim.h" 1 # 145 "../include/limits.h" 2 # 1 "../include/bits/posix2_lim.h" 1 # 149 "../include/limits.h" 2 # 23 "../linuxthreads/internals.h" 2 # 1 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/stdbool.h" 1 3 4 # 25 "../linuxthreads/internals.h" 2 # 1 "../sysdeps/unix/sysv/linux/i386/sigcontextinfo.h" 1 # 28 "../linuxthreads/internals.h" 2 # 1 "../linuxthreads/semaphore.h" 1 # 19 "../linuxthreads/semaphore.h" # 1 "../include/sys/types.h" 1 # 20 "../linuxthreads/semaphore.h" 2 # 32 "../linuxthreads/semaphore.h" typedef struct { struct _pthread_fastlock __sem_lock; int __sem_value; _pthread_descr __sem_waiting; } sem_t; # 48 "../linuxthreads/semaphore.h" extern int sem_init (sem_t *__sem, int __pshared, unsigned int __value) __attribute__ ((__nothrow__)); extern int sem_destroy (sem_t *__sem) __attribute__ ((__nothrow__)); extern sem_t *sem_open (__const char *__name, int __oflag, ...) __attribute__ ((__nothrow__)); extern int sem_close (sem_t *__sem) __attribute__ ((__nothrow__)); extern int sem_unlink (__const char *__name) __attribute__ ((__nothrow__)); extern int sem_wait (sem_t *__sem); extern int sem_timedwait (sem_t *__restrict __sem, __const struct timespec *__restrict __abstime); extern int sem_trywait (sem_t *__sem) __attribute__ ((__nothrow__)); extern int sem_post (sem_t *__sem) __attribute__ ((__nothrow__)); extern int sem_getvalue (sem_t *__restrict __sem, int *__restrict __sval) __attribute__ ((__nothrow__)); # 33 "../linuxthreads/internals.h" 2 # 1 "../linuxthreads/sysdeps/pthread/pthread-functions.h" 1 # 23 "../linuxthreads/sysdeps/pthread/pthread-functions.h" # 1 "../include/pthread.h" 1 extern void __pthread_initialize (void) __attribute__ ((weak)); # 24 "../linuxthreads/sysdeps/pthread/pthread-functions.h" 2 struct fork_block; struct pthread_functions { pid_t (*ptr_pthread_fork) (struct fork_block *); int (*ptr_pthread_attr_destroy) (pthread_attr_t *); int (*ptr___pthread_attr_init_2_0) (pthread_attr_t *); int (*ptr___pthread_attr_init_2_1) (pthread_attr_t *); int (*ptr_pthread_attr_getdetachstate) (const pthread_attr_t *, int *); int (*ptr_pthread_attr_setdetachstate) (pthread_attr_t *, int); int (*ptr_pthread_attr_getinheritsched) (const pthread_attr_t *, int *); int (*ptr_pthread_attr_setinheritsched) (pthread_attr_t *, int); int (*ptr_pthread_attr_getschedparam) (const pthread_attr_t *, struct sched_param *); int (*ptr_pthread_attr_setschedparam) (pthread_attr_t *, const struct sched_param *); int (*ptr_pthread_attr_getschedpolicy) (const pthread_attr_t *, int *); int (*ptr_pthread_attr_setschedpolicy) (pthread_attr_t *, int); int (*ptr_pthread_attr_getscope) (const pthread_attr_t *, int *); int (*ptr_pthread_attr_setscope) (pthread_attr_t *, int); int (*ptr_pthread_condattr_destroy) (pthread_condattr_t *); int (*ptr_pthread_condattr_init) (pthread_condattr_t *); int (*ptr___pthread_cond_broadcast) (pthread_cond_t *); int (*ptr___pthread_cond_destroy) (pthread_cond_t *); int (*ptr___pthread_cond_init) (pthread_cond_t *, const pthread_condattr_t *); int (*ptr___pthread_cond_signal) (pthread_cond_t *); int (*ptr___pthread_cond_wait) (pthread_cond_t *, pthread_mutex_t *); int (*ptr_pthread_equal) (pthread_t, pthread_t); void (*ptr___pthread_exit) (void *); int (*ptr_pthread_getschedparam) (pthread_t, int *, struct sched_param *); int (*ptr_pthread_setschedparam) (pthread_t, int, const struct sched_param *); int (*ptr_pthread_mutex_destroy) (pthread_mutex_t *); int (*ptr_pthread_mutex_init) (pthread_mutex_t *, const pthread_mutexattr_t *); int (*ptr_pthread_mutex_lock) (pthread_mutex_t *); int (*ptr_pthread_mutex_trylock) (pthread_mutex_t *); int (*ptr_pthread_mutex_unlock) (pthread_mutex_t *); pthread_t (*ptr_pthread_self) (void); int (*ptr_pthread_setcancelstate) (int, int *); int (*ptr_pthread_setcanceltype) (int, int *); void (*ptr_pthread_do_exit) (void *retval, char *currentframe); void (*ptr_pthread_cleanup_upto) (__jmp_buf target, char *targetframe); pthread_descr (*ptr_pthread_thread_self) (void); int (*ptr_pthread_internal_tsd_set) (int key, const void *pointer); void * (*ptr_pthread_internal_tsd_get) (int key); void ** __attribute__ ((__const__)) (*ptr_pthread_internal_tsd_address) (int key); int (*ptr_pthread_sigaction) (int sig, const struct sigaction * act, struct sigaction *oact); int (*ptr_pthread_sigwait) (const sigset_t *set, int *sig); int (*ptr_pthread_raise) (int sig); int (*ptr___pthread_cond_timedwait) (pthread_cond_t *, pthread_mutex_t *, const struct timespec *); void (*ptr__pthread_cleanup_push) (struct _pthread_cleanup_buffer * buffer, void (*routine)(void *), void * arg); void (*ptr__pthread_cleanup_pop) (struct _pthread_cleanup_buffer * buffer, int execute); }; extern struct pthread_functions __libc_pthread_functions ; # 34 "../linuxthreads/internals.h" 2 # 57 "../linuxthreads/internals.h" typedef void (*destr_function)(void *); struct pthread_key_struct { int in_use; destr_function destr; }; # 71 "../linuxthreads/internals.h" typedef struct pthread_handle_struct * pthread_handle; struct pthread_handle_struct { struct _pthread_fastlock h_lock; pthread_descr h_descr; char * h_bottom; }; struct pthread_request { pthread_descr req_thread; enum { REQ_CREATE, REQ_FREE, REQ_PROCESS_EXIT, REQ_MAIN_THREAD_EXIT, REQ_POST, REQ_DEBUG, REQ_KICK, REQ_FOR_EACH_THREAD } req_kind; union { struct { const pthread_attr_t * attr; void * (*fn)(void *); void * arg; sigset_t mask; } create; struct { pthread_t thread_id; } free; struct { int code; } exit; void * post; struct { void (*fn)(void *, pthread_descr); void *arg; } for_each; } req_args; }; typedef void (*arch_sighandler_t) (int, struct sigcontext); union sighandler { arch_sighandler_t old; void (*rt) (int, struct siginfo *, struct ucontext *); }; extern union sighandler __sighandler[65]; extern int __pthread_sig_restart; extern int __pthread_sig_cancel; extern int __pthread_sig_debug; extern struct pthread_handle_struct __pthread_handles[16384]; extern pthread_descr __pthread_main_thread; extern int __pthread_manager_request; extern int __pthread_manager_reader; extern size_t __pthread_max_stacksize; extern int __pthread_exit_requested, __pthread_exit_code; extern __volatile__ int __pthread_threads_debug; extern __volatile__ td_thr_events_t __pthread_threads_events; extern __volatile__ pthread_descr __pthread_last_event; extern int __pthread_smp_kernel; static __inline__ pthread_handle thread_handle(pthread_t id) { return &__pthread_handles[id % 16384]; } static __inline__ int invalid_handle(pthread_handle h, pthread_t id) { return h->h_descr == ((void *)0) || h->h_descr->p_tid != id || h->h_descr->p_terminated; } static __inline__ int nonexisting_handle(pthread_handle h, pthread_t id) { return h->h_descr == ((void *)0) || h->h_descr->p_tid != id; } # 260 "../linuxthreads/internals.h" extern int __libc_multiple_threads ; extern int __librt_multiple_threads; # 276 "../linuxthreads/internals.h" extern void __pthread_do_exit (void *retval, char *currentframe) __attribute__ ((__noreturn__)); extern void __pthread_destroy_specifics (void); extern void __pthread_perform_cleanup (char *currentframe); extern void __pthread_init_max_stacksize (void); extern int __pthread_initialize_manager (void); extern void __pthread_message (const char * fmt, ...); extern int __pthread_manager (void *reqfd); extern int __pthread_manager_event (void *reqfd); extern void __pthread_manager_sighandler (int sig); extern void __pthread_reset_main_thread (void); extern void __pthread_once_fork_prepare (void); extern void __pthread_once_fork_parent (void); extern void __pthread_once_fork_child (void); extern void __flockfilelist (void); extern void __funlockfilelist (void); extern void __fresetlockfiles (void); extern void __pthread_manager_adjust_prio (int thread_prio); extern void __pthread_initialize_minimal (void); extern int __pthread_attr_setguardsize (pthread_attr_t *__attr, size_t __guardsize); extern int __pthread_attr_getguardsize (const pthread_attr_t *__attr, size_t *__guardsize); extern int __pthread_attr_setstackaddr (pthread_attr_t *__attr, void *__stackaddr); extern int __pthread_attr_getstackaddr (const pthread_attr_t *__attr, void **__stackaddr); extern int __pthread_attr_setstacksize (pthread_attr_t *__attr, size_t __stacksize); extern int __pthread_attr_getstacksize (const pthread_attr_t *__attr, size_t *__stacksize); extern int __pthread_attr_setstack (pthread_attr_t *__attr, void *__stackaddr, size_t __stacksize); extern int __pthread_attr_getstack (const pthread_attr_t *__attr, void **__stackaddr, size_t *__stacksize); extern int __pthread_attr_destroy (pthread_attr_t *attr); extern int __pthread_attr_setdetachstate (pthread_attr_t *attr, int detachstate); extern int __pthread_attr_getdetachstate (const pthread_attr_t *attr, int *detachstate); extern int __pthread_attr_setschedparam (pthread_attr_t *attr, const struct sched_param *param); extern int __pthread_attr_getschedparam (const pthread_attr_t *attr, struct sched_param *param); extern int __pthread_attr_setschedpolicy (pthread_attr_t *attr, int policy); extern int __pthread_attr_getschedpolicy (const pthread_attr_t *attr, int *policy); extern int __pthread_attr_setinheritsched (pthread_attr_t *attr, int inherit); extern int __pthread_attr_getinheritsched (const pthread_attr_t *attr, int *inherit); extern int __pthread_attr_setscope (pthread_attr_t *attr, int scope); extern int __pthread_attr_getscope (const pthread_attr_t *attr, int *scope); extern int __pthread_getconcurrency (void); extern int __pthread_setconcurrency (int __level); extern int __pthread_mutex_timedlock (pthread_mutex_t *__mutex, const struct timespec *__abstime); extern int __pthread_mutexattr_getpshared (const pthread_mutexattr_t *__attr, int *__pshared); extern int __pthread_mutexattr_setpshared (pthread_mutexattr_t *__attr, int __pshared); extern int __pthread_mutexattr_gettype (const pthread_mutexattr_t *__attr, int *__kind); extern void __pthread_kill_other_threads_np (void); extern int __pthread_mutex_init (pthread_mutex_t *__mutex, __const pthread_mutexattr_t *__mutex_attr); extern int __pthread_mutex_destroy (pthread_mutex_t *__mutex); extern int __pthread_mutex_lock (pthread_mutex_t *__mutex); extern int __pthread_mutex_trylock (pthread_mutex_t *__mutex); extern int __pthread_mutex_unlock (pthread_mutex_t *__mutex); extern int __pthread_cond_init (pthread_cond_t *cond, const pthread_condattr_t *cond_attr); extern int __pthread_cond_destroy (pthread_cond_t *cond); extern int __pthread_cond_wait (pthread_cond_t *cond, pthread_mutex_t *mutex); extern int __pthread_cond_timedwait (pthread_cond_t *cond, pthread_mutex_t *mutex, const struct timespec *abstime); extern int __pthread_cond_signal (pthread_cond_t *cond); extern int __pthread_cond_broadcast (pthread_cond_t *cond); extern int __pthread_condattr_init (pthread_condattr_t *attr); extern int __pthread_condattr_destroy (pthread_condattr_t *attr); extern pthread_t __pthread_self (void); extern pthread_descr __pthread_thread_self (void); extern pthread_descr __pthread_self_stack (void) ; extern int __pthread_equal (pthread_t thread1, pthread_t thread2); extern void __pthread_exit (void *retval); extern int __pthread_getschedparam (pthread_t thread, int *policy, struct sched_param *param); extern int __pthread_setschedparam (pthread_t thread, int policy, const struct sched_param *param); extern int __pthread_setcancelstate (int state, int * oldstate); extern int __pthread_setcanceltype (int type, int * oldtype); extern void __pthread_restart_old(pthread_descr th); extern void __pthread_suspend_old(pthread_descr self); extern int __pthread_timedsuspend_old(pthread_descr self, const struct timespec *abs); extern void __pthread_restart_new(pthread_descr th); extern void __pthread_suspend_new(pthread_descr self); extern int __pthread_timedsuspend_new(pthread_descr self, const struct timespec *abs); extern void __pthread_wait_for_restart_signal(pthread_descr self); extern void __pthread_sigsuspend (const sigset_t *mask) ; extern int __pthread_yield (void); extern int __pthread_rwlock_timedrdlock (pthread_rwlock_t *__restrict __rwlock, __const struct timespec *__restrict __abstime); extern int __pthread_rwlock_timedwrlock (pthread_rwlock_t *__restrict __rwlock, __const struct timespec *__restrict __abstime); extern int __pthread_rwlockattr_destroy (pthread_rwlockattr_t *__attr); extern int __pthread_barrierattr_getpshared (__const pthread_barrierattr_t * __restrict __attr, int *__restrict __pshared); extern int __pthread_spin_lock (pthread_spinlock_t *__lock); extern int __pthread_spin_trylock (pthread_spinlock_t *__lock); extern int __pthread_spin_unlock (pthread_spinlock_t *__lock); extern int __pthread_spin_init (pthread_spinlock_t *__lock, int __pshared); extern int __pthread_spin_destroy (pthread_spinlock_t *__lock); extern void (*__pthread_restart)(pthread_descr); extern void (*__pthread_suspend)(pthread_descr); extern int (*__pthread_timedsuspend)(pthread_descr, const struct timespec *); extern int __libc_close (int fd); extern int __libc_nanosleep (const struct timespec *requested_time, struct timespec *remaining); extern int __new_sem_post (sem_t * sem); extern int __new_sem_init (sem_t *__sem, int __pshared, unsigned int __value); extern int __new_sem_wait (sem_t *__sem); extern int __new_sem_trywait (sem_t *__sem); extern int __new_sem_getvalue (sem_t *__restrict __sem, int *__restrict __sval); extern int __new_sem_destroy (sem_t *__sem); extern int __pthread_attr_init_2_1 (pthread_attr_t *__attr); extern int __pthread_attr_init_2_0 (pthread_attr_t *__attr); extern int __pthread_create_2_1 (pthread_t *__restrict __threadp, const pthread_attr_t *__attr, void *(*__start_routine) (void *), void *__restrict __arg); extern int __pthread_create_2_0 (pthread_t *__restrict thread, const pthread_attr_t *__attr, void *(*__start_routine) (void *), void *__restrict arg); extern void __linuxthreads_create_event (void); extern void __linuxthreads_death_event (void); extern void __linuxthreads_reap_event (void); extern void __pthread_initialize (void); extern int __pthread_internal_tsd_set (int key, const void * pointer); extern void * __pthread_internal_tsd_get (int key); extern void ** __attribute__ ((__const__)) __pthread_internal_tsd_address (int key); extern void __pthread_sighandler(int signo, struct sigcontext ctx); extern void __pthread_sighandler_rt(int signo, struct siginfo *si, struct ucontext *uc); extern void __pthread_null_sighandler(int sig); extern int __pthread_sigaction (int sig, const struct sigaction *act, struct sigaction *oact); extern int __pthread_sigwait (const sigset_t *set, int *sig); extern int __pthread_raise (int sig); extern int __pthread_enable_asynccancel (void) ; extern void __pthread_disable_asynccancel (int oldtype) __attribute__ ((regparm (3), stdcall)) ; extern int __libc_enable_asynccancel (void) ; extern void __libc_disable_asynccancel (int oldtype) __attribute__ ((regparm (3), stdcall)) ; extern int __librt_enable_asynccancel (void); extern void __librt_disable_asynccancel (int oldtype) __attribute__ ((regparm (3), stdcall)); extern void __pthread_cleanup_upto (__jmp_buf target, char *targetframe) ; extern pid_t __pthread_fork (struct fork_block *b) ; # 512 "../linuxthreads/internals.h" extern int * __libc_pthread_init (const struct pthread_functions *functions); # 530 "../linuxthreads/internals.h" extern __inline__ __attribute__((always_inline)) pthread_descr check_thread_self (void) { pthread_descr self = thread_self (); if (self == __pthread_manager_threadp) { self = __pthread_self_stack(); if (self != __pthread_manager_threadp) ({ if (__builtin_expect (__have_no_set_thread_area, 0) || (({ int __gs; if ((!__builtin_constant_p ((!__builtin_constant_p (self->p_nr) || (self->p_nr))) || ((!__builtin_constant_p (self->p_nr) || (self->p_nr))))) { __asm__ ("movw %%gs, %w0" : "=q" (__gs)); struct modify_ldt_ldt_s ldt_entry = { (__gs & 0xffff) >> 3, (unsigned long int) (self), 0xfffff , 1, 0, 0, 1, 0, 1, 0 }; int __result; __asm ( "movl %2, %%eax\n\t" "int $0x80\n\t" : "=&a" (__result) : "b" (&ldt_entry), "i" (243), "m" (ldt_entry) : "memory"); if (__result == 0) __asm__ ("movw %w0, %%gs" :: "q" (__gs)); else __gs = -1; } else { struct modify_ldt_ldt_s ldt_entry = { -1, (unsigned long int) (self), 0xfffff , 1, 0, 0, 1, 0, 1, 0 }; int __result; __asm ( "movl %2, %%eax\n\t" "int $0x80\n\t" : "=&a" (__result) : "b" (&ldt_entry), "i" (243), "m" (ldt_entry) : "memory"); if (__result == 0) { __gs = (ldt_entry.entry_number << 3) + 3; __asm__ ("movw %w0, %%gs" : : "q" (__gs)); } else __gs = -1; } __gs; }) == -1 && (__have_no_set_thread_area = 1))) ({ struct modify_ldt_ldt_s ldt_entry = { self->p_nr, (unsigned long int) (self), 0xfffff , 1, 0, 0, 1, 0, 1, 0 }; if (__modify_ldt (1, &ldt_entry, sizeof (ldt_entry)) != 0) abort (); __asm__ ("movw %w0, %%gs" : : "q" (self->p_nr * 8 + 7)); }); }); } return self; } # 28 "../linuxthreads/sysdeps/pthread/bits/libc-lock.h" 2 typedef pthread_mutex_t __libc_lock_t; typedef struct { pthread_mutex_t mutex; } __libc_lock_recursive_t; typedef pthread_rwlock_t __libc_rwlock_t; typedef __libc_lock_recursive_t __rtld_lock_recursive_t; typedef pthread_key_t __libc_key_t; # 295 "../linuxthreads/sysdeps/pthread/bits/libc-lock.h" extern int __pthread_mutex_init (pthread_mutex_t *__mutex, __const pthread_mutexattr_t *__mutex_attr); extern int __pthread_mutex_destroy (pthread_mutex_t *__mutex); extern int __pthread_mutex_trylock (pthread_mutex_t *__mutex); extern int __pthread_mutex_lock (pthread_mutex_t *__mutex); extern int __pthread_mutex_unlock (pthread_mutex_t *__mutex); extern int __pthread_mutexattr_init (pthread_mutexattr_t *__attr); extern int __pthread_mutexattr_destroy (pthread_mutexattr_t *__attr); extern int __pthread_mutexattr_settype (pthread_mutexattr_t *__attr, int __kind); extern int __pthread_rwlock_init (pthread_rwlock_t *__rwlock, __const pthread_rwlockattr_t *__attr); extern int __pthread_rwlock_destroy (pthread_rwlock_t *__rwlock); extern int __pthread_rwlock_rdlock (pthread_rwlock_t *__rwlock); extern int __pthread_rwlock_tryrdlock (pthread_rwlock_t *__rwlock); extern int __pthread_rwlock_wrlock (pthread_rwlock_t *__rwlock); extern int __pthread_rwlock_trywrlock (pthread_rwlock_t *__rwlock); extern int __pthread_rwlock_unlock (pthread_rwlock_t *__rwlock); extern int __pthread_key_create (pthread_key_t *__key, void (*__destr_function) (void *)); extern int __pthread_setspecific (pthread_key_t __key, __const void *__pointer); extern void *__pthread_getspecific (pthread_key_t __key); extern int __pthread_once (pthread_once_t *__once_control, void (*__init_routine) (void)); extern int __pthread_atfork (void (*__prepare) (void), void (*__parent) (void), void (*__child) (void)); # 352 "../linuxthreads/sysdeps/pthread/bits/libc-lock.h" # 1 "../sysdeps/generic/bp-sym.h" 1 # 353 "../linuxthreads/sysdeps/pthread/bits/libc-lock.h" 2 # 356 "../linuxthreads/sysdeps/pthread/bits/libc-lock.h" #pragma weak __pthread_mutex_init # 356 "../linuxthreads/sysdeps/pthread/bits/libc-lock.h" # 357 "../linuxthreads/sysdeps/pthread/bits/libc-lock.h" #pragma weak __pthread_mutex_destroy # 357 "../linuxthreads/sysdeps/pthread/bits/libc-lock.h" # 358 "../linuxthreads/sysdeps/pthread/bits/libc-lock.h" #pragma weak __pthread_mutex_lock # 358 "../linuxthreads/sysdeps/pthread/bits/libc-lock.h" # 359 "../linuxthreads/sysdeps/pthread/bits/libc-lock.h" #pragma weak __pthread_mutex_trylock # 359 "../linuxthreads/sysdeps/pthread/bits/libc-lock.h" # 360 "../linuxthreads/sysdeps/pthread/bits/libc-lock.h" #pragma weak __pthread_mutex_unlock # 360 "../linuxthreads/sysdeps/pthread/bits/libc-lock.h" # 361 "../linuxthreads/sysdeps/pthread/bits/libc-lock.h" #pragma weak __pthread_mutexattr_init # 361 "../linuxthreads/sysdeps/pthread/bits/libc-lock.h" # 362 "../linuxthreads/sysdeps/pthread/bits/libc-lock.h" #pragma weak __pthread_mutexattr_destroy # 362 "../linuxthreads/sysdeps/pthread/bits/libc-lock.h" # 363 "../linuxthreads/sysdeps/pthread/bits/libc-lock.h" #pragma weak __pthread_mutexattr_settype # 363 "../linuxthreads/sysdeps/pthread/bits/libc-lock.h" # 364 "../linuxthreads/sysdeps/pthread/bits/libc-lock.h" #pragma weak __pthread_rwlock_init # 364 "../linuxthreads/sysdeps/pthread/bits/libc-lock.h" # 365 "../linuxthreads/sysdeps/pthread/bits/libc-lock.h" #pragma weak __pthread_rwlock_destroy # 365 "../linuxthreads/sysdeps/pthread/bits/libc-lock.h" # 366 "../linuxthreads/sysdeps/pthread/bits/libc-lock.h" #pragma weak __pthread_rwlock_rdlock # 366 "../linuxthreads/sysdeps/pthread/bits/libc-lock.h" # 367 "../linuxthreads/sysdeps/pthread/bits/libc-lock.h" #pragma weak __pthread_rwlock_tryrdlock # 367 "../linuxthreads/sysdeps/pthread/bits/libc-lock.h" # 368 "../linuxthreads/sysdeps/pthread/bits/libc-lock.h" #pragma weak __pthread_rwlock_wrlock # 368 "../linuxthreads/sysdeps/pthread/bits/libc-lock.h" # 369 "../linuxthreads/sysdeps/pthread/bits/libc-lock.h" #pragma weak __pthread_rwlock_trywrlock # 369 "../linuxthreads/sysdeps/pthread/bits/libc-lock.h" # 370 "../linuxthreads/sysdeps/pthread/bits/libc-lock.h" #pragma weak __pthread_rwlock_unlock # 370 "../linuxthreads/sysdeps/pthread/bits/libc-lock.h" # 371 "../linuxthreads/sysdeps/pthread/bits/libc-lock.h" #pragma weak __pthread_key_create # 371 "../linuxthreads/sysdeps/pthread/bits/libc-lock.h" # 372 "../linuxthreads/sysdeps/pthread/bits/libc-lock.h" #pragma weak __pthread_setspecific # 372 "../linuxthreads/sysdeps/pthread/bits/libc-lock.h" # 373 "../linuxthreads/sysdeps/pthread/bits/libc-lock.h" #pragma weak __pthread_getspecific # 373 "../linuxthreads/sysdeps/pthread/bits/libc-lock.h" # 374 "../linuxthreads/sysdeps/pthread/bits/libc-lock.h" #pragma weak __pthread_once # 374 "../linuxthreads/sysdeps/pthread/bits/libc-lock.h" # 375 "../linuxthreads/sysdeps/pthread/bits/libc-lock.h" #pragma weak __pthread_initialize # 375 "../linuxthreads/sysdeps/pthread/bits/libc-lock.h" # 376 "../linuxthreads/sysdeps/pthread/bits/libc-lock.h" #pragma weak __pthread_atfork # 376 "../linuxthreads/sysdeps/pthread/bits/libc-lock.h" # 377 "../linuxthreads/sysdeps/pthread/bits/libc-lock.h" #pragma weak _pthread_cleanup_push # 377 "../linuxthreads/sysdeps/pthread/bits/libc-lock.h" # 378 "../linuxthreads/sysdeps/pthread/bits/libc-lock.h" #pragma weak _pthread_cleanup_pop # 378 "../linuxthreads/sysdeps/pthread/bits/libc-lock.h" # 379 "../linuxthreads/sysdeps/pthread/bits/libc-lock.h" #pragma weak _pthread_cleanup_push_defer # 379 "../linuxthreads/sysdeps/pthread/bits/libc-lock.h" # 380 "../linuxthreads/sysdeps/pthread/bits/libc-lock.h" #pragma weak _pthread_cleanup_pop_restore # 380 "../linuxthreads/sysdeps/pthread/bits/libc-lock.h" # 26 "gconv_int.h" 2 struct path_elem { const char *name; size_t len; }; extern struct path_elem *__gconv_path_elem ; extern size_t __gconv_max_path_elem_len ; struct gconv_alias { char *fromname; char *toname; }; # 58 "gconv_int.h" struct __gconv_loaded_object { const char *name; int counter; void *handle; __gconv_fct fct; __gconv_init_fct init_fct; __gconv_end_fct end_fct; }; struct gconv_module { const char *from_string; const char *to_string; int cost_hi; int cost_lo; const char *module_name; struct gconv_module *left; struct gconv_module *same; struct gconv_module *right; }; struct trans_struct { const char *name; struct trans_struct *next; const char **csnames; size_t ncsnames; __gconv_trans_fct trans_fct; __gconv_trans_context_fct trans_context_fct; __gconv_trans_init_fct trans_init_fct; __gconv_trans_end_fct trans_end_fct; }; enum { GCONV_AVOID_NOCONV = 1 << 0 }; extern void *__gconv_alias_db ; extern size_t __gconv_nmodules; extern struct gconv_module *__gconv_modules_db ; extern const char *__gconv_path_envvar ; extern __libc_lock_t __gconv_lock;; # 166 "gconv_int.h" extern int __gconv_open (const char *toset, const char *fromset, __gconv_t *handle, int flags) __attribute__ ((regparm (3), stdcall)); extern int __gconv_close (__gconv_t cd) __attribute__ ((regparm (3), stdcall)); extern int __gconv (__gconv_t cd, const unsigned char **inbuf, const unsigned char *inbufend, unsigned char **outbuf, unsigned char *outbufend, size_t *irreversible) __attribute__ ((regparm (3), stdcall)); extern int __gconv_find_transform (const char *toset, const char *fromset, struct __gconv_step **handle, size_t *nsteps, int flags) __attribute__ ((regparm (3), stdcall)); extern int __gconv_lookup_cache (const char *toset, const char *fromset, struct __gconv_step **handle, size_t *nsteps, int flags) __attribute__ ((regparm (3), stdcall)); extern int __gconv_compare_alias_cache (const char *name1, const char *name2, int *result) __attribute__ ((regparm (3), stdcall)); extern void __gconv_release_step (struct __gconv_step *step) __attribute__ ((regparm (3), stdcall)); extern void __gconv_read_conf (void) ; extern int __gconv_load_cache (void) __attribute__ ((regparm (3), stdcall)); extern void *__gconv_get_cache (void); extern struct gconv_module *__gconv_get_modules_db (void); extern void *__gconv_get_alias_db (void); extern void __gconv_get_path (void) __attribute__ ((regparm (3), stdcall)); extern int __gconv_alias_compare (const void *p1, const void *p2) ; extern int __gconv_close_transform (struct __gconv_step *steps, size_t nsteps) __attribute__ ((regparm (3), stdcall)); extern void __gconv_release_cache (struct __gconv_step *steps, size_t nsteps) __attribute__ ((regparm (3), stdcall)); extern struct __gconv_loaded_object *__gconv_find_shlib (const char *name) __attribute__ ((regparm (3), stdcall)); extern void __gconv_release_shlib (struct __gconv_loaded_object *handle) __attribute__ ((regparm (3), stdcall)); extern void __gconv_get_builtin_trans (const char *name, struct __gconv_step *step) __attribute__ ((regparm (3), stdcall)); extern int __gconv_translit_find (struct trans_struct *trans) __attribute__ ((regparm (3), stdcall)); extern int __gconv_transliterate (struct __gconv_step *step, struct __gconv_step_data *step_data, void *trans_data, __const unsigned char *inbufstart, __const unsigned char **inbufp, __const unsigned char *inbufend, unsigned char **outbufstart, size_t *irreversible) ; extern int __gconv_compare_alias (const char *name1, const char *name2) __attribute__ ((regparm (3), stdcall)); # 284 "gconv_int.h" extern int __gconv_transform_ascii_internal (struct __gconv_step *step, struct __gconv_step_data *data, const unsigned char **inbuf, const unsigned char *inbufend, unsigned char **outbufstart, size_t *irreversible, int do_flush, int consume_incomplete); extern int __gconv_transform_internal_ascii (struct __gconv_step *step, struct __gconv_step_data *data, const unsigned char **inbuf, const unsigned char *inbufend, unsigned char **outbufstart, size_t *irreversible, int do_flush, int consume_incomplete); extern int __gconv_transform_utf8_internal (struct __gconv_step *step, struct __gconv_step_data *data, const unsigned char **inbuf, const unsigned char *inbufend, unsigned char **outbufstart, size_t *irreversible, int do_flush, int consume_incomplete); extern int __gconv_transform_internal_utf8 (struct __gconv_step *step, struct __gconv_step_data *data, const unsigned char **inbuf, const unsigned char *inbufend, unsigned char **outbufstart, size_t *irreversible, int do_flush, int consume_incomplete); extern int __gconv_transform_ucs2_internal (struct __gconv_step *step, struct __gconv_step_data *data, const unsigned char **inbuf, const unsigned char *inbufend, unsigned char **outbufstart, size_t *irreversible, int do_flush, int consume_incomplete); extern int __gconv_transform_internal_ucs2 (struct __gconv_step *step, struct __gconv_step_data *data, const unsigned char **inbuf, const unsigned char *inbufend, unsigned char **outbufstart, size_t *irreversible, int do_flush, int consume_incomplete); extern int __gconv_transform_ucs2reverse_internal (struct __gconv_step *step, struct __gconv_step_data *data, const unsigned char **inbuf, const unsigned char *inbufend, unsigned char **outbufstart, size_t *irreversible, int do_flush, int consume_incomplete); extern int __gconv_transform_internal_ucs2reverse (struct __gconv_step *step, struct __gconv_step_data *data, const unsigned char **inbuf, const unsigned char *inbufend, unsigned char **outbufstart, size_t *irreversible, int do_flush, int consume_incomplete); extern int __gconv_transform_internal_ucs4 (struct __gconv_step *step, struct __gconv_step_data *data, const unsigned char **inbuf, const unsigned char *inbufend, unsigned char **outbufstart, size_t *irreversible, int do_flush, int consume_incomplete); extern int __gconv_transform_ucs4_internal (struct __gconv_step *step, struct __gconv_step_data *data, const unsigned char **inbuf, const unsigned char *inbufend, unsigned char **outbufstart, size_t *irreversible, int do_flush, int consume_incomplete); extern int __gconv_transform_internal_ucs4le (struct __gconv_step *step, struct __gconv_step_data *data, const unsigned char **inbuf, const unsigned char *inbufend, unsigned char **outbufstart, size_t *irreversible, int do_flush, int consume_incomplete); extern int __gconv_transform_ucs4le_internal (struct __gconv_step *step, struct __gconv_step_data *data, const unsigned char **inbuf, const unsigned char *inbufend, unsigned char **outbufstart, size_t *irreversible, int do_flush, int consume_incomplete); extern int __gconv_transform_internal_utf16 (struct __gconv_step *step, struct __gconv_step_data *data, const unsigned char **inbuf, const unsigned char *inbufend, unsigned char **outbufstart, size_t *irreversible, int do_flush, int consume_incomplete); extern int __gconv_transform_utf16_internal (struct __gconv_step *step, struct __gconv_step_data *data, const unsigned char **inbuf, const unsigned char *inbufend, unsigned char **outbufstart, size_t *irreversible, int do_flush, int consume_incomplete); extern wint_t __gconv_btwoc_ascii (struct __gconv_step *step, unsigned char c); # 25 "iconv_close.c" 2 int iconv_close (iconv_t cd) { if (__builtin_expect (cd == (iconv_t *) -1L, 0)) { ((*__errno_location ()) = (9)); return -1; } return __gconv_close ((__gconv_t) cd) ? -1 : 0; }