; /* Number of free blocks. */ __ino_t f_tinode; /* Number of free inodes. */ char f_fname[6]; char f_fpack[6]; }; /* WARNING!!! AUTO-GENERATED FILE!!! DO NOT EDIT!!! */ #ifndef _BITS_SYSNUM_H #define _BITS_SYSNUM_H #ifndef _SYSCALL_H # error "Never use directly; include instead." #endif #undef __NR_restart_syscall #define __NR_restart_syscall 0 #define SYS_restart_syscall __NR_restart_syscall #undef __NR_exit #define __NR_exit 1 #define SYS_exit __NR_exit #undef __NR_fork #define __NR_fork 2 #define SYS_fork __NR_fork #undef __NR_read #define __NR_read 3 #define SYS_read __NR_read #undef __NR_write #define __NR_write 4 #define SYS_write __NR_write #undef __NR_open #define __NR_open 5 #define SYS_open __NR_open #undef __NR_close #define __NR_close 6 #define SYS_close __NR_close #undef __NR_waitpid #define __NR_waitpid 7 #define SYS_waitpid __NR_waitpid #undef __NR_creat #define __NR_creat 8 #define SYS_creat __NR_creat #undef __NR_link #define __NR_link 9 #define SYS_link __NR_link #undef __NR_unlink #define __NR_unlink 10 #define SYS_unlink __NR_unlink #undef __NR_execve #define __NR_execve 11 #define SYS_execve __NR_execve #undef __NR_chdir #define __NR_chdir 12 #define SYS_chdir __NR_chdir #undef __NR_time #define __NR_time 13 #define SYS_time __NR_time #undef __NR_mknod #define __NR_mknod 14 #define SYS_mknod __NR_mknod #undef __NR_chmod #define __NR_chmod 15 #define SYS_chmod __NR_chmod #undef __NR_lchown #define __NR_lchown 16 #define SYS_lchown __NR_lchown #undef __NR_break #define __NR_break 17 #define SYS_break __NR_break #undef __NR_oldstat #define __NR_oldstat 18 #define SYS_oldstat __NR_oldstat #undef __NR_lseek #define __NR_lseek 19 #define SYS_lseek __NR_lseek #undef __NR_getpid #define __NR_getpid 20 #define SYS_getpid __NR_getpid #undef __NR_mount #define __NR_mount 21 #define SYS_mount __NR_mount #undef __NR_umount #define __NR_umount 22 #define SYS_umount __NR_umount #undef __NR_setuid #define __NR_setuid 23 #define SYS_setuid __NR_setuid #undef __NR_getuid #define __NR_getuid 24 #define SYS_getuid __NR_getuid #undef __NR_stime #define __NR_stime 25 #define SYS_stime __NR_stime #undef __NR_ptrace #define __NR_ptrace 26 #define SYS_ptrace __NR_ptrace #undef __NR_alarm #define __NR_alarm 27 #define SYS_alarm __NR_alarm #undef __NR_oldfstat #define __NR_oldfstat 28 #define SYS_oldfstat __NR_oldfstat #undef __NR_pause #define __NR_pause 29 #define SYS_pause __NR_pause #undef __NR_utime #define __NR_utime 30 #define SYS_utime __NR_utime #undef __NR_stty #define __NR_stty 31 #define SYS_stty __NR_stty #undef __NR_gtty #define __NR_gtty 32 #define SYS_gtty __NR_gtty #undef __NR_access #define __NR_access 33 #define SYS_access __NR_access #undef __NR_nice #define __NR_nice 34 #define SYS_nice __NR_nice #undef __NR_ftime #define __NR_ftime 35 #define SYS_ftime __NR_ftime #undef __NR_sync #define __NR_sync 36 #define SYS_sync __NR_sync #undef __NR_kill #define __NR_kill 37 #define SYS_kill __NR_kill #undef __NR_rename #define __NR_rename 38 #define SYS_rename __NR_rename #undef __NR_mkdir #define __NR_mkdir 39 #define SYS_mkdir __NR_mkdir #undef __NR_rmdir #define __NR_rmdir 40 #define SYS_rmdir __NR_rmdir #undef __NR_dup #define __NR_dup 41 #define SYS_dup __NR_dup #undef __NR_pipe #define __NR_pipe 42 #define SYS_pipe __NR_pipe #undef __NR_times #define __NR_times 43 #define SYS_times __NR_times #undef __NR_prof #define __NR_prof 44 #define SYS_prof __NR_prof #undef __NR_brk #define __NR_brk 45 #define SYS_brk __NR_brk #undef __NR_setgid #define __NR_setgid 46 #define SYS_setgid __NR_setgid #undef __NR_getgid #define __NR_getgid 47 #define SYS_getgid __NR_getgid #undef __NR_signal #define __NR_signal 48 #define SYS_signal __NR_signal #undef __NR_geteuid #define __NR_geteuid 49 #define SYS_geteuid __NR_geteuid #undef __NR_getegid #define __NR_getegid 50 #define SYS_getegid __NR_getegid #undef __NR_acct #define __NR_acct 51 #define SYS_acct __NR_acct #undef __NR_umount2 #define __NR_umount2 52 #define SYS_umount2 __NR_umount2 #undef __NR_lock #define __NR_lock 53 #define SYS_lock __NR_lock #undef __NR_ioctl #define __NR_ioctl 54 #define SYS_ioctl __NR_ioctl #undef __NR_fcntl #define __NR_fcntl 55 #define SYS_fcntl __NR_fcntl #undef __NR_mpx #define __NR_mpx 56 #define SYS_mpx __NR_mpx #undef __NR_setpgid #define __NR_setpgid 57 #define SYS_setpgid __NR_setpgid #undef __NR_ulimit #define __NR_ulimit 58 #define SYS_ulimit __NR_ulimit #undef __NR_oldolduname #define __NR_oldolduname 59 #define SYS_oldolduname __NR_oldolduname #undef __NR_umask #define __NR_umask 60 #define SYS_umask __NR_umask #undef __NR_chroot #define __NR_chroot 61 #define SYS_chroot __NR_chroot #undef __NR_ustat #define __NR_ustat 62 #define SYS_ustat __NR_ustat #undef __NR_dup2 #define __NR_dup2 63 #define SYS_dup2 __NR_dup2 #undef __NR_getppid #define __NR_getppid 64 #define SYS_getppid __NR_getppid #undef __NR_getpgrp #define __NR_getpgrp 65 #define SYS_getpgrp __NR_getpgrp #undef __NR_setsid #define __NR_setsid 66 #define SYS_setsid __NR_setsid #undef __NR_sigaction #define __NR_sigaction 67 #define SYS_sigaction __NR_sigaction #undef __NR_sgetmask #define __NR_sgetmask 68 #define SYS_sgetmask __NR_sgetmask #undef __NR_ssetmask #define __NR_ssetmask 69 #define SYS_ssetmask __NR_ssetmask #undef __NR_setreuid #define __NR_setreuid 70 #define SYS_setreuid __NR_setreuid #undef __NR_setregid #define __NR_setregid 71 #define SYS_setregid __NR_setregid #undef __NR_sigsuspend #define __NR_sigsuspend 72 #define SYS_sigsuspend __NR_sigsuspend #undef __NR_sigpending #define __NR_sigpending 73 #define SYS_sigpending __NR_sigpending #undef __NR_sethostname #define __NR_sethostname 74 #define SYS_sethostname __NR_sethostname #undef __NR_setrlimit #define __NR_setrlimit 75 #define SYS_setrlimit __NR_setrlimit #undef __NR_getrlimit #define __NR_getrlimit 76 #define SYS_getrlimit __NR_getrlimit #undef __NR_getrusage #define __NR_getrusage 77 #define SYS_getrusage __NR_getrusage #undef __NR_gettimeofday #define __NR_gettimeofday 78 #define SYS_gettimeofday __NR_gettimeofday #undef __NR_settimeofday #define __NR_settimeofday 79 #define SYS_settimeofday __NR_settimeofday #undef __NR_getgroups #define __NR_getgroups 80 #define SYS_getgroups __NR_getgroups #undef __NR_setgroups #define __NR_setgroups 81 #define SYS_setgroups __NR_setgroups #undef __NR_select #define __NR_select 82 #define SYS_select __NR_select #undef __NR_symlink #define __NR_symlink 83 #define SYS_symlink __NR_symlink #undef __NR_oldlstat #define __NR_oldlstat 84 #define SYS_oldlstat __NR_oldlstat #undef __NR_readlink #define __NR_readlink 85 #define SYS_readlink __NR_readlink #undef __NR_uselib #define __NR_uselib 86 #define SYS_uselib __NR_uselib #undef __NR_swapon #define __NR_swapon 87 #define SYS_swapon __NR_swapon #undef __NR_reboot #define __NR_reboot 88 #define SYS_reboot __NR_reboot #undef __NR_readdir #define __NR_readdir 89 #define SYS_readdir __NR_readdir #undef __NR_mmap #define __NR_mmap 90 #define SYS_mmap __NR_mmap #undef __NR_munmap #define __NR_munmap 91 #define SYS_munmap __NR_munmap #undef __NR_truncate #define __NR_truncate 92 #define SYS_truncate __NR_truncate #undef __NR_ftruncate #define __NR_ftruncate 93 #define SYS_ftruncate __NR_ftruncate #undef __NR_fchmod #define __NR_fchmod 94 #define SYS_fchmod __NR_fchmod #undef __NR_fchown #define __NR_fchown 95 #define SYS_fchown __NR_fchown #undef __NR_getpriority #define __NR_getpriority 96 #define SYS_getpriority __NR_getpriority #undef __NR_setpriority #define __NR_setpriority 97 #define SYS_setpriority __NR_setpriority #undef __NR_profil #define __NR_profil 98 #define SYS_profil __NR_profil #undef __NR_statfs #define __NR_statfs 99 #define SYS_statfs __NR_statfs #undef __NR_fstatfs #define __NR_fstatfs 100 #define SYS_fstatfs __NR_fstatfs #undef __NR_ioperm #define __NR_ioperm 101 #define SYS_ioperm __NR_ioperm #undef __NR_socketcall #define __NR_socketcall 102 #define SYS_socketcall __NR_socketcall #undef __NR_syslog #define __NR_syslog 103 #define SYS_syslog __NR_syslog #undef __NR_setitimer #define __NR_setitimer 104 #define SYS_setitimer __NR_setitimer #undef __NR_getitimer #define __NR_getitimer 105 #define SYS_getitimer __NR_getitimer #undef __NR_stat #define __NR_stat 106 #define SYS_stat __NR_stat #undef __NR_lstat #define __NR_lstat 107 #define SYS_lstat __NR_lstat #undef __NR_fstat #define __NR_fstat 108 #define SYS_fstat __NR_fstat #undef __NR_olduname #define __NR_olduname 109 #define SYS_olduname __NR_olduname #undef __NR_iopl #define __NR_iopl 110 #define SYS_iopl __NR_iopl #undef __NR_vhangup #define __NR_vhangup 111 #define SYS_vhangup __NR_vhangup #undef __NR_idle #define __NR_idle 112 #define SYS_idle __NR_idle #undef __NR_vm86old #define __NR_vm86old 113 #define SYS_vm86old __NR_vm86old #undef __NR_wait4 #define __NR_wait4 114 #define SYS_wait4 __NR_wait4 #undef __NR_swapoff #define __NR_swapoff 115 #define SYS_swapoff __NR_swapoff #undef __NR_sysinfo #define __NR_sysinfo 116 #define SYS_sysinfo __NR_sysinfo #undef __NR_ipc #define __NR_ipc 117 #define SYS_ipc __NR_ipc #undef __NR_fsync #define __NR_fsync 118 #define SYS_fsync __NR_fsync #undef __NR_sigreturn #define __NR_sigreturn 119 #define SYS_sigreturn __NR_sigreturn #undef __NR_clone #define __NR_clone 120 #define SYS_clone __NR_clone #undef __NR_setdomainname #define __NR_setdomainname 121 #define SYS_setdomainname __NR_setdomainname #undef __NR_uname #define __NR_uname 122 #define SYS_uname __NR_uname #undef __NR_modify_ldt #define __NR_modify_ldt 123 #define SYS_modify_ldt __NR_modify_ldt #undef __NR_adjtimex #define __NR_adjtimex 124 #define SYS_adjtimex __NR_adjtimex #undef __NR_mprotect #define __NR_mprotect 125 #define SYS_mprotect __NR_mprotect #undef __NR_sigprocmask #define __NR_sigprocmask 126 #define SYS_sigprocmask __NR_sigprocmask #undef __NR_create_module #define __NR_create_module 127 #define SYS_create_module __NR_create_module #undef __NR_init_module #define __NR_init_module 128 #define SYS_init_module __NR_init_module #undef __NR_delete_module #define __NR_delete_module 129 #define SYS_delete_module __NR_delete_module #undef __NR_get_kernel_syms #define __NR_get_kernel_syms 130 #define SYS_get_kernel_syms __NR_get_kernel_syms #undef __NR_quotactl #define __NR_quotactl 131 #define SYS_quotactl __NR_quotactl #undef __NR_getpgid #define __NR_getpgid 132 #define SYS_getpgid __NR_getpgid #undef __NR_fchdir #define __NR_fchdir 133 #define SYS_fchdir __NR_fchdir #undef __NR_bdflush #define __NR_bdflush 134 #define SYS_bdflush __NR_bdflush #undef __NR_sysfs #define __NR_sysfs 135 #define SYS_sysfs __NR_sysfs #undef __NR_personality #define __NR_personality 136 #define SYS_personality __NR_personality #undef __NR_afs_syscall #define __NR_afs_syscall 137 #define SYS_afs_syscall __NR_afs_syscall #undef __NR_setfsuid #define __NR_setfsuid 138 #define SYS_setfsuid __NR_setfsuid #undef __NR_setfsgid #define __NR_setfsgid 139 #define SYS_setfsgid __NR_setfsgid #undef __NR__llseek #define __NR__llseek 140 #define SYS__llseek __NR__llseek #undef __NR_getdents #define __NR_getdents 141 #define SYS_getdents __NR_getdents #undef __NR__newselect #define __NR__newselect 142 #define SYS__newselect __NR__newselect #undef __NR_flock #define __NR_flock 143 #define SYS_flock __NR_flock #undef __NR_msync #define __NR_msync 144 #define SYS_msync __NR_msync #undef __NR_readv #define __NR_readv 145 #define SYS_readv __NR_readv #undef __NR_writev #define __NR_writev 146 #define SYS_writev __NR_writev #undef __NR_getsid #define __NR_getsid 147 #define SYS_getsid __NR_getsid #undef __NR_fdatasync #define __NR_fdatasync 148 #define SYS_fdatasync __NR_fdatasync #undef __NR__sysctl #define __NR__sysctl 149 #define SYS__sysctl __NR__sysctl #undef __NR_mlock #define __NR_mlock 150 #define SYS_mlock __NR_mlock #undef __NR_munlock #define __NR_munlock 151 #define SYS_munlock __NR_munlock #undef __NR_mlockall #define __NR_mlockall 152 #define SYS_mlockall __NR_mlockall #undef __NR_munlockall #define __NR_munlockall 153 #define SYS_munlockall __NR_munlockall #undef __NR_sched_setparam #define __NR_sched_setparam 154 #define SYS_sched_setparam __NR_sched_setparam #undef __NR_sched_getparam #define __NR_sched_getparam 155 #define SYS_sched_getparam __NR_sched_getparam #undef __NR_sched_setscheduler #define __NR_sched_setscheduler 156 #define SYS_sched_setscheduler __NR_sched_setschedŽ‘’“”•–—˜™š›œuler #undef __NR_sched_getscheduler #define __NR_sched_getscheduler 157 #define SYS_sched_getscheduler __NR_sched_getscheduler #undef __NR_sched_yield #define __NR_sched_yield 158 #define SYS_sched_yield __NR_sched_yield #undef __NR_sched_get_priority_max #define __NR_sched_get_priority_max 159 #define SYS_sched_get_priority_max __NR_sched_get_priority_max #undef __NR_sched_get_priority_min #define __NR_sched_get_priority_min 160 #define SYS_sched_get_priority_min __NR_sched_get_priority_min #undef __NR_sched_rr_get_interval #define __NR_sched_rr_get_interval 161 #define SYS_sched_rr_get_interval __NR_sched_rr_get_interval #undef __NR_nanosleep #define __NR_nanosleep 162 #define SYS_nanosleep __NR_nanosleep #undef __NR_mremap #define __NR_mremap 163 #define SYS_mremap __NR_mremap #undef __NR_setresuid #define __NR_setresuid 164 #define SYS_setresuid __NR_setresuid #undef __NR_getresuid #define __NR_getresuid 165 #define SYS_getresuid __NR_getresuid #undef __NR_vm86 #define __NR_vm86 166 #define SYS_vm86 __NR_vm86 #undef __NR_query_module #define __NR_query_module 167 #define SYS_query_module __NR_query_module #undef __NR_poll #define __NR_poll 168 #define SYS_poll __NR_poll #undef __NR_nfsservctl #define __NR_nfsservctl 169 #define SYS_nfsservctl __NR_nfsservctl #undef __NR_setresgid #define __NR_setresgid 170 #define SYS_setresgid __NR_setresgid #undef __NR_getresgid #define __NR_getresgid 171 #define SYS_getresgid __NR_getresgid #undef __NR_prctl #define __NR_prctl 172 #define SYS_prctl __NR_prctl #undef __NR_rt_sigreturn #define __NR_rt_sigreturn 173 #define SYS_rt_sigreturn __NR_rt_sigreturn #undef __NR_rt_sigaction #define __NR_rt_sigaction 174 #define SYS_rt_sigaction __NR_rt_sigaction #undef __NR_rt_sigprocmask #define __NR_rt_sigprocmask 175 #define SYS_rt_sigprocmask __NR_rt_sigprocmask #undef __NR_rt_sigpending #define __NR_rt_sigpending 176 #define SYS_rt_sigpending __NR_rt_sigpending #undef __NR_rt_sigtimedwait #define __NR_rt_sigtimedwait 177 #define SYS_rt_sigtimedwait __NR_rt_sigtimedwait #undef __NR_rt_sigqueueinfo #define __NR_rt_sigqueueinfo 178 #define SYS_rt_sigqueueinfo __NR_rt_sigqueueinfo #undef __NR_rt_sigsuspend #define __NR_rt_sigsuspend 179 #define SYS_rt_sigsuspend __NR_rt_sigsuspend #undef __NR_pread64 #define __NR_pread64 180 #define SYS_pread64 __NR_pread64 #undef __NR_pwrite64 #define __NR_pwrite64 181 #define SYS_pwrite64 __NR_pwrite64 #undef __NR_chown #define __NR_chown 182 #define SYS_chown __NR_chown #undef __NR_getcwd #define __NR_getcwd 183 #define SYS_getcwd __NR_getcwd #undef __NR_capget #define __NR_capget 184 #define SYS_capget __NR_capget #undef __NR_capset #define __NR_capset 185 #define SYS_capset __NR_capset #undef __NR_sigaltstack #define __NR_sigaltstack 186 #define SYS_sigaltstack __NR_sigaltstack #undef __NR_sendfile #define __NR_sendfile 187 #define SYS_sendfile __NR_sendfile #undef __NR_getpmsg #define __NR_getpmsg 188 #define SYS_getpmsg __NR_getpmsg #undef __NR_putpmsg #define __NR_putpmsg 189 #define SYS_putpmsg __NR_putpmsg #undef __NR_vfork #define __NR_vfork 190 #define SYS_vfork __NR_vfork #undef __NR_ugetrlimit #define __NR_ugetrlimit 191 #define SYS_ugetrlimit __NR_ugetrlimit #undef __NR_mmap2 #define __NR_mmap2 192 #define SYS_mmap2 __NR_mmap2 #undef __NR_truncate64 #define __NR_truncate64 193 #define SYS_truncate64 __NR_truncate64 #undef __NR_ftruncate64 #define __NR_ftruncate64 194 #define SYS_ftruncate64 __NR_ftruncate64 #undef __NR_stat64 #define __NR_stat64 195 #define SYS_stat64 __NR_stat64 #undef __NR_lstat64 #define __NR_lstat64 196 #define SYS_lstat64 __NR_lstat64 #undef __NR_fstat64 #define __NR_fstat64 197 #define SYS_fstat64 __NR_fstat64 #undef __NR_lchown32 #define __NR_lchown32 198 #define SYS_lchown32 __NR_lchown32 #undef __NR_getuid32 #define __NR_getuid32 199 #define SYS_getuid32 __NR_getuid32 #undef __NR_getgid32 #define __NR_getgid32 200 #define SYS_getgid32 __NR_getgid32 #undef __NR_geteuid32 #define __NR_geteuid32 201 #define SYS_geteuid32 __NR_geteuid32 #undef __NR_getegid32 #define __NR_getegid32 202 #define SYS_getegid32 __NR_getegid32 #undef __NR_setreuid32 #define __NR_setreuid32 203 #define SYS_setreuid32 __NR_setreuid32 #undef __NR_setregid32 #define __NR_setregid32 204 #define SYS_setregid32 __NR_setregid32 #undef __NR_getgroups32 #define __NR_getgroups32 205 #define SYS_getgroups32 __NR_getgroups32 #undef __NR_setgroups32 #define __NR_setgroups32 206 #define SYS_setgroups32 __NR_setgroups32 #undef __NR_fchown32 #define __NR_fchown32 207 #define SYS_fchown32 __NR_fchown32 #undef __NR_setresuid32 #define __NR_setresuid32 208 #define SYS_setresuid32 __NR_setresuid32 #undef __NR_getresuid32 #define __NR_getresuid32 209 #define SYS_getresuid32 __NR_getresuid32 #undef __NR_setresgid32 #define __NR_setresgid32 210 #define SYS_setresgid32 __NR_setresgid32 #undef __NR_getresgid32 #define __NR_getresgid32 211 #define SYS_getresgid32 __NR_getresgid32 #undef __NR_chown32 #define __NR_chown32 212 #define SYS_chown32 __NR_chown32 #undef __NR_setuid32 #define __NR_setuid32 213 #define SYS_setuid32 __NR_setuid32 #undef __NR_setgid32 #define __NR_setgid32 214 #define SYS_setgid32 __NR_setgid32 #undef __NR_setfsuid32 #define __NR_setfsuid32 215 #define SYS_setfsuid32 __NR_setfsuid32 #undef __NR_setfsgid32 #define __NR_setfsgid32 216 #define SYS_setfsgid32 __NR_setfsgid32 #undef __NR_pivot_root #define __NR_pivot_root 217 #define SYS_pivot_root __NR_pivot_root #undef __NR_mincore #define __NR_mincore 218 #define SYS_mincore __NR_mincore #undef __NR_madvise #define __NR_madvise 219 #define SYS_madvise __NR_madvise #undef __NR_madvise1 #define __NR_madvise1 219 #define SYS_madvise1 __NR_madvise1 #undef __NR_getdents64 #define __NR_getdents64 220 #define SYS_getdents64 __NR_getdents64 #undef __NR_fcntl64 #define __NR_fcntl64 221 #define SYS_fcntl64 __NR_fcntl64 #undef __NR_gettid #define __NR_gettid 224 #define SYS_gettid __NR_gettid #undef __NR_readahead #define __NR_readahead 225 #define SYS_readahead __NR_readahead #undef __NR_setxattr #define __NR_setxattr 226 #define SYS_setxattr __NR_setxattr #undef __NR_lsetxattr #define __NR_lsetxattr 227 #define SYS_lsetxattr __NR_lsetxattr #undef __NR_fsetxattr #define __NR_fsetxattr 228 #define SYS_fsetxattr __NR_fsetxattr #undef __NR_getxattr #define __NR_getxattr 229 #define SYS_getxattr __NR_getxattr #undef __NR_lgetxattr #define __NR_lgetxattr 230 #define SYS_lgetxattr __NR_lgetxattr #undef __NR_fgetxattr #define __NR_fgetxattr 231 #define SYS_fgetxattr __NR_fgetxattr #undef __NR_listxattr #define __NR_listxattr 232 #define SYS_listxattr __NR_listxattr #undef __NR_llistxattr #define __NR_llistxattr 233 #define SYS_llistxattr __NR_llistxattr #undef __NR_flistxattr #define __NR_flistxattr 234 #define SYS_flistxattr __NR_flistxattr #undef __NR_removexattr #define __NR_removexattr 235 #define SYS_removexattr __NR_removexattr #undef __NR_lremovexattr #define __NR_lremovexattr 236 #define SYS_lremovexattr __NR_lremovexattr #undef __NR_fremovexattr #define __NR_fremovexattr 237 #define SYS_fremovexattr __NR_fremovexattr #undef __NR_tkill #define __NR_tkill 238 #define SYS_tkill __NR_tkill #undef __NR_sendfile64 #define __NR_sendfile64 239 #define SYS_sendfile64 __NR_sendfile64 #undef __NR_futex #define __NR_futex 240 #define SYS_futex __NR_futex #undef __NR_sched_setaffinity #define __NR_sched_setaffinity 241 #define SYS_sched_setaffinity __NR_sched_setaffinity #undef __NR_sched_getaffinity #define __NR_sched_getaffinity 242 #define SYS_sched_getaffinity __NR_sched_getaffinity #undef __NR_set_thread_area #define __NR_set_thread_area 243 #define SYS_set_thread_area __NR_set_thread_area #undef __NR_get_thread_area #define __NR_get_thread_area 244 #define SYS_get_thread_area __NR_get_thread_area #undef __NR_io_setup #define __NR_io_setup 245 #define SYS_io_setup __NR_io_setup #undef __NR_io_destroy #define __NR_io_destroy 246 #define SYS_io_destroy __NR_io_destroy #undef __NR_io_getevents #define __NR_io_getevents 247 #define SYS_io_getevents __NR_io_getevents #undef __NR_io_submit #define __NR_io_submit 248 #define SYS_io_submit __NR_io_submit #undef __NR_io_cancel #define __NR_io_cancel 249 #define SYS_io_cancel __NR_io_cancel #undef __NR_fadvise64 #define __NR_fadvise64 250 #define SYS_fadvise64 __NR_fadvise64 #undef __NR_exit_group #define __NR_exit_group 252 #define SYS_exit_group __NR_exit_group #undef __NR_lookup_dcookie #define __NR_lookup_dcookie 253 #define SYS_lookup_dcookie __NR_lookup_dcookie #undef __NR_epoll_create #define __NR_epoll_create 254 #define SYS_epoll_create __NR_epoll_create #undef __NR_epoll_ctl #define __NR_epoll_ctl 255 #define SYS_epoll_ctl __NR_epoll_ctl #undef __NR_epoll_wait #define __NR_epoll_wait 256 #define SYS_epoll_wait __NR_epoll_wait #undef __NR_remap_file_pages #define __NR_remap_file_pages 257 #define SYS_remap_file_pages __NR_remap_file_pages #undef __NR_set_tid_address #define __NR_set_tid_address 258 #define SYS_set_tid_address __NR_set_tid_address #undef __NR_timer_create #define __NR_timer_create 259 #define SYS_timer_create __NR_timer_create #undef __NR_timer_settime #define __NR_timer_settime (259 +1) #define SYS_timer_settime __NR_timer_settime #undef __NR_timer_gettime #define __NR_timer_gettime (259 +2) #define SYS_timer_gettime __NR_timer_gettime #undef __NR_timer_getoverrun #define __NR_timer_getoverrun (259 +3) #define SYS_timer_getoverrun __NR_timer_getoverrun #undef __NR_timer_delete #define __NR_timer_delete (259 +4) #define SYS_timer_delete __NR_timer_delete #undef __NR_clock_settime #define __NR_clock_settime (259 +5) #define SYS_clock_settime __NR_clock_settime #undef __NR_clock_gettime #define __NR_clock_gettime (259 +6) #define SYS_clock_gettime __NR_clock_gettime #undef __NR_clock_getres #define __NR_clock_getres (259 +7) #define SYS_clock_getres __NR_clock_getres #undef __NR_clock_nanosleep #define __NR_clock_nanosleep (259 +8) #define SYS_clock_nanosleep __NR_clock_nanosleep #undef __NR_statfs64 #define __NR_statfs64 268 #define SYS_statfs64 __NR_statfs64 #undef __NR_fstatfs64 #define __NR_fstatfs64 269 #define SYS_fstatfs64 __NR_fstatfs64 #undef __NR_tgkill #define __NR_tgkill 270 #define SYS_tgkill __NR_tgkill #undef __NR_utimes #define __NR_utimes 271 #define SYS_utimes __NR_utimes #undef __NR_fadvise64_64 #define __NR_fadvise64_64 272 #define SYS_fadvise64_64 __NR_fadvise64_64 #undef __NR_vserver #define __NR_vserver 273 #define SYS_vserver __NR_vserver #undef __NR_mbind #define __NR_mbind 274 #define SYS_mbind __NR_mbind #undef __NR_get_mempolicy #define __NR_get_mempolicy 275 #define SYS_get_mempolicy __NR_get_mempolicy #undef __NR_set_mempolicy #define __NR_set_mempolicy 276 #define SYS_set_mempolicy __NR_set_mempolicy #undef __NR_mq_open #define __NR_mq_open 277 #define SYS_mq_open __NR_mq_open #undef __NR_mq_unlink #define __NR_mq_unlink (277 +1) #define SYS_mq_unlink __NR_mq_unlink #undef __NR_mq_timedsend #define __NR_mq_timedsend (277 +2) #define SYS_mq_timedsend __NR_mq_timedsend #undef __NR_mq_timedreceive #define __NR_mq_timedreceive (277 +3) #define SYS_mq_timedreceive __NR_mq_timedreceive #undef __NR_mq_notify #define __NR_mq_notify (277 +4) #define SYS_mq_notify __NR_mq_notify #undef __NR_mq_getsetattr #define __NR_mq_getsetattr (277 +5) #define SYS_mq_getsetattr __NR_mq_getsetattr #undef __NR_kexec_load #define __NR_kexec_load 283 #define SYS_kexec_load __NR_kexec_load #undef __NR_waitid #define __NR_waitid 284 #define SYS_waitid __NR_waitid #undef __NR_add_key #define __NR_add_key 286 #define SYS_add_key __NR_add_key #undef __NR_request_key #define __NR_request_key 287 #define SYS_request_key __NR_request_key #undef __NR_keyctl #define __NR_keyctl 288 #define SYS_keyctl __NR_keyctl #undef __NR_ioprio_set #define __NR_ioprio_set 289 #define SYS_ioprio_set __NR_ioprio_set #undef __NR_ioprio_get #define __NR_ioprio_get 290 #define SYS_ioprio_get __NR_ioprio_get #undef __NR_inotify_init #define __NR_inotify_init 291 #define SYS_inotify_init __NR_inotify_init #undef __NR_inotify_add_watch #define __NR_inotify_add_watch 292 #define SYS_inotify_add_watch __NR_inotify_add_watch #undef __NR_inotify_rm_watch #define __NR_inotify_rm_watch 293 #define SYS_inotify_rm_watch __NR_inotify_rm_watch #undef __NR_migrate_pages #define __NR_migrate_pages 294 #define SYS_migrate_pages __NR_migrate_pages #undef __NR_openat #define __NR_openat 295 #define SYS_openat __NR_openat #undef __NR_mkdirat #define __NR_mkdirat 296 #define SYS_mkdirat __NR_mkdirat #undef __NR_mknodat #define __NR_mknodat 297 #define SYS_mknodat __NR_mknodat #undef __NR_fchownat #define __NR_fchownat 298 #define SYS_fchownat __NR_fchownat #undef __NR_futimesat #define __NR_futimesat 299 #define SYS_futimesat __NR_futimesat #undef __NR_fstatat64 #define __NR_fstatat64 300 #define SYS_fstatat64 __NR_fstatat64 #undef __NR_unlinkat #define __NR_unlinkat 301 #define SYS_unlinkat __NR_unlinkat #undef __NR_renameat #define __NR_renameat 302 #define SYS_renameat __NR_renameat #undef __NR_linkat #define __NR_linkat 303 #define SYS_linkat __NR_linkat #undef __NR_symlinkat #define __NR_symlinkat 304 #define SYS_symlinkat __NR_symlinkat #undef __NR_readlinkat #define __NR_readlinkat 305 #define SYS_readlinkat __NR_readlinkat #undef __NR_fchmodat #define __NR_fchmodat 306 #define SYS_fchmodat __NR_fchmodat #undef __NR_faccessat #define __NR_faccessat 307 #define SYS_faccessat __NR_faccessat #undef __NR_pselect6 #define __NR_pselect6 308 #define SYS_pselect6 __NR_pselect6 #undef __NR_ppoll #define __NR_ppoll 309 #define SYS_ppoll __NR_ppoll #undef __NR_unshare #define __NR_unshare 310 #define SYS_unshare __NR_unshare #undef __NR_set_robust_list #define __NR_set_robust_list 311 #define SYS_set_robust_list __NR_set_robust_list #undef __NR_get_robust_list #define __NR_get_robust_list 312 #define SYS_get_robust_list __NR_get_robust_list #undef __NR_splice #define __NR_splice 313 #define SYS_splice __NR_splice #undef __NR_sync_file_range #define __NR_sync_file_range 314 #define SYS_sync_file_range __NR_sync_file_range #undef __NR_tee #define __NR_tee 315 #define SYS_tee __NR_tee #undef __NR_vmsplice #define __NR_vmsplice 316 #define SYS_vmsplice __NR_vmsplice #undef __NR_move_pages #define __NR_move_pages 317 #define SYS_move_pages __NR_move_pages #undef __NR_getcpu #define __NR_getcpu 318 #define SYS_getcpu __NR_getcpu #undef __NR_epoll_pwait #define __NR_epoll_pwait 319 #define SYS_epoll_pwait __NR_epoll_pwait #undef __NR_utimensat #define __NR_utimensat 320 #define SYS_utimensat __NR_utimensat #undef __NR_signalfd #define __NR_signalfd 321 #define SYS_signalfd __NR_signalfd #undef __NR_timerfd_create #define __NR_timerfd_create 322 #define SYS_timerfd_create __NR_timerfd_create #undef __NR_eventfd #define __NR_eventfd 323 #define SYS_eventfd __NR_eventfd #undef __NR_fallocate #define __NR_fallocate 324 #define SYS_fallocate __NR_fallocate #undef __NR_timerfd_settime #define __NR_timerfd_settime 325 #define SYS_timerfd_settime __NR_timerfd_settime #undef __NR_timerfd_gettime #define __NR_timerfd_gettime 326 #define SYS_timerfd_gettime __NR_timerfd_gettime #undef __NR_signalfd4 #define __NR_signalfd4 327 #define SYS_signalfd4 __NR_signalfd4 #undef __NR_eventfd2 #define __NR_eventfd2 328 #define SYS_eventfd2 __NR_eventfd2 #undef __NR_epoll_create1 #define __NR_epoll_create1 329 #define SYS_epoll_create1 __NR_epoll_create1 #undef __NR_dup3 #define __NR_dup3 330 #define SYS_dup3 __NR_dup3 #undef __NR_pipe2 #define __NR_pipe2 331 #define SYS_pipe2 __NR_pipe2 #undef __NR_inotify_init1 #define __NR_inotify_init1 332 #define SYS_inotify_init1 __NR_inotify_init1 #undef __NR_preadv #define __NR_preadv 333 #define SYS_preadv __NR_preadv #undef __NR_pwritev #define __NR_pwritev 334 #define SYS_pwritev __NR_pwritev #undef __NR_rt_tgsigqueueinfo #define __NR_rt_tgsigqueueinfo 335 #define SYS_rt_tgsigqueueinfo __NR_rt_tgsigqueueinfo #undef __NR_perf_event_open #define __NR_perf_event_open 336 #define SYS_perf_event_open __NR_perf_event_open #undef __NR_recvmmsg #define __NR_recvmmsg 337 #define SYS_recvmmsg __NR_recvmmsg #undef __NR_fanotify_init #define __NR_fanotify_init 338 #define SYS_fanotify_init __NR_fanotify_init #undef __NR_fanotify_mark #define __NR_fanotify_mark 339 #define SYS_fanotify_mark __NR_fanotify_mark #undef __NR_prlimit64 #define __NR_prlimit64 340 #define SYS_prlimit64 __NR_prlimit64 #endif /* Define POSIX options for Linux. Copyright (C) 1996-2001, 2002, 2003, 2004 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. The GNU C Library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with the GNU C Library; see the file COPYING.LIB. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #ifndef _POSIX_OPT_H #define _POSIX_OPT_H 1 /* Job control is supported. */ #define _POSIX_JOB_CONTROL 1 /* Processes have a saved set-user-ID and a saved set-group-ID. */ #define _POSIX_SAVED_IDS 1 /* Priority scheduling is supported. */ #define _POSIX_PRIORITY_SCHEDULING 200112L /* Synchronizing file data is supported. */ #define _POSIX_SYNCHRONIZED_IO 200112L /* The fsync function is present. */ #define _POSIX_FSYNC 200112L /* Mapping of files to memory is supported. */ #define _POSIX_MAPPED_FILES 200112L /* Locking of all memory is supported. */ #define _POSIX_MEMLOCK 200112L /* Locking of ranges of memory is supported. */ #define _POSIX_MEMLOCK_RANGE 200112L /* Setting of memory protections is supported. */ #define _POSIX_MEMORY_PROTECTION 200112L /* Only root can change owner of file. */ #define _POSIX_CHOWN_RESTRICTED 1 /* `c_cc' member of 'struct termios' structure can be disabled by using the value _POSIX_VDISABLE. */ #define _POSIX_VDISABLE '\0' /* Filenames are not silently truncated. */ #define _POSIX_NO_TRUNC 1 /* X/Open realtime support is available. */ #define _XOPEN_REALTIME 1 /* XPG4.2 shared memory is supported. */ #define _XOPEN_SHM 1 /* Tell we have POSIX threads. */ #define _POSIX_THREADS 200112L /* We have the reentrant functions described in POSIX. */ #define _POSIX_REENTRANT_FUNCTIONS 1 #define _POSIX_THREAD_SAFE_FUNCTIONS 200112L /* We provide priority scheduling for threads. */ #define _POSIX_THREAD_PRIORITY_SCHEDULING 200112L /* We support user-defined stack sizes. */ #define _POSIX_THREAD_ATTR_STACKSIZE 200112L /* We support user-defined stacks. */ #define _POSIX_THREAD_ATTR_STACKADDR 200112L /* We support POSIX.1b semaphores. */ #define _POSIX_SEMAPHORES 200112L /* Real-time signals are supported. */ #define _POSIX_REALTIME_SIGNALS 200112L /* We support asynchronous I/O. */ #define _POSIX_ASYNCHRONOUS_IO 200112L #define _POSIX_ASYNC_IO 1 /* Alternative name for Unix98. */ #define _LFS_ASYNCHRONOUS_IO 1 /* Support for prioritization is also available. */ #define _POSIX_PRIORITIZED_IO 200112L /* The LFS support in asynchronous I/O is also available. */ #define _LFS64_ASYNCHRONOUS_IO 1 #ifdef __UCLIBC_HAS_LFS__ /* The rest of the LFS is also available. */ #define _LFS_LARGEFILE 1 #define _LFS64_LARGEFILE 1 #define _LFS64_STDIO 1 #endif /* POSIX shared memory objects are implemented. */ #define _POSIX_SHARED_MEMORY_OBJECTS 200112L /* CPU-time clocks support needs to be checked at runtime. */ #define _POSIX_CPUTIME 0 /* Clock support in threads must be also checked at runtime. */ #define _POSIX_THREAD_CPUTIME 0 /* GNU libc provides regular expression handling. */ #define _POSIX_REGEXP 1 /* Reader/Writer locks are available. */ #define _POSIX_READER_WRITER_LOCKS 200112L /* We have a POSIX shell. */ #define _POSIX_SHELL 1 /* We support the Timeouts option. */ #define _POSIX_TIMEOUTS 200112L /* We support spinlocks. */ #define _POSIX_SPIN_LOCKS 200112L /* The `spawn' function family is supported. */ #if 0 /* no support in uClibc (yet) */ #define _POSIX_SPAWN 200112L #endif /* We have POSIX timers. */ #define _POSIX_TIMERS 200112L /* The barrier functions are available. */ #define _POSIX_BARRIERS 200112L /* POSIX message queues are available. */ #define _POSIX_MESSAGE_PASSING 200112L /* Thread process-shared synchronization is supported. */ #define _POSIX_THREAD_PROCESS_SHARED 200112L /* The monotonic clock might be available. */ #define _POSIX_MONOTONIC_CLOCK 0 /* The clock selection interfaces are available. */ #define _POSIX_CLOCK_SELECTION 200112L /* Advisory information interfaces are available. */ #define _POSIX_ADVISORY_INFO 200112L /* IPv6 support is available. */ #define _POSIX_IPV6 200112L /* Raw socket support is available. */ #define _POSIX_RAW_SOCKETS 200112L /* We have at least one terminal. */ #define _POSIX2_CHAR_TERM 200112L /* Neither process nor thread sporadic server interfaces is available. */ #define _POSIX_SPORADIC_SERVER -1 #define _POSIX_THREAD_SPORADIC_SERVER -1 /* trace.h is not available. */ #define _POSIX_TRACE -1 #define _POSIX_TRACE_EVENT_FILTER -1 #define _POSIX_TRACE_INHERIT -1 #define _POSIX_TRACE_LOG -1 /* Typed memory objects are not available. */ #define _POSIX_TYPED_MEMORY_OBJECTS -1 /* No support for priority inheritance or protection so far. */ #define _POSIX_THREAD_PRIO_INHERIT -1 #define _POSIX_THREAD_PRIO_PROTECT -1 #endif /* posix_opt.h */ /* System dependent definitions for run-time dynamic loading. Copyright (C) 1996-2001, 2004 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. The GNU C Library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with the GNU C Library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #ifndef _DLFCN_H # error "Never use directly; include instead." #endif /* The MODE argument to `dlopen' contains one of the following: */ #define RTLD_LAZY 0x00001 /* Lazy function call binding. */ #define RTLD_NOW 0x00002 /* Immediate function call binding. */ #if 0 /* uClibc doesnt support these */ #define RTLD_BINDING_MASK 0x3 /* Mask of binding time value. */ #define RTLD_NOLOAD 0x00004 /* Do not load the object. */ #define RTLD_DEEPBIND 0x00008 /* Use deep binding. */ #endif /* If the following bit is set in the MODE argument to `dlopen', the symbols of the loaded object and its dependencies are made visible as if the object were linked directly into the program. */ #define RTLD_GLOBAL 0x00100 /* Unix98 demands the following flag which is the inverse to RTLD_GLOBAL. The implementation does this by default and so we can define the value to zero. */ #define RTLD_LOCAL 0 /* Do not delete object when closed. */ #define RTLD_NODELETE 0x01000 #if 0 /*def __USE_GNU*/ /* To support profiling of shared objects it is a good idea to call the function found using `dlsym' using the following macro since these calls do not use the PLT. But this would mean the dynamic loader has no chance to find out when the function is called. The macro applies the necessary magic so that profiling is possible. Rewrite foo = (*fctp) (arg1, arg2); into foo = DL_CALL_FCT (fctp, (arg1, arg2)); */ # define DL_CALL_FCT(fctp, args) \ (_dl_mcount_wrapper_check ((void *) (fctp)), (*(fctp)) args) __BEGIN_DECLS /* This function calls the profiling functions. */ extern void _dl_mcount_wrapper_check (void *__selfpc) __THROW; __END_DECLS #endif /* Error constants. Linux specific version. Copyright (C) 1996, 1997, 1998, 1999, 2005 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. The GNU C Library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with the GNU C Library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #ifdef _ERRNO_H # undef EDOM # undef EILSEQ # undef ERANGE # include /* Linux has no ENOTSUP error code. */ # ifndef ENOTSUP # define ENOTSUP EOPNOTSUPP # endif /* Older Linux versions also had no ECANCELED error code. */ # ifndef ECANCELED # define ECANCELED 125 # endif /* Support for error codes to support robust mutexes was added later, too. */ # ifndef EOWNERDEAD # define EOWNERDEAD 130 # define ENOTRECOVERABLE 131 # endif # ifndef __ASSEMBLER__ /* Function to get address of global `errno' variable. */ extern int *__errno_location (void) __THROW __attribute__ ((__const__)); # ifdef __UCLIBC_HAS_THREADS__ /* When using threads, errno is a per-thread value. */ # define errno (*__errno_location ()) # endif # endif /* !__ASSEMBLER__ */ #endif /* _ERRNO_H */ #if !defined _ERRNO_H && defined __need_Emath /* This is ugly but the kernel header is not clean enough. We must define only the values EDOM, EILSEQ and ERANGE in case __need_Emath is defined. */ # define EDOM 33 /* Math argument out of domain of function. */ # define EILSEQ 84 /* Illegal byte sequence. */ # define ERANGE 34 /* Math result not representable. */ #endif /* !_ERRNO_H && __need_Emath */ /* wchar_t type related definitions. Copyright (C) 2000 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. The GNU C Library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with the GNU C Library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #ifndef _BITS_WCHAR_H #define _BITS_WCHAR_H 1 #define __WCHAR_MIN (-2147483647l - 1l) #define __WCHAR_MAX (2147483647l) #endif /* bits/wchar.h */ /* Copyright (C) 2003 Manuel Novoa III * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * The GNU C Library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with the GNU C Library; if not, write to the Free * Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA * 02111-1307 USA. */ /* ATTENTION! ATTENTION! ATTENTION! ATTENTION! ATTENTION! * * Besides uClibc, I'm using this code in my libc for elks, which is * a 16-bit environment with a fairly limited compiler. It would make * things much easier for me if this file isn't modified unnecessarily. * In particular, please put any new or replacement functions somewhere * else, and modify the makefile to use your version instead. * Thanks. Manuel * * ATTENTION! ATTENTION! ATTENTION! ATTENTION! ATTENTION! */ #ifndef _UCLIBC_TOUPLOW_H #define _UCLIBC_TOUPLOW_H #include #include /* glibc uses the equivalent of - typedef __int32_t __ctype_touplow_t; */ typedef __uint16_t __ctype_mask_t; #ifdef __UCLIBC_HAS_CTYPE_SIGNED__ typedef __int16_t __ctype_touplow_t; #define __UCLIBC_CTYPE_B_TBL_OFFSET 128 #define __UCLIBC_CTYPE_TO_TBL_OFFSET 128 #else typedef unsigned char __ctype_touplow_t; #define __UCLIBC_CTYPE_B_TBL_OFFSET 1 #define __UCLIBC_CTYPE_TO_TBL_OFFSET 0 #endif #endif /* _UCLIBC_TOUPLOW_H */ /* Generic definitions for spinlock initializers. Copyright (C) 2000, 2001 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. The GNU C Library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with the GNU C Library; see the file COPYING.LIB. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /* Initial value of a spinlock. Most platforms should use zero, unless they only implement a "test and clear" operation instead of the usual "test and set". */ #define __LT_SPINLOCK_INIT 0 /* Macros for lock initializers, using the above definition. */ #define __LOCK_INITIALIZER { 0, __LT_SPINLOCK_INIT } #define __ALT_LOCK_INITIALIZER { 0, __LT_SPINLOCK_INIT } #define __ATOMIC_INITIALIZER { 0, __LT_SPINLOCK_INIT } /* sigstack, sigaltstack definitions. Copyright (C) 1998, 1999 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. The GNU C Library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with the GNU C Library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #ifndef _SIGNAL_H # error "Never include this file directly. Use instead" #endif /* Structure describing a signal stack (obsolete). */ struct sigstack { void *ss_sp; /* Signal stack pointer. */ int ss_onstack; /* Nonzero if executing on this stack. */ }; /* Possible values for `ss_flags.'. */ enum { SS_ONSTACK = 1, #define SS_ONSTACK SS_ONSTACK SS_DISABLE #define SS_DISABLE SS_DISABLE }; /* Minimum stack size for a signal handler. */ #define MINSIGSTKSZ 2048 /* System default stack size. */ #define SIGSTKSZ 8192 /* Alternate, preferred interface. */ typedef struct sigaltstack { void *ss_sp; int ss_flags; size_t ss_size; } stack_t; /* Signal handling function for threaded programs. Copyright (C) 1998, 1999, 2000, 2002 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. The GNU C Library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with the GNU C Library; see the file COPYING.LIB. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #ifndef _BITS_SIGTHREAD_H #define _BITS_SIGTHREAD_H 1 #if !defined _SIGNAL_H && !defined _PTHREAD_H # error "Never include this file directly. Use instead" #endif /* Functions for handling signals. */ /* Modify the signal mask for the calling thread. The arguments have the same meaning as for sigprocmask(2). */ extern int pthread_sigmask (int __how, __const __sigset_t *__restrict __newmask, __sigset_t *__restrict __oldmask)__THROW; /* Send signal SIGNO to the given thread. */ extern int pthread_kill (pthread_t __threadid, int __signo) __THROW; #endif /* bits/sigthread.h */ /* Optimizing macros and inline functions for stdio functions. Copyright (C) 1998, 2000, 2001 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. The GNU C Library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with the GNU C Library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #ifndef _STDIO_H # error "Never include directly; use instead." #endif /* Prototype declarations for math functions; helper file for . Copyright (C) 1996-2002, 2003, 2006 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. The GNU C Library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with the GNU C Library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ /* NOTE: Because of the special way this file is used by , this file must NOT be protected from multiple inclusion as header files usually are. This file provides prototype declarations for the math functions. Most functions are declared using the macro: __MATHCALL (NAME,[_r], (ARGS...)) This means there is a function `NAME' returning `double' and a function `NAMEf' returning `float'. Each place `_Mdouble_' appears in the prototype, that is actually `double' in the prototype for `NAME' and `float' in the prototype for `NAMEf'. Reentrant variant functions are called `NAME_r' and `NAMEf_r'. Functions returning other types like `int' are declared using the macro: __MATHDECL (TYPE, NAME,[_r], (ARGS...)) This is just like __MATHCALL but for a function returning `TYPE' instead of `_Mdouble_'. In all of these cases, there is still both a `NAME' and a `NAMEf' that takes `float' arguments. Note that there must be no whitespace before the argument passed for NAME, to make token pasting work with -traditional. */ #ifndef _MATH_H # error "Never include directly; include instead." #endif /* __MATHCALLX and __MATHCALLI include libm_hidden_def * (for "double" versions only, xxxf and xxxl do not get this treatment). * __MATHCALL does not. * __MATHDECL_PRIV includes libm_hidden_def (always) * and declares __foo, not foo. */ /* Trigonometric functions. */ _Mdouble_BEGIN_NAMESPACE /* Arc cosine of X. */ __MATHCALLI (acos,, (_Mdouble_ __x)) /* Arc sine of X. */ __MATHCALLI (asin,, (_Mdouble_ __x)) /* Arc tangent of X. */ __MATHCALLI (atan,, (_Mdouble_ __x)) /* Arc tangent of Y/X. */ __MATHCALLI (atan2,, (_Mdouble_ __y, _Mdouble_ __x)) /* Cosine of X. */ __MATHCALLI (cos,, (_Mdouble_ __x)) /* Sine of X. */ __MATHCALLI (sin,, (_Mdouble_ __x)) /* Tangent of X. */ __MATHCALLI (tan,, (_Mdouble_ __x)) /* Hyperbolic functions. */ /* Hyperbolic cosine of X. */ __MATHCALLI (cosh,, (_Mdouble_ __x)) /* Hyperbolic sine of X. */ __MATHCALLI (sinh,, (_Mdouble_ __x)) /* Hyperbolic tangent of X. */ __MATHCALLI (tanh,, (_Mdouble_ __x)) _Mdouble_END_NAMESPACE #if 0 /*def __USE_GNU*/ /* Cosine and sine of X. */ __MATHDECL (void,sincos,, (_Mdouble_ __x, _Mdouble_ *__sinx, _Mdouble_ *__cosx)) #endif #if defined __USE_MISC || defined __USE_XOPEN_EXTENDED || defined __USE_ISOC99 __BEGIN_NAMESPACE_C99 /* Hyperbolic arc cosine of X. */ __MATHCALLI (acosh,, (_Mdouble_ __x)) /* Hyperbolic arc sine of X. */ __MATHCALLI (asinh,, (_Mdouble_ __x)) /* Hyperbolic arc tangent of X. */ __MATHCALLI (atanh,, (_Mdouble_ __x)) __END_NAMESPACE_C99 #endif /* Exponential and logarithmic functions. */ _Mdouble_BEGIN_NAMESPACE /* Exponential function of X. */ __MATHCALLI (exp,, (_Mdouble_ __x)) /* Break VALUE into a normalized fraction and an integral power of 2. */ __MATHCALLI (frexp,, (_Mdouble_ __x, int *__exponent)) /* X times (two to the EXP power). */ __MATHCALLI (ldexp,, (_Mdouble_ __x, int __exponent)) /* Natural logarithm of X. */ __MATHCALLI (log,, (_Mdouble_ __x)) /* Base-ten logarithm of X. */ __MATHCALLI (log10,, (_Mdouble_ __x)) /* Break VALUE into integral and fractional parts. */ __MATHCALLI (modf,, (_Mdouble_ __x, _Mdouble_ *__iptr)) _Mdouble_END_NAMESPACE #if 0 /*def __USE_GNU*/ /* A function missing in all standards: compute exponent to base ten. */ __MATHCALL (exp10,, (_Mdouble_ __x)) /* Another name occasionally used. */ __MATHCALL (pow10,, (_Mdouble_ __x)) #endif #if defined __USE_MISC || defined __USE_XOPEN_EXTENDED || defined __USE_ISOC99 __BEGIN_NAMESPACE_C99 /* Return exp(X) - 1. */ __MATHCALLI (expm1,, (_Mdouble_ __x)) /* Return log(1 + X). */ __MATHCALLI (log1p,, (_Mdouble_ __x)) /* Return the base 2 signed integral exponent of X. */ __MATHCALLI (logb,, (_Mdouble_ __x)) __END_NAMESPACE_C99 #endif #ifdef __USE_ISOC99 __BEGIN_NAMESPACE_C99 /* Compute base-2 exponential of X. */ __MATHCALLI (exp2,, (_Mdouble_ __x)) /* Compute base-2 logarithm of X. */ __MATHCALL (log2,, (_Mdouble_ __x)) __END_NAMESPACE_C99 #endif /* Power functions. */ _Mdouble_BEGIN_NAMESPACE /* Return X to the Y power. */ __MATHCALLI (pow,, (_Mdouble_ __x, _Mdouble_ __y)) /* Return the square root of X. */ __MATHCALLI (sqrt,, (_Mdouble_ __x)) _Mdouble_END_NAMESPACE #if defined __USE_MISC || defined __USE_XOPEN || defined __USE_ISOC99 __BEGIN_NAMESPACE_C99 /* Return `sqrt(X*X + Y*Y)'. */ __MATHCALLI (hypot,, (_Mdouble_ __x, _Mdouble_ __y)) __END_NAMESPACE_C99 #endif #if defined __USE_MISC || defined __USE_XOPEN_EXTENDED || defined __USE_ISOC99 __BEGIN_NAMESPACE_C99 /* Return the cube root of X. */ __MATHCALLI (cbrt,, (_Mdouble_ __x)) __END_NAMESPACE_C99 #endif /* Nearest integer, absolute value, and remainder functions. */ _Mdouble_BEGIN_NAMESPACE /* Smallest integral value not less than X. */ __MATHCALLX (ceil,, (_Mdouble_ __x), (__const__)) /* Absolute value of X. */ __MATHCALLX (fabs,, (_Mdouble_ __x), (__const__)) /* Largest integer not greater than X. */ __MATHCALLX (floor,, (_Mdouble_ __x), (__const__)) /* Floating-point modulo remainder of X/Y. */ __MATHCALLI (fmod,, (_Mdouble_ __x, _Mdouble_ __y)) /* Return 0 if VALUE is finite or NaN, +1 if it is +Infinity, -1 if it is -Infinity. */ __MATHDECL_PRIV (int,isinf,, (_Mdouble_ __value), (__const__)) /* Return nonzero if VALUE is finite and not NaN. */ __MATHDECL_PRIV (int,finite,, (_Mdouble_ __value), (__const__)) _Mdouble_END_NAMESPACE #ifdef __USE_MISC #if 0 /* Return 0 if VALUE is finite or NaN, +1 if it is +Infinity, -1 if it is -Infinity. */ __MATHDECL_PRIV (int,isinf,, (_Mdouble_ __value), (__const__)) /* Return nonzero if VALUE is finite and not NaN. */ __MATHDECL_PRIV (int,finite,, (_Mdouble_ __value), (__const__)) #endif /* Return the remainder of X/Y. */ __MATHCALL (drem,, (_Mdouble_ __x, _Mdouble_ __y)) /* Return the fractional part of X after dividing out `ilogb (X)'. */ __MATHCALL (significand,, (_Mdouble_ __x)) #endif /* Use misc. */ #if defined __USE_MISC || defined __USE_ISOC99 __BEGIN_NAMESPACE_C99 /* Return X with its signed changed to Y's. */ __MATHCALLX (copysign,, (_Mdouble_ __x, _Mdouble_ __y), (__const__)) __END_NAMESPACE_C99 #endif #ifdef __USE_ISOC99 __BEGIN_NAMESPACE_C99 /* Return representation of NaN for double type. */ __MATHCALLX (nan,, (__const char *__tagb), (__const__)) __END_NAMESPACE_C99 #endif /* Return nonzero if VALUE is not a number. */ /* DELETE? __MATHDECL_PRIV adds another "__": so this is "____isnan"???! */ /*__MATHDECL_PRIV (int,__isnan,, (_Mdouble_ __value), (__const__))*/ #if defined __USE_MISC || defined __USE_XOPEN /* Return nonzero if VALUE is not a number. */ __MATHDECL_PRIV (int,isnan,, (_Mdouble_ __value), (__const__)) # ifdef __DO_XSI_MATH__ /* Bessel functions. */ __MATHCALL (j0,, (_Mdouble_)) __MATHCALL (j1,, (_Mdouble_)) __MATHCALL (jn,, (int, _Mdouble_)) __MATHCALL (y0,, (_Mdouble_)) __MATHCALL (y1,, (_Mdouble_)) __MATHCALL (yn,, (int, _Mdouble_)) # endif #endif #if defined __USE_MISC || defined __USE_XOPEN || defined __USE_ISOC99 __BEGIN_NAMESPACE_C99 /* Error and gamma functions. */ __MATHCALLI (erf,, (_Mdouble_)) __MATHCALLI (erfc,, (_Mdouble_)) __MATHCALLI (lgamma,, (_Mdouble_)) __END_NAMESPACE_C99 #endif #ifdef __USE_ISOC99 __BEGIN_NAMESPACE_C99 /* True gamma function. */ __MATHCALLI (tgamma,, (_Mdouble_)) __END_NAMESPACE_C99 #endif #if defined __USE_MISC || defined __USE_XOPEN /* Obsolete alias for `lgamma'. */ __MATHCALL (gamma,, (_Mdouble_)) #endif #ifdef __USE_MISC /* Reentrant version of lgamma. This function uses the global variable `signgam'. The reentrant version instead takes a pointer and stores the value through it. */ __MATHCALL (lgamma,_r, (_Mdouble_, int *__signgamp)) #endif #if defined __USE_MISC || defined __USE_XOPEN_EXTENDED || defined __USE_ISOC99 __BEGIN_NAMESPACE_C99 /* Return the integer nearest X in the direction of the prevailing rounding mode. */ __MATHCALLI (rint,, (_Mdouble_ __x)) /* Return X + epsilon if X < Y, X - epsilon if X > Y. */ __MATHCALLX (nextafter,, (_Mdouble_ __x, _Mdouble_ __y), (__const__)) # if defined __USE_ISOC99 && !defined __LDBL_COMPAT __MATHCALLX (nexttoward,, (_Mdouble_ __x, long double __y), (__const__)) # endif /* Return the remainder of integer divison X / Y with infinite precision. */ __MATHCALLI (remainder,, (_Mdouble_ __x, _Mdouble_ __y)) # if defined __USE_MISC || defined __USE_ISOC99 /* Return X times (2 to the Nth power). */ __MATHCALLI (scalbn,, (_Mdouble_ __x, int __n)) # endif /* Return the binary exponent of X, which must be nonzero. */ __MATHDECLI (int,ilogb,, (_Mdouble_ __x)) #endif #ifdef __USE_ISOC99 /* Return X times (2 to the Nth power). */ __MATHCALLI (scalbln,, (_Mdouble_ __x, long int __n)) /* Round X to integral value in floating-point format using current rounding direction, but do not raise inexact exception. */ __MATHCALLI (nearbyint,, (_Mdouble_ __x)) /* Round X to nearest integral value, rounding halfway cases away from zero. */ __MATHCALLX (round,, (_Mdouble_ __x), (__const__)) /* Round X to the integral value in floating-point format nearest but not larger in magnitude. */ __MATHCALLX (trunc,, (_Mdouble_ __x), (__const__)) /* Compute remainder of X and Y and put in *QUO a value with sign of x/y and magnitude congruent `mod 2^n' to the magnitude of the integral quotient x/y, with n >= 3. */ __MATHCALLI (remquo,, (_Mdouble_ __x, _Mdouble_ __y, int *__quo)) /* Conversion functions. */ /* Round X to nearest integral value according to current rounding direction. */ __MATHDECLI (long int,lrint,, (_Mdouble_ __x)) __MATHDECLI (long long int,llrint,, (_Mdouble_ __x)) /* Round X to nearest integral value, rounding halfway cases away from zero. */ __MATHDECLI (long int,lround,, (_Mdouble_ __x)) __MATHDECLI (long long int,llround,, (_Mdouble_ __x)) /* Return positive difference between X and Y. */ __MATHCALLI (fdim,, (_Mdouble_ __x, _Mdouble_ __y)) /* Return maximum numeric value from X and Y. */ __MATHCALLI (fmax,, (_Mdouble_ __x, _Mdouble_ __y)) /* Return minimum numeric value from X and Y. */ __MATHCALLI (fmin,, (_Mdouble_ __x, _Mdouble_ __y)) /* Classify given number. */ __MATHDECL_PRIV (int, fpclassify,, (_Mdouble_ __valu