add remaining lfs64 and locale functions
[ldtrace] / func.h
diff --git a/func.h b/func.h
index 87f2d7c..7291aee 100644 (file)
--- a/func.h
+++ b/func.h
@@ -1,6 +1,64 @@
+#undef __fxstat64
+#undef __fxstatat64
+#undef __lxstat64
+#undef __xstat64
+#undef alphasort64
+#undef creat64
+#undef fallocate64
+#undef fgetpos64
+#undef fopen64
+#undef freopen64
+#undef fseeko64
+#undef fsetpos64
+#undef fstat64
+#undef fstatat64
+#undef fstatfs64
+#undef fstatvfs64
+#undef ftello64
+#undef ftruncate64
+#undef ftw64
+#undef getdents64
+#undef getrlimit64
+#undef glob64
+#undef globfree64
+#undef lockf64
+#undef lseek64
+#undef lstat64
+#undef mkostemp64
+#undef mkostemps64
+#undef mkstemp64
+#undef mkstemps64
+#undef mmap64
+#undef nftw64
+#undef open64
+#undef openat64
+#undef posix_fadvise64
+#undef posix_fallocate64
+#undef pread64
+#undef preadv64
+#undef prlimit64
+#undef pwrite64
+#undef pwritev64
+#undef readdir64
+#undef readdir64_r
+#undef scandir64
+#undef sendfile64
+#undef setrlimit64
+#undef stat64
+#undef statfs64
+#undef statvfs64
+#undef tmpfile64
+#undef truncate64
 typedef void (*signal_handler)(int);
 typedef void (*signal_handler)(int);
+typedef struct tre_mem_struct *tre_mem_t;
 
 V(_Noreturn void, _Exit, (int ec), (ec))
 
 V(_Noreturn void, _Exit, (int ec), (ec))
+F(int, _IO_getc, (FILE *f), (f))
+F(int, _IO_getc_unlocked, (FILE *f), (f))
+F(int, _IO_putc, (int c, FILE *f), (c,f))
+F(int, _IO_putc_unlocked, (int c, FILE *f), (c,f))
+F(int, _IO_feof_unlocked, (FILE *f), (f))
+F(int, _IO_ferror_unlocked, (FILE *f), (f))
 V(void, __acquire_ptc, (), ())
 V(void, __aio_wake, (void), ())
 F(char *, __asctime, (const struct tm *restrict tm, char *restrict buf), (tm,buf))
 V(void, __acquire_ptc, (), ())
 V(void, __aio_wake, (void), ())
 F(char *, __asctime, (const struct tm *restrict tm, char *restrict buf), (tm,buf))
@@ -28,7 +86,7 @@ F(const int32_t **, __ctype_tolower_loc, (void), ())
 F(const int32_t **, __ctype_toupper_loc, (void), ())
 F(int, __cxa_atexit, (void (*func)(void *), void *arg, void *dso), (func,arg,dso))
 V(void, __cxa_finalize, (void *dso), (dso))
 F(const int32_t **, __ctype_toupper_loc, (void), ())
 F(int, __cxa_atexit, (void (*func)(void *), void *arg, void *dso), (func,arg,dso))
 V(void, __cxa_finalize, (void *dso), (dso))
-F(int, __dladdr, (void *addr, Dl_info *info), (addr,info))
+F(int, __dladdr, (const void *addr, Dl_info *info), (addr,info))
 F(int, __dlinfo, (void *dso, int req, void *res), (dso,req,res))
 F(void *, __dlsym, (void *restrict p, const char *restrict s, void *restrict ra), (p,s,ra))
 F(int, __dn_comp, (const char *src, unsigned char *dst, int space, unsigned char **dnptrs, unsigned char **lastdnptr), (src,dst,space,dnptrs,lastdnptr))
 F(int, __dlinfo, (void *dso, int req, void *res), (dso,req,res))
 F(void *, __dlsym, (void *restrict p, const char *restrict s, void *restrict ra), (p,s,ra))
 F(int, __dn_comp, (const char *src, unsigned char *dst, int space, unsigned char **dnptrs, unsigned char **lastdnptr), (src,dst,space,dnptrs,lastdnptr))
@@ -40,6 +98,7 @@ F(int, __dns_query, (unsigned char *r, const void *a, int family, int ptr), (r,a
 V(void, __do_cleanup_pop, (struct __ptcb *cb), (cb))
 V(void, __do_cleanup_push, (struct __ptcb *cb), (cb))
 F(int, __dup3, (int old, int new, int flags), (old,new,flags))
 V(void, __do_cleanup_pop, (struct __ptcb *cb), (cb))
 V(void, __do_cleanup_push, (struct __ptcb *cb), (cb))
 F(int, __dup3, (int old, int new, int flags), (old,new,flags))
+F(locale_t, __duplocale, (locale_t old), (old))
 F(void *, __dynlink, (int argc, char **argv), (argc,argv))
 F(int *, __errno_location, (void), ())
 F(int, __execvpe, (const char *file, char *const argv[], char *const envp[]), (file,argv,envp))
 F(void *, __dynlink, (int argc, char **argv), (argc,argv))
 F(int *, __errno_location, (void), ())
 F(int, __execvpe, (const char *file, char *const argv[], char *const envp[]), (file,argv,envp))
@@ -67,6 +126,7 @@ F(size_t, __freadahead, (FILE *f), (f))
 F(int, __freading, (FILE *f), (f))
 F(const char *, __freadptr, (FILE *f, size_t *sizep), (f,sizep))
 V(void, __freadptrinc, (FILE *f, size_t inc), (f,inc))
 F(int, __freading, (FILE *f), (f))
 F(const char *, __freadptr, (FILE *f, size_t *sizep), (f,sizep))
 V(void, __freadptrinc, (FILE *f, size_t inc), (f,inc))
+V(void, __freelocale, (locale_t l), (l))
 F(int, __fseeko, (FILE *f, off_t off, int whence), (f,off,whence))
 F(int, __fseeko_unlocked, (FILE *f, off_t off, int whence), (f,off,whence))
 V(void, __fseterr, (FILE *f), (f))
 F(int, __fseeko, (FILE *f, off_t off, int whence), (f,off,whence))
 F(int, __fseeko_unlocked, (FILE *f, off_t off, int whence), (f,off,whence))
 V(void, __fseterr, (FILE *f), (f))
@@ -81,8 +141,11 @@ F(int, __fwritable, (FILE *f), (f))
 F(size_t, __fwritex, (const unsigned char *restrict s, size_t l, FILE *restrict f), (s,l,f))
 F(int, __fwriting, (FILE *f), (f))
 F(int, __fxstat, (int ver, int fd, struct stat *buf), (ver,fd,buf))
 F(size_t, __fwritex, (const unsigned char *restrict s, size_t l, FILE *restrict f), (s,l,f))
 F(int, __fwriting, (FILE *f), (f))
 F(int, __fxstat, (int ver, int fd, struct stat *buf), (ver,fd,buf))
+F(int, __fxstat64, (int ver, int fd, struct stat *buf), (ver,fd,buf))
 F(int, __fxstatat, (int ver, int fd, const char *path, struct stat *buf, int flag), (ver,fd,path,buf,flag))
 F(int, __fxstatat, (int ver, int fd, const char *path, struct stat *buf, int flag), (ver,fd,path,buf,flag))
+F(int, __fxstatat64, (int ver, int fd, const char *path, struct stat *buf, int flag), (ver,fd,path,buf,flag))
 V(void, __get_handler_set, (sigset_t *set), (set))
 V(void, __get_handler_set, (sigset_t *set), (set))
+F(ssize_t, __getdelim, (char **restrict s, size_t *restrict n, int delim, FILE *restrict f), (s,n,delim,f))
 F(int, __getdents, (int fd, struct dirent *buf, size_t len), (fd,buf,len))
 F(struct group *, __getgrent_a, (FILE *f, struct group *gr, char **line, size_t *size, char ***mem, size_t *nmem), (f,gr,line,size,mem,nmem))
 F(struct passwd *, __getpwent_a, (FILE *f, struct passwd *pw, char **line, size_t *size), (f,pw,line,size))
 F(int, __getdents, (int fd, struct dirent *buf, size_t len), (fd,buf,len))
 F(struct group *, __getgrent_a, (FILE *f, struct group *gr, char **line, size_t *size, char ***mem, size_t *nmem), (f,gr,line,size,mem,nmem))
 F(struct passwd *, __getpwent_a, (FILE *f, struct passwd *pw, char **line, size_t *size), (f,pw,line,size))
@@ -97,6 +160,19 @@ F(void *, __install_initial_tls, (void *p), (p))
 F(unsigned long long, __intscan, (FILE *f, unsigned base, int pok, unsigned long long lim), (f,base,pok,lim))
 F(long double, __invtrigl_R, (long double z), (z))
 F(int, __ipparse, (void *dest, int family, const char *s0), (dest,family,s0))
 F(unsigned long long, __intscan, (FILE *f, unsigned base, int pok, unsigned long long lim), (f,base,pok,lim))
 F(long double, __invtrigl_R, (long double z), (z))
 F(int, __ipparse, (void *dest, int family, const char *s0), (dest,family,s0))
+XF(int, __isoc99_fscanf, (FILE *restrict f, const char *restrict fmt, ...))
+XF(int, __isoc99_fwscanf, (FILE *restrict f, const wchar_t *restrict fmt, ...))
+XF(int, __isoc99_scanf, (const char *restrict fmt, ...))
+XF(int, __isoc99_sscanf, (const char *restrict s, const char *restrict fmt, ...))
+XF(int, __isoc99_swscanf, (const wchar_t *restrict s, const wchar_t *restrict fmt, ...))
+F(int, __isoc99_vfscanf, (FILE *restrict f, const char *restrict fmt, va_list ap), (f,fmt,ap))
+F(int, __isoc99_vfwscanf, (FILE *restrict f, const wchar_t *restrict fmt, va_list ap), (f,fmt,ap))
+F(int, __isoc99_vscanf, (const char *restrict fmt, va_list ap), (fmt,ap))
+F(int, __isoc99_vsscanf, (const char *restrict s, const char *restrict fmt, va_list ap), (s,fmt,ap))
+F(int, __isoc99_vswscanf, (const wchar_t *restrict s, const wchar_t *restrict fmt, va_list ap), (s,fmt,ap))
+F(int, __isoc99_vwscanf, (const wchar_t *restrict fmt, va_list ap), (fmt,ap))
+XF(int, __isoc99_wscanf, (const wchar_t *restrict fmt, ...))
+F(int, __iswctype_l, (wint_t c, wctype_t t, locale_t l), (c,t,l))
 F(double complex, __ldexp_cexp, (double complex z, int expt), (z,expt))
 F(float complex, __ldexp_cexpf, (float complex z, int expt), (z,expt))
 F(double, __lgamma_r, (double x, int *signgamp), (x,signgamp))
 F(double complex, __ldexp_cexp, (double complex z, int expt), (z,expt))
 F(float complex, __ldexp_cexpf, (float complex z, int expt), (z,expt))
 F(double, __lgamma_r, (double x, int *signgamp), (x,signgamp))
@@ -111,7 +187,9 @@ F(int, __libc_start_main, (int (*main)(int,char **,char **), int argc, char **ar
 F(struct tm *, __localtime_r, (const time_t *restrict t, struct tm *restrict tm), (t,tm))
 V(void, __lock, (volatile int *l), (l))
 F(int, __lockfile, (FILE *f), (f))
 F(struct tm *, __localtime_r, (const time_t *restrict t, struct tm *restrict tm), (t,tm))
 V(void, __lock, (volatile int *l), (l))
 F(int, __lockfile, (FILE *f), (f))
+V(_Noreturn void, __longjmp, (jmp_buf buf, int v), (buf,v))
 F(int, __lxstat, (int ver, const char *path, struct stat *buf), (ver,path,buf))
 F(int, __lxstat, (int ver, const char *path, struct stat *buf), (ver,path,buf))
+F(int, __lxstat64, (int ver, const char *path, struct stat *buf), (ver,path,buf))
 F(int, __madvise, (void *addr, size_t len, int advice), (addr,len,advice))
 F(const char unsigned *, __map_file, (const char *pathname, size_t *size), (pathname,size))
 F(void *, __memalign, (size_t align, size_t len), (align,len))
 F(int, __madvise, (void *addr, size_t len, int advice), (addr,len,advice))
 F(const char unsigned *, __map_file, (const char *pathname, size_t *size), (pathname,size))
 F(void *, __memalign, (size_t align, size_t len), (align,len))
@@ -121,15 +199,18 @@ F(void *, __mmap, (void *start, size_t len, int prot, int flags, int fd, off_t o
 F(int, __month_to_secs, (int month, int is_leap), (month,is_leap))
 XF(void *, __mremap, (void *old_addr, size_t old_len, size_t new_len, int flags, ...))
 F(int, __munmap, (void *start, size_t len), (start,len))
 F(int, __month_to_secs, (int month, int is_leap), (month,is_leap))
 XF(void *, __mremap, (void *old_addr, size_t old_len, size_t new_len, int flags, ...))
 F(int, __munmap, (void *start, size_t len), (start,len))
+F(locale_t, __newlocale, (int mask, const char *name, locale_t base), (mask,name,base))
 F(char *, __nl_langinfo, (nl_item item), (item))
 F(char *, __nl_langinfo_l, (nl_item item, locale_t loc), (item,loc))
 F(int, __overflow, (FILE *f, int _c), (f,_c))
 F(long double, __p1evll, (long double x, const long double *P, int n), (x,P,n))
 F(int, __parsespent, (char *s, struct spwd *sp), (s,sp))
 F(long double, __polevll, (long double x, const long double *P, int n), (x,P,n))
 F(char *, __nl_langinfo, (nl_item item), (item))
 F(char *, __nl_langinfo_l, (nl_item item, locale_t loc), (item,loc))
 F(int, __overflow, (FILE *f, int _c), (f,_c))
 F(long double, __p1evll, (long double x, const long double *P, int n), (x,P,n))
 F(int, __parsespent, (char *s, struct spwd *sp), (s,sp))
 F(long double, __polevll, (long double x, const long double *P, int n), (x,P,n))
+F(int, __posix_getopt, (int argc, char * const argv[], const char *optstring), (argc,argv,optstring))
 F(int, __posix_spawnx, (pid_t *restrict res, const char *restrict path, int (*exec)(const char *, char *const *, char *const *), const posix_spawn_file_actions_t *fa, const posix_spawnattr_t *restrict attr, char *const argv[restrict], char *const envp[restrict]), (res,path,exec,fa,attr,argv,envp))
 V(void, __procfdname, (char *buf, unsigned fd), (buf,fd))
 F(pthread_t, __pthread_self_def, (), ())
 F(int, __posix_spawnx, (pid_t *restrict res, const char *restrict path, int (*exec)(const char *, char *const *, char *const *), const posix_spawn_file_actions_t *fa, const posix_spawnattr_t *restrict attr, char *const argv[restrict], char *const envp[restrict]), (res,path,exec,fa,attr,argv,envp))
 V(void, __procfdname, (char *buf, unsigned fd), (buf,fd))
 F(pthread_t, __pthread_self_def, (), ())
+F(pthread_t, __pthread_self_init, (), ())
 V(void, __pthread_tsd_run_dtors, (), ())
 F(int, __ptsname_r, (int fd, char *buf, size_t len), (fd,buf,len))
 F(int, __putenv, (char *s, int a), (s,a))
 V(void, __pthread_tsd_run_dtors, (), ())
 F(int, __ptsname_r, (int fd, char *buf, size_t len), (fd,buf,len))
 F(int, __putenv, (char *s, int a), (s,a))
@@ -150,6 +231,7 @@ F(int, __secs_to_tm, (long long t, struct tm *tm), (t,tm))
 V(void, __secs_to_zone, (long long t, int local, int *isdst, long *offset, long *oppoff, const char **zonename), (t,local,isdst,offset,oppoff,zonename))
 V(void, __seek_on_exit, (), ())
 F(int, __set_thread_area, (void *p), (p))
 V(void, __secs_to_zone, (long long t, int local, int *isdst, long *offset, long *oppoff, const char **zonename), (t,local,isdst,offset,oppoff,zonename))
 V(void, __seek_on_exit, (), ())
 F(int, __set_thread_area, (void *p), (p))
+F(int, __setjmp, (jmp_buf buf), (buf))
 F(int, __setrlimit, (int resource, const struct rlimit *rlim), (resource,rlim))
 F(int, __setxid, (int nr, int id, int eid, int sid), (nr,id,eid,sid))
 F(int, __shgetc, (FILE *f), (f))
 F(int, __setrlimit, (int resource, const struct rlimit *rlim), (resource,rlim))
 F(int, __setxid, (int nr, int id, int eid, int sid), (nr,id,eid,sid))
 F(int, __shgetc, (FILE *f), (f))
@@ -179,9 +261,20 @@ F(char *, __strdup, (const char *s), (s))
 F(const char *, __strftime_fmt_1, (char (*s)[100], size_t *l, int f, const struct tm *tm, locale_t loc), (s,l,f,tm,loc))
 F(size_t, __strftime_l, (char *restrict s, size_t n, const char *restrict f, const struct tm *restrict tm, locale_t loc), (s,n,f,tm,loc))
 F(size_t, __string_read, (FILE *f, unsigned char *buf, size_t len), (f,buf,len))
 F(const char *, __strftime_fmt_1, (char (*s)[100], size_t *l, int f, const struct tm *tm, locale_t loc), (s,l,f,tm,loc))
 F(size_t, __strftime_l, (char *restrict s, size_t n, const char *restrict f, const struct tm *restrict tm, locale_t loc), (s,n,f,tm,loc))
 F(size_t, __string_read, (FILE *f, unsigned char *buf, size_t len), (f,buf,len))
+F(double, __strtod_l, (const char *restrict s, char **restrict p, locale_t l), (s,p,l))
+F(float, __strtof_l, (const char *restrict s, char **restrict p, locale_t l), (s,p,l))
+F(intmax_t, __strtoimax_internal, (const char *restrict s, char **restrict p, int base), (s,p,base))
+F(long, __strtol_internal, (const char *restrict s, char **restrict p, int base), (s,p,base))
+F(long double, __strtold_l, (const char *restrict s, char **restrict p, locale_t l), (s,p,l))
+F(long long, __strtoll_internal, (const char *restrict s, char **restrict p, int base), (s,p,base))
+F(unsigned long, __strtoul_internal, (const char *restrict s, char **restrict p, int base), (s,p,base))
+F(unsigned long long, __strtoull_internal, (const char *restrict s, char **restrict p, int base), (s,p,base))
+F(uintmax_t, __strtoumax_internal, (const char *restrict s, char **restrict p, int base), (s,p,base))
 F(size_t, __strxfrm_l, (char *restrict dest, const char *restrict src, size_t n, locale_t loc), (dest,src,n,loc))
 V(void, __synccall, (void (*func)(void *), void *ctx), (func,ctx))
 F(size_t, __strxfrm_l, (char *restrict dest, const char *restrict src, size_t n, locale_t loc), (dest,src,n,loc))
 V(void, __synccall, (void (*func)(void *), void *ctx), (func,ctx))
+XF(long, __syscall, (long n, ...))
 F(long, __syscall_cp, (long nr, long u, long v, long w, long x, long y, long z), (nr,u,v,w,x,y,z))
 F(long, __syscall_cp, (long nr, long u, long v, long w, long x, long y, long z), (nr,u,v,w,x,y,z))
+F(long, __syscall_cp_asm, (volatile void *p, long nr, long u, long v, long w, long x, long y, long z), (p,nr,u,v,w,x,y,z))
 F(long, __syscall_ret, (unsigned long r), (r))
 F(double, __tan, (double x, double y, int odd), (x,y,odd))
 F(float, __tandf, (double x, int odd), (x,odd))
 F(long, __syscall_ret, (unsigned long r), (r))
 F(double, __tan, (double x, double y, int odd), (x,y,odd))
 F(float, __tandf, (double x, int odd), (x,odd))
@@ -192,28 +285,41 @@ F(void *, __tls_get_addr, (size_t *v), (v))
 F(long long, __tm_to_secs, (const struct tm *tm), (tm))
 F(const char *, __tm_to_tzname, (const struct tm *tm), (tm))
 F(int, __toread, (FILE *f), (f))
 F(long long, __tm_to_secs, (const struct tm *tm), (tm))
 F(const char *, __tm_to_tzname, (const struct tm *tm), (tm))
 F(int, __toread, (FILE *f), (f))
+F(wint_t, __towlower_l, (wint_t c, locale_t l), (c,l))
+F(wint_t, __towupper_l, (wint_t c, locale_t l), (c,l))
 F(int, __towrite, (FILE *f), (f))
 V(void, __tzset, (), ())
 F(int, __uflow, (FILE *f), (f))
 V(void, __unlock, (volatile int *l), (l))
 V(void, __unlockfile, (FILE *f), (f))
 F(int, __towrite, (FILE *f), (f))
 V(void, __tzset, (), ())
 F(int, __uflow, (FILE *f), (f))
 V(void, __unlock, (volatile int *l), (l))
 V(void, __unlockfile, (FILE *f), (f))
+V(void, __unmapself, (void *p, size_t n), (p,n))
+F(locale_t, __uselocale, (locale_t l), (l))
+F(int, __vdso_clock_gettime, (clockid_t clk, struct timespec *ts), (clk,ts))
 F(pid_t, __vfork, (void), ())
 V(void, __vm_lock, (int inc), (inc))
 F(pid_t, __vfork, (void), ())
 V(void, __vm_lock, (int inc), (inc))
+V(void, __vm_lock_impl, (int inc), (inc))
 V(void, __vm_unlock, (void), ())
 V(void, __vm_unlock, (void), ())
+V(void, __vm_unlock_impl, (void), ())
 V(void, __vsyslog, (int priority, const char *message, va_list ap), (priority,message,ap))
 V(void, __wait, (volatile int *addr, volatile int *waiters, int val, int priv), (addr,waiters,val,priv))
 F(int, __wcscoll_l, (const wchar_t *l, const wchar_t *r, locale_t locale), (l,r,locale))
 F(size_t, __wcsftime_l, (wchar_t *restrict s, size_t n, const wchar_t *restrict f, const struct tm *restrict tm, locale_t loc), (s,n,f,tm,loc))
 F(size_t, __wcsxfrm_l, (wchar_t *restrict dest, const wchar_t *restrict src, size_t n, locale_t loc), (dest,src,n,loc))
 V(void, __vsyslog, (int priority, const char *message, va_list ap), (priority,message,ap))
 V(void, __wait, (volatile int *addr, volatile int *waiters, int val, int priv), (addr,waiters,val,priv))
 F(int, __wcscoll_l, (const wchar_t *l, const wchar_t *r, locale_t locale), (l,r,locale))
 F(size_t, __wcsftime_l, (wchar_t *restrict s, size_t n, const wchar_t *restrict f, const struct tm *restrict tm, locale_t loc), (s,n,f,tm,loc))
 F(size_t, __wcsxfrm_l, (wchar_t *restrict dest, const wchar_t *restrict src, size_t n, locale_t loc), (dest,src,n,loc))
+F(wctype_t, __wctype_l, (const char *s, locale_t l), (s,l))
+F(char *, __xpg_basename, (char *s), (s))
+F(int, __xpg_strerror_r, (int err, char *buf, size_t buflen), (err,buf,buflen))
 F(int, __xstat, (int ver, const char *path, struct stat *buf), (ver,path,buf))
 F(int, __xstat, (int ver, const char *path, struct stat *buf), (ver,path,buf))
+F(int, __xstat64, (int ver, const char *path, struct stat *buf), (ver,path,buf))
 F(long long, __year_to_secs, (long long year, int *is_leap), (year,is_leap))
 F(int, __yield, (), ())
 V(void, _dl_debug_state, (void), ())
 V(_Noreturn void, _exit, (int status), (status))
 F(int, _flush_cache, (void *addr, int len, int op), (addr,len,op))
 V(void, _flushlbf, (void), ())
 F(long long, __year_to_secs, (long long year, int *is_leap), (year,is_leap))
 F(int, __yield, (), ())
 V(void, _dl_debug_state, (void), ())
 V(_Noreturn void, _exit, (int status), (status))
 F(int, _flush_cache, (void *addr, int len, int op), (addr,len,op))
 V(void, _flushlbf, (void), ())
+V(_Noreturn void, _longjmp, (jmp_buf buf, int v), (buf,v))
 V(void, _pthread_cleanup_pop, (struct __ptcb *cb, int run), (cb,run))
 V(void, _pthread_cleanup_push, (struct __ptcb *cb, void (*f)(void *), void *x), (cb,f,x))
 V(void, _pthread_cleanup_pop, (struct __ptcb *cb, int run), (cb,run))
 V(void, _pthread_cleanup_push, (struct __ptcb *cb, void (*f)(void *), void *x), (cb,f,x))
+F(int, _setjmp, (jmp_buf buf), (buf))
 V(void, _start, (), ())
 F(long, a64l, (const char *s), (s))
 V(_Noreturn void, abort, (void), ())
 V(void, _start, (), ())
 F(long, a64l, (const char *s), (s))
 V(_Noreturn void, abort, (void), ())
@@ -241,6 +347,7 @@ F(int, aio_write, (struct aiocb *cb), (cb))
 F(unsigned, alarm, (unsigned seconds), (seconds))
 F(void *, aligned_alloc, (size_t align, size_t len), (align,len))
 F(int, alphasort, (const struct dirent **a, const struct dirent **b), (a,b))
 F(unsigned, alarm, (unsigned seconds), (seconds))
 F(void *, aligned_alloc, (size_t align, size_t len), (align,len))
 F(int, alphasort, (const struct dirent **a, const struct dirent **b), (a,b))
+F(int, alphasort64, (const struct dirent **a, const struct dirent **b), (a,b))
 F(int, arch_prctl, (int code, unsigned long addr), (code,addr))
 F(char *, asctime, (const struct tm *tm), (tm))
 F(char *, asctime_r, (const struct tm *restrict tm, char *restrict buf), (tm,buf))
 F(int, arch_prctl, (int code, unsigned long addr), (code,addr))
 F(char *, asctime, (const struct tm *tm), (tm))
 F(char *, asctime_r, (const struct tm *restrict tm, char *restrict buf), (tm,buf))
@@ -273,12 +380,15 @@ F(int, bind, (int fd, const struct sockaddr *addr, socklen_t len), (fd,addr,len)
 F(char *, bind_textdomain_codeset, (const char *domainname, const char *codeset), (domainname,codeset))
 F(char *, bindtextdomain, (const char *domainname, const char *dirname), (domainname,dirname))
 F(int, brk, (void *end), (end))
 F(char *, bind_textdomain_codeset, (const char *domainname, const char *codeset), (domainname,codeset))
 F(char *, bindtextdomain, (const char *domainname, const char *dirname), (domainname,dirname))
 F(int, brk, (void *end), (end))
+F(signal_handler, bsd_signal, (int sig, void (*func)(int)), (sig,func))
 F(void *, bsearch, (const void *key, const void *base, size_t nel, size_t width, int (*cmp)(const void *, const void *)), (key,base,nel,width,cmp))
 F(wint_t, btowc, (int c), (c))
 V(void, bzero, (void *s, size_t n), (s,n))
 F(double, cabs, (double complex z), (z))
 F(float, cabsf, (float complex z), (z))
 F(long double, cabsl, (long double complex z), (z))
 F(void *, bsearch, (const void *key, const void *base, size_t nel, size_t width, int (*cmp)(const void *, const void *)), (key,base,nel,width,cmp))
 F(wint_t, btowc, (int c), (c))
 V(void, bzero, (void *s, size_t n), (s,n))
 F(double, cabs, (double complex z), (z))
 F(float, cabsf, (float complex z), (z))
 F(long double, cabsl, (long double complex z), (z))
+F(int, cachectl, (void *addr, int len, int op), (addr,len,op))
+F(int, cacheflush, (void *addr, int len, int op), (addr,len,op))
 F(double complex, cacos, (double complex z), (z))
 F(float complex, cacosf, (float complex z), (z))
 F(double complex, cacosh, (double complex z), (z))
 F(double complex, cacos, (double complex z), (z))
 F(float complex, cacosf, (float complex z), (z))
 F(double complex, cacosh, (double complex z), (z))
@@ -326,6 +436,7 @@ F(speed_t, cfgetospeed, (const struct termios *tio), (tio))
 V(void, cfmakeraw, (struct termios *t), (t))
 F(int, cfsetispeed, (struct termios *tio, speed_t speed), (tio,speed))
 F(int, cfsetospeed, (struct termios *tio, speed_t speed), (tio,speed))
 V(void, cfmakeraw, (struct termios *t), (t))
 F(int, cfsetispeed, (struct termios *tio, speed_t speed), (tio,speed))
 F(int, cfsetospeed, (struct termios *tio, speed_t speed), (tio,speed))
+F(int, cfsetspeed, (struct termios *tio, speed_t speed), (tio,speed))
 F(int, chdir, (const char *path), (path))
 F(int, chmod, (const char *path, mode_t mode), (path,mode))
 F(int, chown, (const char *path, uid_t uid, gid_t gid), (path,uid,gid))
 F(int, chdir, (const char *path), (path))
 F(int, chmod, (const char *path, mode_t mode), (path,mode))
 F(int, chown, (const char *path, uid_t uid, gid_t gid), (path,uid,gid))
@@ -335,15 +446,18 @@ F(float, cimagf, (float complex z), (z))
 F(long double, cimagl, (long double complex z), (z))
 F(int, clearenv, (), ())
 V(void, clearerr, (FILE *f), (f))
 F(long double, cimagl, (long double complex z), (z))
 F(int, clearenv, (), ())
 V(void, clearerr, (FILE *f), (f))
+V(void, clearerr_unlocked, (FILE *f), (f))
 F(clock_t, clock, (), ())
 F(int, clock_adjtime, (clockid_t clock_id, struct timex *utx), (clock_id,utx))
 F(int, clock_getcpuclockid, (pid_t pid, clockid_t *clk), (pid,clk))
 F(int, clock_getres, (clockid_t clk, struct timespec *ts), (clk,ts))
 F(clock_t, clock, (), ())
 F(int, clock_adjtime, (clockid_t clock_id, struct timex *utx), (clock_id,utx))
 F(int, clock_getcpuclockid, (pid_t pid, clockid_t *clk), (pid,clk))
 F(int, clock_getres, (clockid_t clk, struct timespec *ts), (clk,ts))
+F(int, clock_gettime, (clockid_t clk, struct timespec *ts), (clk,ts))
 F(int, clock_nanosleep, (clockid_t clk, int flags, const struct timespec *req, struct timespec *rem), (clk,flags,req,rem))
 F(int, clock_settime, (clockid_t clk, const struct timespec *ts), (clk,ts))
 F(double complex, clog, (double complex z), (z))
 F(float complex, clogf, (float complex z), (z))
 F(long double complex, clogl, (long double complex z), (z))
 F(int, clock_nanosleep, (clockid_t clk, int flags, const struct timespec *req, struct timespec *rem), (clk,flags,req,rem))
 F(int, clock_settime, (clockid_t clk, const struct timespec *ts), (clk,ts))
 F(double complex, clog, (double complex z), (z))
 F(float complex, clogf, (float complex z), (z))
 F(long double complex, clogl, (long double complex z), (z))
+XF(int, clone, (int (*func)(void *), void *stack, int flags, void *arg, ...))
 F(int, close, (int fd), (fd))
 F(int, closedir, (DIR *dir), (dir))
 V(void, closelog, (void), ())
 F(int, close, (int fd), (fd))
 F(int, closedir, (DIR *dir), (dir))
 V(void, closelog, (void), ())
@@ -371,7 +485,9 @@ F(double, creal, (double complex z), (z))
 F(float, crealf, (float complex z), (z))
 F(long double, creall, (long double complex z), (z))
 F(int, creat, (const char *filename, mode_t mode), (filename,mode))
 F(float, crealf, (float complex z), (z))
 F(long double, creall, (long double complex z), (z))
 F(int, creat, (const char *filename, mode_t mode), (filename,mode))
+F(int, creat64, (const char *filename, mode_t mode), (filename,mode))
 F(char *, crypt, (const char *key, const char *salt), (key,salt))
 F(char *, crypt, (const char *key, const char *salt), (key,salt))
+F(char *, crypt_r, (const char *key, const char *salt, struct crypt_data *data), (key,salt,data))
 F(double complex, csin, (double complex z), (z))
 F(float complex, csinf, (float complex z), (z))
 F(double complex, csinh, (double complex z), (z))
 F(double complex, csin, (double complex z), (z))
 F(float complex, csinf, (float complex z), (z))
 F(double complex, csinh, (double complex z), (z))
@@ -401,27 +517,37 @@ F(int, dirfd, (DIR *d), (d))
 F(char *, dirname, (char *s), (s))
 F(div_t, div, (int num, int den), (num,den))
 F(int, dl_iterate_phdr, (int(*callback)(struct dl_phdr_info *info, size_t size, void *data), void *data), (callback,data))
 F(char *, dirname, (char *s), (s))
 F(div_t, div, (int num, int den), (num,den))
 F(int, dl_iterate_phdr, (int(*callback)(struct dl_phdr_info *info, size_t size, void *data), void *data), (callback,data))
-F(int, dladdr, (void *addr, Dl_info *info), (addr,info))
+F(int, dladdr, (const void *addr, Dl_info *info), (addr,info))
 F(int, dlclose, (void *p), (p))
 F(char *, dlerror, (), ())
 F(int, dlinfo, (void *dso, int req, void *res), (dso,req,res))
 F(void *, dlopen, (const char *file, int mode), (file,mode))
 //F(void *, dlsym, (void *restrict p, const char *restrict s), (p,s))
 F(int, dlclose, (void *p), (p))
 F(char *, dlerror, (), ())
 F(int, dlinfo, (void *dso, int req, void *res), (dso,req,res))
 F(void *, dlopen, (const char *file, int mode), (file,mode))
 //F(void *, dlsym, (void *restrict p, const char *restrict s), (p,s))
+F(int, dn_comp, (const char *src, unsigned char *dst, int space, unsigned char **dnptrs, unsigned char **lastdnptr), (src,dst,space,dnptrs,lastdnptr))
+F(int, dn_expand, (const unsigned char *base, const unsigned char *end, const unsigned char *src, char *dest, int space), (base,end,src,dest,space))
 F(int, dn_skipname, (const unsigned char *s, const unsigned char *end), (s,end))
 F(char *, dngettext, (const char *domainname, const char *msgid1, const char *msgid2, unsigned long int n), (domainname,msgid1,msgid2,n))
 F(int, dn_skipname, (const unsigned char *s, const unsigned char *end), (s,end))
 F(char *, dngettext, (const char *domainname, const char *msgid1, const char *msgid2, unsigned long int n), (domainname,msgid1,msgid2,n))
-XF(int, dprintf, (int fd, const char *restrict fmt, ...))
+//XF(int, dprintf, (int fd, const char *restrict fmt, ...))
 F(double, drand48, (void), ())
 F(double, drand48, (void), ())
+F(double, drem, (double x, double y), (x,y))
+F(float, dremf, (float x, float y), (x,y))
 F(int, dup, (int fd), (fd))
 F(int, dup2, (int old, int new), (old,new))
 F(int, dup, (int fd), (fd))
 F(int, dup2, (int old, int new), (old,new))
+F(int, dup3, (int old, int new, int flags), (old,new,flags))
 F(locale_t, duplocale, (locale_t old), (old))
 F(locale_t, duplocale, (locale_t old), (old))
+F(int, eaccess, (const char *filename, int amode), (filename,amode))
 F(char *, ecvt, (double x, int n, int *dp, int *sign), (x,n,dp,sign))
 F(char *, ecvt, (double x, int n, int *dp, int *sign), (x,n,dp,sign))
+V(void, endgrent, (), ())
 V(void, endhostent, (void), ())
 F(int, endmntent, (FILE *f), (f))
 V(void, endhostent, (void), ())
 F(int, endmntent, (FILE *f), (f))
+V(void, endnetent, (void), ())
 V(void, endprotoent, (void), ())
 V(void, endprotoent, (void), ())
+V(void, endpwent, (), ())
 V(void, endservent, (void), ())
 V(void, endspent, (), ())
 V(void, endusershell, (void), ())
 V(void, endutxent, (void), ())
 V(void, endservent, (void), ())
 V(void, endspent, (), ())
 V(void, endusershell, (void), ())
 V(void, endutxent, (void), ())
+V(void, endutent, (void), ())
 F(int, epoll_create, (int size), (size))
 F(int, epoll_create1, (int flags), (flags))
 F(int, epoll_ctl, (int fd, int op, int fd2, struct epoll_event *ev), (fd,op,fd2,ev))
 F(int, epoll_create, (int size), (size))
 F(int, epoll_create1, (int flags), (flags))
 F(int, epoll_ctl, (int fd, int op, int fd2, struct epoll_event *ev), (fd,op,fd2,ev))
@@ -485,6 +611,7 @@ F(int, fdatasync, (int fd), (fd))
 F(double, fdim, (double x, double y), (x,y))
 F(float, fdimf, (float x, float y), (x,y))
 F(long double, fdiml, (long double x, long double y), (x,y))
 F(double, fdim, (double x, double y), (x,y))
 F(float, fdimf, (float x, float y), (x,y))
 F(long double, fdiml, (long double x, long double y), (x,y))
+F(FILE *, fdopen, (int fd, const char *mode), (fd,mode))
 F(DIR *, fdopendir, (int fd), (fd))
 F(int, feclearexcept, (int mask), (mask))
 F(int, fegetenv, (fenv_t *envp), (envp))
 F(DIR *, fdopendir, (int fd), (fd))
 F(int, feclearexcept, (int mask), (mask))
 F(int, fegetenv, (fenv_t *envp), (envp))
@@ -492,8 +619,10 @@ F(int, fegetexceptflag, (fexcept_t *fp, int mask), (fp,mask))
 F(int, fegetround, (void), ())
 F(int, feholdexcept, (fenv_t *envp), (envp))
 F(int, feof, (FILE *f), (f))
 F(int, fegetround, (void), ())
 F(int, feholdexcept, (fenv_t *envp), (envp))
 F(int, feof, (FILE *f), (f))
+F(int, feof_unlocked, (FILE *f), (f))
 F(int, feraiseexcept, (int mask), (mask))
 F(int, ferror, (FILE *f), (f))
 F(int, feraiseexcept, (int mask), (mask))
 F(int, ferror, (FILE *f), (f))
+F(int, ferror_unlocked, (FILE *f), (f))
 F(int, fesetenv, (const fenv_t *envp), (envp))
 F(int, fesetexceptflag, (const fexcept_t *fp, int mask), (fp,mask))
 F(int, fesetround, (int r), (r))
 F(int, fesetenv, (const fenv_t *envp), (envp))
 F(int, fesetexceptflag, (const fexcept_t *fp, int mask), (fp,mask))
 F(int, fesetround, (int r), (r))
@@ -501,18 +630,25 @@ F(int, fetestexcept, (int mask), (mask))
 F(int, feupdateenv, (const fenv_t *envp), (envp))
 F(int, fexecve, (int fd, char *const argv[], char *const envp[]), (fd,argv,envp))
 F(int, fflush, (FILE *f), (f))
 F(int, feupdateenv, (const fenv_t *envp), (envp))
 F(int, fexecve, (int fd, char *const argv[], char *const envp[]), (fd,argv,envp))
 F(int, fflush, (FILE *f), (f))
+F(int, fflush_unlocked, (FILE *f), (f))
 F(int, ffs, (int i), (i))
 F(int, fgetc, (FILE *f), (f))
 F(int, ffs, (int i), (i))
 F(int, fgetc, (FILE *f), (f))
+F(int, fgetc_unlocked, (FILE *f), (f))
+F(wint_t, fgetwc_unlocked, (FILE *f), (f))
 F(struct group *, fgetgrent, (FILE *f), (f))
 F(char *, fgetln, (FILE *f, size_t *plen), (f,plen))
 F(int, fgetpos, (FILE *restrict f, fpos_t *restrict pos), (f,pos))
 F(struct group *, fgetgrent, (FILE *f), (f))
 F(char *, fgetln, (FILE *f, size_t *plen), (f,plen))
 F(int, fgetpos, (FILE *restrict f, fpos_t *restrict pos), (f,pos))
+F(int, fgetpos64, (FILE *restrict f, fpos_t *restrict pos), (f,pos))
 F(struct passwd *, fgetpwent, (FILE *f), (f))
 F(char *, fgets, (char *restrict s, int n, FILE *restrict f), (s,n,f))
 F(struct passwd *, fgetpwent, (FILE *f), (f))
 F(char *, fgets, (char *restrict s, int n, FILE *restrict f), (s,n,f))
+F(char *, fgets_unlocked, (char *restrict s, int n, FILE *restrict f), (s,n,f))
 F(struct spwd *, fgetspent, (FILE *f), (f))
 F(wint_t, fgetwc, (FILE *f), (f))
 F(wchar_t *, fgetws, (wchar_t *restrict s, int n, FILE *restrict f), (s,n,f))
 F(struct spwd *, fgetspent, (FILE *f), (f))
 F(wint_t, fgetwc, (FILE *f), (f))
 F(wchar_t *, fgetws, (wchar_t *restrict s, int n, FILE *restrict f), (s,n,f))
+F(wchar_t *, fgetws_unlocked, (wchar_t *restrict s, int n, FILE *restrict f), (s,n,f))
 F(ssize_t, fgetxattr, (int filedes, const char *name, void *value, size_t size), (filedes,name,value,size))
 F(int, fileno, (FILE *f), (f))
 F(ssize_t, fgetxattr, (int filedes, const char *name, void *value, size_t size), (filedes,name,value,size))
 F(int, fileno, (FILE *f), (f))
+F(int, fileno_unlocked, (FILE *f), (f))
 F(int, finite, (double x), (x))
 F(int, finitef, (float x), (x))
 F(ssize_t, flistxattr, (int filedes, char *list, size_t size), (filedes,list,size))
 F(int, finite, (double x), (x))
 F(int, finitef, (float x), (x))
 F(ssize_t, flistxattr, (int filedes, char *list, size_t size), (filedes,list,size))
@@ -536,38 +672,58 @@ F(float, fmodf, (float x, float y), (x,y))
 F(long double, fmodl, (long double x, long double y), (x,y))
 F(int, fnmatch, (const char *pat, const char *str, int flags), (pat,str,flags))
 F(FILE *, fopen, (const char *restrict filename, const char *restrict mode), (filename,mode))
 F(long double, fmodl, (long double x, long double y), (x,y))
 F(int, fnmatch, (const char *pat, const char *str, int flags), (pat,str,flags))
 F(FILE *, fopen, (const char *restrict filename, const char *restrict mode), (filename,mode))
+F(FILE *, fopen64, (const char *restrict filename, const char *restrict mode), (filename,mode))
 F(pid_t, fork, (void), ())
 F(int, forkpty, (int *m, char *name, const struct termios *tio, const struct winsize *ws), (m,name,tio,ws))
 F(long, fpathconf, (int fd, int name), (fd,name))
 XF(int, fprintf, (FILE *restrict f, const char *restrict fmt, ...))
 F(pid_t, fork, (void), ())
 F(int, forkpty, (int *m, char *name, const struct termios *tio, const struct winsize *ws), (m,name,tio,ws))
 F(long, fpathconf, (int fd, int name), (fd,name))
 XF(int, fprintf, (FILE *restrict f, const char *restrict fmt, ...))
+F(int, fpurge, (FILE *f), (f))
 F(int, fputc, (int c, FILE *f), (c,f))
 F(int, fputc, (int c, FILE *f), (c,f))
+F(int, fputc_unlocked, (int c, FILE *f), (c,f))
+F(wint_t, fputwc_unlocked, (wchar_t c, FILE *f), (c,f))
 F(int, fputs, (const char *restrict s, FILE *restrict f), (s,f))
 F(int, fputs, (const char *restrict s, FILE *restrict f), (s,f))
+F(int, fputs_unlocked, (const char *restrict s, FILE *restrict f), (s,f))
 F(wint_t, fputwc, (wchar_t c, FILE *f), (c,f))
 F(int, fputws, (const wchar_t *restrict ws, FILE *restrict f), (ws,f))
 F(wint_t, fputwc, (wchar_t c, FILE *f), (c,f))
 F(int, fputws, (const wchar_t *restrict ws, FILE *restrict f), (ws,f))
+F(int, fputws_unlocked, (const wchar_t *restrict ws, FILE *restrict f), (ws,f))
 F(size_t, fread, (void *restrict destv, size_t size, size_t nmemb, FILE *restrict f), (destv,size,nmemb,f))
 F(size_t, fread, (void *restrict destv, size_t size, size_t nmemb, FILE *restrict f), (destv,size,nmemb,f))
+F(size_t, fread_unlocked, (void *restrict destv, size_t size, size_t nmemb, FILE *restrict f), (destv,size,nmemb,f))
 V(void, free, (void *p), (p))
 V(void, freeaddrinfo, (struct addrinfo *p), (p))
 V(void, freeifaddrs, (struct ifaddrs *ifp), (ifp))
 V(void, freelocale, (locale_t l), (l))
 F(int, fremovexattr, (int fd, const char *name), (fd,name))
 F(FILE *, freopen, (const char *restrict filename, const char *restrict mode, FILE *restrict f), (filename,mode,f))
 V(void, free, (void *p), (p))
 V(void, freeaddrinfo, (struct addrinfo *p), (p))
 V(void, freeifaddrs, (struct ifaddrs *ifp), (ifp))
 V(void, freelocale, (locale_t l), (l))
 F(int, fremovexattr, (int fd, const char *name), (fd,name))
 F(FILE *, freopen, (const char *restrict filename, const char *restrict mode, FILE *restrict f), (filename,mode,f))
+F(FILE *, freopen64, (const char *restrict filename, const char *restrict mode, FILE *restrict f), (filename,mode,f))
 F(double, frexp, (double x, int *e), (x,e))
 F(float, frexpf, (float x, int *e), (x,e))
 F(long double, frexpl, (long double x, int *e), (x,e))
 XF(int, fscanf, (FILE *restrict f, const char *restrict fmt, ...))
 F(int, fseek, (FILE *f, long off, int whence), (f,off,whence))
 F(double, frexp, (double x, int *e), (x,e))
 F(float, frexpf, (float x, int *e), (x,e))
 F(long double, frexpl, (long double x, int *e), (x,e))
 XF(int, fscanf, (FILE *restrict f, const char *restrict fmt, ...))
 F(int, fseek, (FILE *f, long off, int whence), (f,off,whence))
+F(int, fseeko, (FILE *f, off_t off, int whence), (f,off,whence))
+F(int, fseeko64, (FILE *f, off_t off, int whence), (f,off,whence))
 F(int, fsetpos, (FILE *f, const fpos_t *pos), (f,pos))
 F(int, fsetpos, (FILE *f, const fpos_t *pos), (f,pos))
+F(int, fsetpos64, (FILE *f, const fpos_t *pos), (f,pos))
 F(int, fsetxattr, (int filedes, const char *name, const void *value, size_t size, int flags), (filedes,name,value,size,flags))
 F(int, fstat, (int fd, struct stat *st), (fd,st))
 F(int, fsetxattr, (int filedes, const char *name, const void *value, size_t size, int flags), (filedes,name,value,size,flags))
 F(int, fstat, (int fd, struct stat *st), (fd,st))
+F(int, fstat64, (int fd, struct stat *st), (fd,st))
 F(int, fstatat, (int fd, const char *restrict path, struct stat *restrict buf, int flag), (fd,path,buf,flag))
 F(int, fstatat, (int fd, const char *restrict path, struct stat *restrict buf, int flag), (fd,path,buf,flag))
+F(int, fstatat64, (int fd, const char *restrict path, struct stat *restrict buf, int flag), (fd,path,buf,flag))
+F(int, fstatfs, (int fd, struct statfs *buf), (fd,buf))
+F(int, fstatfs64, (int fd, struct statfs *buf), (fd,buf))
 F(int, fstatvfs, (int fd, struct statvfs *buf), (fd,buf))
 F(int, fstatvfs, (int fd, struct statvfs *buf), (fd,buf))
+F(int, fstatvfs64, (int fd, struct statvfs *buf), (fd,buf))
 F(int, fsync, (int fd), (fd))
 F(long, ftell, (FILE *f), (f))
 F(int, fsync, (int fd), (fd))
 F(long, ftell, (FILE *f), (f))
+F(off_t, ftello, (FILE *f), (f))
+F(off_t, ftello64, (FILE *f), (f))
 F(int, ftime, (struct timeb *tp), (tp))
 F(key_t, ftok, (const char *path, int id), (path,id))
 F(int, ftruncate, (int fd, off_t length), (fd,length))
 F(int, ftime, (struct timeb *tp), (tp))
 F(key_t, ftok, (const char *path, int id), (path,id))
 F(int, ftruncate, (int fd, off_t length), (fd,length))
+F(int, ftruncate64, (int fd, off_t length), (fd,length))
 F(int, ftrylockfile, (FILE *f), (f))
 F(int, ftw, (const char *path, int (*fn)(const char *, const struct stat *, int), int fd_limit), (path,fn,fd_limit))
 F(int, ftrylockfile, (FILE *f), (f))
 F(int, ftw, (const char *path, int (*fn)(const char *, const struct stat *, int), int fd_limit), (path,fn,fd_limit))
+F(int, ftw64, (const char *path, int (*fn)(const char *, const struct stat *, int), int fd_limit), (path,fn,fd_limit))
 V(void, funlockfile, (FILE *f), (f))
 F(int, futimens, (int fd, const struct timespec times[2]), (fd,times))
 F(int, futimes, (int fd, const struct timeval tv[2]), (fd,tv))
 V(void, funlockfile, (FILE *f), (f))
 F(int, futimens, (int fd, const struct timespec times[2]), (fd,times))
 F(int, futimes, (int fd, const struct timeval tv[2]), (fd,tv))
@@ -575,6 +731,7 @@ F(int, futimesat, (int dirfd, const char *pathname, const struct timeval times[2
 F(int, fwide, (FILE *f, int mode), (f,mode))
 XF(int, fwprintf, (FILE *restrict f, const wchar_t *restrict fmt, ...))
 F(size_t, fwrite, (const void *restrict src, size_t size, size_t nmemb, FILE *restrict f), (src,size,nmemb,f))
 F(int, fwide, (FILE *f, int mode), (f,mode))
 XF(int, fwprintf, (FILE *restrict f, const wchar_t *restrict fmt, ...))
 F(size_t, fwrite, (const void *restrict src, size_t size, size_t nmemb, FILE *restrict f), (src,size,nmemb,f))
+F(size_t, fwrite_unlocked, (const void *restrict src, size_t size, size_t nmemb, FILE *restrict f), (src,size,nmemb,f))
 XF(int, fwscanf, (FILE *restrict f, const wchar_t *restrict fmt, ...))
 F(const char *, gai_strerror, (int ecode), (ecode))
 F(char *, gcvt, (double x, int n, char *b), (x,n,b))
 XF(int, fwscanf, (FILE *restrict f, const wchar_t *restrict fmt, ...))
 F(const char *, gai_strerror, (int ecode), (ecode))
 F(char *, gcvt, (double x, int n, char *b), (x,n,b))
@@ -587,6 +744,8 @@ F(int, getchar_unlocked, (void), ())
 F(char *, getcwd, (char *buf, size_t size), (buf,size))
 F(struct tm *, getdate, (const char *s), (s))
 F(ssize_t, getdelim, (char **restrict s, size_t *restrict n, int delim, FILE *restrict f), (s,n,delim,f))
 F(char *, getcwd, (char *buf, size_t size), (buf,size))
 F(struct tm *, getdate, (const char *s), (s))
 F(ssize_t, getdelim, (char **restrict s, size_t *restrict n, int delim, FILE *restrict f), (s,n,delim,f))
+F(int, getdents, (int fd, struct dirent *buf, size_t len), (fd,buf,len))
+F(int, getdents64, (int fd, struct dirent *buf, size_t len), (fd,buf,len))
 F(int, getdomainname, (char *name, size_t len), (name,len))
 F(int, getdtablesize, (void), ())
 F(gid_t, getegid, (void), ())
 F(int, getdomainname, (char *name, size_t len), (name,len))
 F(int, getdtablesize, (void), ())
 F(gid_t, getegid, (void), ())
@@ -618,6 +777,7 @@ F(int, getlogin_r, (char *name, size_t size), (name,size))
 F(struct mntent *, getmntent, (FILE *f), (f))
 F(struct mntent *, getmntent_r, (FILE *f, struct mntent *mnt, char *linebuf, int buflen), (f,mnt,linebuf,buflen))
 F(int, getnameinfo, (const struct sockaddr *restrict sa, socklen_t sl, char *restrict node, socklen_t nodelen, char *restrict serv, socklen_t servlen, int flags), (sa,sl,node,nodelen,serv,servlen,flags))
 F(struct mntent *, getmntent, (FILE *f), (f))
 F(struct mntent *, getmntent_r, (FILE *f, struct mntent *mnt, char *linebuf, int buflen), (f,mnt,linebuf,buflen))
 F(int, getnameinfo, (const struct sockaddr *restrict sa, socklen_t sl, char *restrict node, socklen_t nodelen, char *restrict serv, socklen_t servlen, int flags), (sa,sl,node,nodelen,serv,servlen,flags))
+F(struct netent *, getnetent, (void), ())
 F(struct netent *, getnetbyaddr, (uint32_t net, int type), (net,type))
 F(struct netent *, getnetbyname, (const char *name), (name))
 F(int, getopt, (int argc, char * const argv[], const char *optstring), (argc,argv,optstring))
 F(struct netent *, getnetbyaddr, (uint32_t net, int type), (net,type))
 F(struct netent *, getnetbyname, (const char *name), (name))
 F(int, getopt, (int argc, char * const argv[], const char *optstring), (argc,argv,optstring))
@@ -642,6 +802,7 @@ F(int, getpwuid_r, (uid_t uid, struct passwd *pw, char *buf, size_t size, struct
 F(int, getresgid, (gid_t *rgid, gid_t *egid, gid_t *sgid), (rgid,egid,sgid))
 F(int, getresuid, (uid_t *ruid, uid_t *euid, uid_t *suid), (ruid,euid,suid))
 F(int, getrlimit, (int resource, struct rlimit *rlim), (resource,rlim))
 F(int, getresgid, (gid_t *rgid, gid_t *egid, gid_t *sgid), (rgid,egid,sgid))
 F(int, getresuid, (uid_t *ruid, uid_t *euid, uid_t *suid), (ruid,euid,suid))
 F(int, getrlimit, (int resource, struct rlimit *rlim), (resource,rlim))
+F(int, getrlimit64, (int resource, struct rlimit *rlim), (resource,rlim))
 F(int, getrusage, (int who, struct rusage *ru), (who,ru))
 F(char *, gets, (char *s), (s))
 F(struct servent *, getservbyname, (const char *name, const char *prots), (name,prots))
 F(int, getrusage, (int who, struct rusage *ru), (who,ru))
 F(char *, gets, (char *s), (s))
 F(struct servent *, getservbyname, (const char *name, const char *prots), (name,prots))
@@ -660,16 +821,24 @@ F(char *, gettext, (const char *msgid), (msgid))
 F(int, gettimeofday, (struct timeval *restrict tv, void *restrict tz), (tv,tz))
 F(uid_t, getuid, (void), ())
 F(char *, getusershell, (void), ())
 F(int, gettimeofday, (struct timeval *restrict tv, void *restrict tz), (tv,tz))
 F(uid_t, getuid, (void), ())
 F(char *, getusershell, (void), ())
+F(struct utmp *, getutent, (void), ())
+F(struct utmp *, getutid, (const struct utmp *ut), (ut))
+F(struct utmp *, getutline, (const struct utmp *ut), (ut))
 F(struct utmpx *, getutxent, (void), ())
 F(struct utmpx *, getutxid, (const struct utmpx *ut), (ut))
 F(struct utmpx *, getutxline, (const struct utmpx *ut), (ut))
 F(int, getw, (FILE *f), (f))
 F(wint_t, getwc, (FILE *f), (f))
 F(struct utmpx *, getutxent, (void), ())
 F(struct utmpx *, getutxid, (const struct utmpx *ut), (ut))
 F(struct utmpx *, getutxline, (const struct utmpx *ut), (ut))
 F(int, getw, (FILE *f), (f))
 F(wint_t, getwc, (FILE *f), (f))
+F(wint_t, getwc_unlocked, (FILE *f), (f))
 F(wint_t, getwchar, (void), ())
 F(wint_t, getwchar, (void), ())
+F(wint_t, getwchar_unlocked, (void), ())
 F(ssize_t, getxattr, (const char *path, const char *name, void *value, size_t size), (path,name,value,size))
 F(int, glob, (const char *restrict pat, int flags, int (*errfunc)(const char *path, int err), glob_t *restrict g), (pat,flags,errfunc,g))
 F(ssize_t, getxattr, (const char *path, const char *name, void *value, size_t size), (path,name,value,size))
 F(int, glob, (const char *restrict pat, int flags, int (*errfunc)(const char *path, int err), glob_t *restrict g), (pat,flags,errfunc,g))
+F(int, glob64, (const char *restrict pat, int flags, int (*errfunc)(const char *path, int err), glob_t *restrict g), (pat,flags,errfunc,g))
 V(void, globfree, (glob_t *g), (g))
 V(void, globfree, (glob_t *g), (g))
+V(void, globfree64, (glob_t *g), (g))
 F(struct tm *, gmtime, (const time_t *t), (t))
 F(struct tm *, gmtime, (const time_t *t), (t))
+F(struct tm *, gmtime_r, (const time_t *restrict t, struct tm *restrict tm), (t,tm))
 F(int, grantpt, (int fd), (fd))
 F(char *, hasmntopt, (const struct mntent *mnt, const char *opt), (mnt,opt))
 F(int, hcreate, (size_t nel), (nel))
 F(int, grantpt, (int fd), (fd))
 F(char *, hasmntopt, (const struct mntent *mnt, const char *opt), (mnt,opt))
 F(int, hcreate, (size_t nel), (nel))
@@ -698,7 +867,7 @@ F(char *, index, (const char *s, int c), (s,c))
 F(in_addr_t, inet_addr, (const char *p), (p))
 F(int, inet_aton, (const char *cp, struct in_addr *inp), (cp,inp))
 F(in_addr_t, inet_lnaof, (struct in_addr in), (in))
 F(in_addr_t, inet_addr, (const char *p), (p))
 F(int, inet_aton, (const char *cp, struct in_addr *inp), (cp,inp))
 F(in_addr_t, inet_lnaof, (struct in_addr in), (in))
-F(struct in_addr, inet_makeaddr, (int net, int host), (net,host))
+F(struct in_addr, inet_makeaddr, (in_addr_t net, in_addr_t host), (net,host))
 F(in_addr_t, inet_netof, (struct in_addr in), (in))
 F(in_addr_t, inet_network, (const char *p), (p))
 F(char *, inet_ntoa, (struct in_addr in), (in))
 F(in_addr_t, inet_netof, (struct in_addr in), (in))
 F(in_addr_t, inet_network, (const char *p), (p))
 F(char *, inet_ntoa, (struct in_addr in), (in))
@@ -710,7 +879,7 @@ F(char *, initstate, (unsigned seed, char *state, size_t size), (seed,state,size
 F(int, inotify_add_watch, (int fd, const char *pathname, uint32_t mask), (fd,pathname,mask))
 F(int, inotify_init, (), ())
 F(int, inotify_init1, (int flags), (flags))
 F(int, inotify_add_watch, (int fd, const char *pathname, uint32_t mask), (fd,pathname,mask))
 F(int, inotify_init, (), ())
 F(int, inotify_init1, (int flags), (flags))
-F(int, inotify_rm_watch, (int fd, uint32_t wd), (fd,wd))
+F(int, inotify_rm_watch, (int fd, int wd), (fd,wd))
 V(void, insque, (void *element, void *pred), (element,pred))
 XF(int, ioctl, (int fd, int req, ...))
 F(int, ioperm, (unsigned long from, unsigned long num, int turn_on), (from,num,turn_on))
 V(void, insque, (void *element, void *pred), (element,pred))
 XF(int, ioctl, (int fd, int req, ...))
 F(int, ioperm, (unsigned long from, unsigned long num, int turn_on), (from,num,turn_on))
@@ -790,6 +959,9 @@ F(long double, ldexpl, (long double x, int n), (x,n))
 F(ldiv_t, ldiv, (long num, long den), (num,den))
 F(void *, lfind, (const void *key, const void *base, size_t *nelp, size_t width, int (*compar)(const void *, const void *)), (key,base,nelp,width,compar))
 F(double, lgamma, (double x), (x))
 F(ldiv_t, ldiv, (long num, long den), (num,den))
 F(void *, lfind, (const void *key, const void *base, size_t *nelp, size_t width, int (*compar)(const void *, const void *)), (key,base,nelp,width,compar))
 F(double, lgamma, (double x), (x))
+F(double, lgamma_r, (double x, int *signgamp), (x,signgamp))
+F(float, lgammaf_r, (float x, int *signgamp), (x,signgamp))
+F(long double, lgammal_r, (long double x, int *sg), (x,sg))
 F(float, lgammaf, (float x), (x))
 F(long double, lgammal, (long double x), (x))
 F(ssize_t, lgetxattr, (const char *path, const char *name, void *value, size_t size), (path,name,value,size))
 F(float, lgammaf, (float x), (x))
 F(long double, lgammal, (long double x), (x))
 F(ssize_t, lgetxattr, (const char *path, const char *name, void *value, size_t size), (path,name,value,size))
@@ -809,7 +981,9 @@ F(long long, llroundf, (float x), (x))
 F(long long, llroundl, (long double x), (x))
 F(struct lconv *, localeconv, (void), ())
 F(struct tm *, localtime, (const time_t *t), (t))
 F(long long, llroundl, (long double x), (x))
 F(struct lconv *, localeconv, (void), ())
 F(struct tm *, localtime, (const time_t *t), (t))
+F(struct tm *, localtime_r, (const time_t *restrict t, struct tm *restrict tm), (t,tm))
 F(int, lockf, (int fd, int op, off_t size), (fd,op,size))
 F(int, lockf, (int fd, int op, off_t size), (fd,op,size))
+F(int, lockf64, (int fd, int op, off_t size), (fd,op,size))
 F(double, log, (double x), (x))
 F(double, log10, (double x), (x))
 F(float, log10f, (float x), (x))
 F(double, log, (double x), (x))
 F(double, log10, (double x), (x))
 F(float, log10f, (float x), (x))
@@ -825,6 +999,7 @@ F(float, logbf, (float x), (x))
 F(long double, logbl, (long double x), (x))
 F(float, logf, (float x), (x))
 F(long double, logl, (long double x), (x))
 F(long double, logbl, (long double x), (x))
 F(float, logf, (float x), (x))
 F(long double, logl, (long double x), (x))
+V(_Noreturn void, longjmp, (jmp_buf buf, int v), (buf,v))
 F(long, lrand48, (void), ())
 F(int, lremovexattr, (const char *path, const char *name), (path,name))
 F(long, lrint, (double x), (x))
 F(long, lrand48, (void), ())
 F(int, lremovexattr, (const char *path, const char *name), (path,name))
 F(long, lrint, (double x), (x))
@@ -835,9 +1010,12 @@ F(long, lroundf, (float x), (x))
 F(long, lroundl, (long double x), (x))
 F(void *, lsearch, (const void *key, void *base, size_t *nelp, size_t width, int (*compar)(const void *, const void *)), (key,base,nelp,width,compar))
 F(off_t, lseek, (int fd, off_t offset, int whence), (fd,offset,whence))
 F(long, lroundl, (long double x), (x))
 F(void *, lsearch, (const void *key, void *base, size_t *nelp, size_t width, int (*compar)(const void *, const void *)), (key,base,nelp,width,compar))
 F(off_t, lseek, (int fd, off_t offset, int whence), (fd,offset,whence))
+F(off_t, lseek64, (int fd, off_t offset, int whence), (fd,offset,whence))
 F(int, lsetxattr, (const char *path, const char *name, const void *value, size_t size, int flags), (path,name,value,size,flags))
 F(int, lstat, (const char *restrict path, struct stat *restrict buf), (path,buf))
 F(int, lsetxattr, (const char *path, const char *name, const void *value, size_t size, int flags), (path,name,value,size,flags))
 F(int, lstat, (const char *restrict path, struct stat *restrict buf), (path,buf))
+F(int, lstat64, (const char *restrict path, struct stat *restrict buf), (path,buf))
 F(int, lutimes, (const char *filename, const struct timeval tv[2]), (filename,tv))
 F(int, lutimes, (const char *filename, const struct timeval tv[2]), (filename,tv))
+F(int, madvise, (void *addr, size_t len, int advice), (addr,len,advice))
 F(void *, malloc, (size_t n), (n))
 F(int, mblen, (const char *s, size_t n), (s,n))
 F(size_t, mbrlen, (const char *restrict s, size_t n, mbstate_t *restrict st), (s,n,st))
 F(void *, malloc, (size_t n), (n))
 F(int, mblen, (const char *s, size_t n), (s,n))
 F(size_t, mbrlen, (const char *restrict s, size_t n, mbstate_t *restrict st), (s,n,st))
@@ -847,6 +1025,7 @@ F(size_t, mbsnrtowcs, (wchar_t *restrict wcs, const char **restrict src, size_t
 F(size_t, mbsrtowcs, (wchar_t *restrict ws, const char **restrict src, size_t wn, mbstate_t *restrict st), (ws,src,wn,st))
 F(size_t, mbstowcs, (wchar_t *restrict ws, const char *restrict s, size_t wn), (ws,s,wn))
 F(int, mbtowc, (wchar_t *restrict wc, const char *restrict src, size_t n), (wc,src,n))
 F(size_t, mbsrtowcs, (wchar_t *restrict ws, const char **restrict src, size_t wn, mbstate_t *restrict st), (ws,src,wn,st))
 F(size_t, mbstowcs, (wchar_t *restrict ws, const char *restrict s, size_t wn), (ws,s,wn))
 F(int, mbtowc, (wchar_t *restrict wc, const char *restrict src, size_t n), (wc,src,n))
+F(void *, memalign, (size_t align, size_t len), (align,len))
 F(void *, memccpy, (void *restrict dest, const void *restrict src, int c, size_t n), (dest,src,c,n))
 F(void *, memchr, (const void *src, int c, size_t n), (src,c,n))
 F(int, memcmp, (const void *vl, const void *vr, size_t n), (vl,vr,n))
 F(void *, memccpy, (void *restrict dest, const void *restrict src, int c, size_t n), (dest,src,c,n))
 F(void *, memchr, (const void *src, int c, size_t n), (src,c,n))
 F(int, memcmp, (const void *vl, const void *vr, size_t n), (vl,vr,n))
@@ -854,6 +1033,7 @@ F(void *, memcpy, (void *restrict dest, const void *restrict src, size_t n), (de
 F(void *, memmem, (const void *h0, size_t k, const void *n0, size_t l), (h0,k,n0,l))
 F(void *, memmove, (void *dest, const void *src, size_t n), (dest,src,n))
 F(void *, mempcpy, (void *dest, const void *src, size_t n), (dest,src,n))
 F(void *, memmem, (const void *h0, size_t k, const void *n0, size_t l), (h0,k,n0,l))
 F(void *, memmove, (void *dest, const void *src, size_t n), (dest,src,n))
 F(void *, mempcpy, (void *dest, const void *src, size_t n), (dest,src,n))
+F(void *, memrchr, (const void *m, int c, size_t n), (m,c,n))
 F(void *, memset, (void *dest, int c, size_t n), (dest,c,n))
 F(int, mincore, (void *addr, size_t len, unsigned char *vec), (addr,len,vec))
 F(int, mkdir, (const char *path, mode_t mode), (path,mode))
 F(void *, memset, (void *dest, int c, size_t n), (dest,c,n))
 F(int, mincore, (void *addr, size_t len, unsigned char *vec), (addr,len,vec))
 F(int, mkdir, (const char *path, mode_t mode), (path,mode))
@@ -864,12 +1044,19 @@ F(int, mkfifoat, (int fd, const char *path, mode_t mode), (fd,path,mode))
 F(int, mknod, (const char *path, mode_t mode, dev_t dev), (path,mode,dev))
 F(int, mknodat, (int fd, const char *path, mode_t mode, dev_t dev), (fd,path,mode,dev))
 F(int, mkostemp, (char *template, int flags), (template,flags))
 F(int, mknod, (const char *path, mode_t mode, dev_t dev), (path,mode,dev))
 F(int, mknodat, (int fd, const char *path, mode_t mode, dev_t dev), (fd,path,mode,dev))
 F(int, mkostemp, (char *template, int flags), (template,flags))
+F(int, mkostemp64, (char *template, int flags), (template,flags))
+F(int, mkostemps, (char *template, int len, int flags), (template,len,flags))
+F(int, mkostemps64, (char *template, int len, int flags), (template,len,flags))
 F(int, mkstemp, (char *template), (template))
 F(int, mkstemp, (char *template), (template))
+F(int, mkstemp64, (char *template), (template))
 F(int, mkstemps, (char *template, int len), (template,len))
 F(int, mkstemps, (char *template, int len), (template,len))
+F(int, mkstemps64, (char *template, int len), (template,len))
 F(char *, mktemp, (char *template), (template))
 F(time_t, mktime, (struct tm *tm), (tm))
 F(int, mlock, (const void *addr, size_t len), (addr,len))
 F(int, mlockall, (int flags), (flags))
 F(char *, mktemp, (char *template), (template))
 F(time_t, mktime, (struct tm *tm), (tm))
 F(int, mlock, (const void *addr, size_t len), (addr,len))
 F(int, mlockall, (int flags), (flags))
+F(void *, mmap, (void *start, size_t len, int prot, int flags, int fd, off_t off), (start,len,prot,flags,fd,off))
+F(void *, mmap64, (void *start, size_t len, int prot, int flags, int fd, off_t off), (start,len,prot,flags,fd,off))
 F(double, modf, (double x, double *iptr), (x,iptr))
 F(float, modff, (float x, float *iptr), (x,iptr))
 F(long double, modfl, (long double x, long double *iptr), (x,iptr))
 F(double, modf, (double x, double *iptr), (x,iptr))
 F(float, modff, (float x, float *iptr), (x,iptr))
 F(long double, modfl, (long double x, long double *iptr), (x,iptr))
@@ -886,6 +1073,7 @@ F(ssize_t, mq_timedreceive, (mqd_t mqd, char *restrict msg, size_t len, unsigned
 F(int, mq_timedsend, (mqd_t mqd, const char *msg, size_t len, unsigned prio, const struct timespec *at), (mqd,msg,len,prio,at))
 F(int, mq_unlink, (const char *name), (name))
 F(long, mrand48, (void), ())
 F(int, mq_timedsend, (mqd_t mqd, const char *msg, size_t len, unsigned prio, const struct timespec *at), (mqd,msg,len,prio,at))
 F(int, mq_unlink, (const char *name), (name))
 F(long, mrand48, (void), ())
+XF(void *, mremap, (void *old_addr, size_t old_len, size_t new_len, int flags, ...))
 F(int, msgctl, (int q, int cmd, struct msqid_ds *buf), (q,cmd,buf))
 F(int, msgget, (key_t k, int flag), (k,flag))
 F(ssize_t, msgrcv, (int q, void *m, size_t len, long type, int flag), (q,m,len,type,flag))
 F(int, msgctl, (int q, int cmd, struct msqid_ds *buf), (q,cmd,buf))
 F(int, msgget, (key_t k, int flag), (k,flag))
 F(ssize_t, msgrcv, (int q, void *m, size_t len, long type, int flag), (q,m,len,type,flag))
@@ -893,6 +1081,7 @@ F(int, msgsnd, (int q, const void *m, size_t len, int flag), (q,m,len,flag))
 F(int, msync, (void *start, size_t len, int flags), (start,len,flags))
 F(int, munlock, (const void *addr, size_t len), (addr,len))
 F(int, munlockall, (void), ())
 F(int, msync, (void *start, size_t len, int flags), (start,len,flags))
 F(int, munlock, (const void *addr, size_t len), (addr,len))
 F(int, munlockall, (void), ())
+F(int, munmap, (void *start, size_t len), (start,len))
 F(double, nan, (const char *s), (s))
 F(float, nanf, (const char *s), (s))
 F(long double, nanl, (const char *s), (s))
 F(double, nan, (const char *s), (s))
 F(float, nanf, (const char *s), (s))
 F(long double, nanl, (const char *s), (s))
@@ -908,15 +1097,20 @@ F(double, nexttoward, (double x, long double y), (x,y))
 F(float, nexttowardf, (float x, long double y), (x,y))
 F(long double, nexttowardl, (long double x, long double y), (x,y))
 F(int, nftw, (const char *path, int (*fn)(const char *, const struct stat *, int, struct FTW *), int fd_limit, int flags), (path,fn,fd_limit,flags))
 F(float, nexttowardf, (float x, long double y), (x,y))
 F(long double, nexttowardl, (long double x, long double y), (x,y))
 F(int, nftw, (const char *path, int (*fn)(const char *, const struct stat *, int, struct FTW *), int fd_limit, int flags), (path,fn,fd_limit,flags))
+F(int, nftw64, (const char *path, int (*fn)(const char *, const struct stat *, int, struct FTW *), int fd_limit, int flags), (path,fn,fd_limit,flags))
 F(char *, ngettext, (const char *msgid1, const char *msgid2, unsigned long int n), (msgid1,msgid2,n))
 F(int, nice, (int inc), (inc))
 F(char *, ngettext, (const char *msgid1, const char *msgid2, unsigned long int n), (msgid1,msgid2,n))
 F(int, nice, (int inc), (inc))
+F(char *, nl_langinfo, (nl_item item), (item))
+F(char *, nl_langinfo_l, (nl_item item, locale_t loc), (item,loc))
 F(long, nrand48, (unsigned short s[3]), (s))
 F(uint32_t, ntohl, (uint32_t n), (n))
 F(uint16_t, ntohs, (uint16_t n), (n))
 XF(int, open, (const char *filename, int flags, ...))
 F(long, nrand48, (unsigned short s[3]), (s))
 F(uint32_t, ntohl, (uint32_t n), (n))
 F(uint16_t, ntohs, (uint16_t n), (n))
 XF(int, open, (const char *filename, int flags, ...))
+XF(int, open64, (const char *filename, int flags, ...))
 F(FILE *, open_memstream, (char **bufp, size_t *sizep), (bufp,sizep))
 F(FILE *, open_wmemstream, (wchar_t **bufp, size_t *sizep), (bufp,sizep))
 XF(int, openat, (int fd, const char *filename, int flags, ...))
 F(FILE *, open_memstream, (char **bufp, size_t *sizep), (bufp,sizep))
 F(FILE *, open_wmemstream, (wchar_t **bufp, size_t *sizep), (bufp,sizep))
 XF(int, openat, (int fd, const char *filename, int flags, ...))
+XF(int, openat64, (int fd, const char *filename, int flags, ...))
 F(DIR *, opendir, (const char *name), (name))
 V(void, openlog, (const char *ident, int opt, int facility), (ident,opt,facility))
 F(int, openpty, (int *m, int *s, char *name, const struct termios *tio, const struct winsize *ws), (m,s,name,tio,ws))
 F(DIR *, opendir, (const char *name), (name))
 V(void, openlog, (const char *ident, int opt, int facility), (ident,opt,facility))
 F(int, openpty, (int *m, int *s, char *name, const struct termios *tio, const struct winsize *ws), (m,s,name,tio,ws))
@@ -958,14 +1152,20 @@ F(int, posix_spawnattr_setsigdefault, (posix_spawnattr_t *restrict attr, const s
 F(int, posix_spawnattr_setsigmask, (posix_spawnattr_t *restrict attr, const sigset_t *restrict mask), (attr,mask))
 F(int, posix_spawnp, (pid_t *restrict res, const char *restrict file, const posix_spawn_file_actions_t *fa, const posix_spawnattr_t *restrict attr, char *const argv[restrict], char *const envp[restrict]), (res,file,fa,attr,argv,envp))
 F(double, pow, (double x, double y), (x,y))
 F(int, posix_spawnattr_setsigmask, (posix_spawnattr_t *restrict attr, const sigset_t *restrict mask), (attr,mask))
 F(int, posix_spawnp, (pid_t *restrict res, const char *restrict file, const posix_spawn_file_actions_t *fa, const posix_spawnattr_t *restrict attr, char *const argv[restrict], char *const envp[restrict]), (res,file,fa,attr,argv,envp))
 F(double, pow, (double x, double y), (x,y))
+F(double, pow10, (double x), (x))
+F(float, pow10f, (float x), (x))
+F(long double, pow10l, (long double x), (x))
 F(float, powf, (float x, float y), (x,y))
 F(long double, powl, (long double x, long double y), (x,y))
 F(int, ppoll, (struct pollfd *fds, nfds_t n, const struct timespec *to, const sigset_t *mask), (fds,n,to,mask))
 XF(int, prctl, (int op, ...))
 F(ssize_t, pread, (int fd, void *buf, size_t size, off_t ofs), (fd,buf,size,ofs))
 F(float, powf, (float x, float y), (x,y))
 F(long double, powl, (long double x, long double y), (x,y))
 F(int, ppoll, (struct pollfd *fds, nfds_t n, const struct timespec *to, const sigset_t *mask), (fds,n,to,mask))
 XF(int, prctl, (int op, ...))
 F(ssize_t, pread, (int fd, void *buf, size_t size, off_t ofs), (fd,buf,size,ofs))
+F(ssize_t, pread64, (int fd, void *buf, size_t size, off_t ofs), (fd,buf,size,ofs))
 F(ssize_t, preadv, (int fd, const struct iovec *iov, int count, off_t ofs), (fd,iov,count,ofs))
 F(ssize_t, preadv, (int fd, const struct iovec *iov, int count, off_t ofs), (fd,iov,count,ofs))
+F(ssize_t, preadv64, (int fd, const struct iovec *iov, int count, off_t ofs), (fd,iov,count,ofs))
 XF(int, printf, (const char *restrict fmt, ...))
 F(int, prlimit, (pid_t pid, int resource, const struct rlimit *new_limit, struct rlimit *old_limit), (pid,resource,new_limit,old_limit))
 XF(int, printf, (const char *restrict fmt, ...))
 F(int, prlimit, (pid_t pid, int resource, const struct rlimit *new_limit, struct rlimit *old_limit), (pid,resource,new_limit,old_limit))
+F(int, prlimit64, (pid_t pid, int resource, const struct rlimit *new_limit, struct rlimit *old_limit), (pid,resource,new_limit,old_limit))
 F(ssize_t, process_vm_readv, (pid_t pid, const struct iovec *lvec, unsigned long liovcnt, const struct iovec *rvec, unsigned long riovcnt, unsigned long flags), (pid,lvec,liovcnt,rvec,riovcnt,flags))
 F(ssize_t, process_vm_writev, (pid_t pid, const struct iovec *lvec, unsigned long liovcnt, const struct iovec *rvec, unsigned long riovcnt, unsigned long flags), (pid,lvec,liovcnt,rvec,riovcnt,flags))
 F(int, pselect, (int n, fd_set *restrict rfds, fd_set *restrict wfds, fd_set *restrict efds, const struct timespec *restrict ts, const sigset_t *restrict mask), (n,rfds,wfds,efds,ts,mask))
 F(ssize_t, process_vm_readv, (pid_t pid, const struct iovec *lvec, unsigned long liovcnt, const struct iovec *rvec, unsigned long riovcnt, unsigned long flags), (pid,lvec,liovcnt,rvec,riovcnt,flags))
 F(ssize_t, process_vm_writev, (pid_t pid, const struct iovec *lvec, unsigned long liovcnt, const struct iovec *rvec, unsigned long riovcnt, unsigned long flags), (pid,lvec,liovcnt,rvec,riovcnt,flags))
 F(int, pselect, (int n, fd_set *restrict rfds, fd_set *restrict wfds, fd_set *restrict efds, const struct timespec *restrict ts, const sigset_t *restrict mask), (n,rfds,wfds,efds,ts,mask))
@@ -1057,6 +1257,7 @@ F(int, pthread_rwlockattr_destroy, (pthread_rwlockattr_t *a), (a))
 F(int, pthread_rwlockattr_getpshared, (const pthread_rwlockattr_t *restrict a, int *restrict pshared), (a,pshared))
 F(int, pthread_rwlockattr_init, (pthread_rwlockattr_t *a), (a))
 F(int, pthread_rwlockattr_setpshared, (pthread_rwlockattr_t *a, int pshared), (a,pshared))
 F(int, pthread_rwlockattr_getpshared, (const pthread_rwlockattr_t *restrict a, int *restrict pshared), (a,pshared))
 F(int, pthread_rwlockattr_init, (pthread_rwlockattr_t *a), (a))
 F(int, pthread_rwlockattr_setpshared, (pthread_rwlockattr_t *a, int pshared), (a,pshared))
+F(pthread_t, pthread_self, (), ())
 F(int, pthread_setaffinity_np, (pthread_t td, size_t size, const cpu_set_t *set), (td,size,set))
 F(int, pthread_setcancelstate, (int new, int *old), (new,old))
 F(int, pthread_setcanceltype, (int new, int *old), (new,old))
 F(int, pthread_setaffinity_np, (pthread_t td, size_t size, const cpu_set_t *set), (td,size,set))
 F(int, pthread_setcancelstate, (int new, int *old), (new,old))
 F(int, pthread_setcanceltype, (int new, int *old), (new,old))
@@ -1073,6 +1274,7 @@ F(int, pthread_spin_unlock, (pthread_spinlock_t *s), (s))
 V(void, pthread_testcancel, (), ())
 XF(long, ptrace, (int req, ...))
 F(char *, ptsname, (int fd), (fd))
 V(void, pthread_testcancel, (), ())
 XF(long, ptrace, (int req, ...))
 F(char *, ptsname, (int fd), (fd))
+F(int, ptsname_r, (int fd, char *buf, size_t len), (fd,buf,len))
 F(int, putc, (int c, FILE *f), (c,f))
 F(int, putc_unlocked, (int c, FILE *f), (c,f))
 F(int, putchar, (int c), (c))
 F(int, putc, (int c, FILE *f), (c,f))
 F(int, putc_unlocked, (int c, FILE *f), (c,f))
 F(int, putchar, (int c), (c))
@@ -1082,12 +1284,17 @@ F(int, putgrent, (const struct group *gr, FILE *f), (gr,f))
 F(int, putpwent, (const struct passwd *pw, FILE *f), (pw,f))
 F(int, puts, (const char *s), (s))
 F(int, putspent, (const struct spwd *sp, FILE *f), (sp,f))
 F(int, putpwent, (const struct passwd *pw, FILE *f), (pw,f))
 F(int, puts, (const char *s), (s))
 F(int, putspent, (const struct spwd *sp, FILE *f), (sp,f))
+F(struct utmp *, pututline, (const struct utmp *ut), (ut))
 F(struct utmpx *, pututxline, (const struct utmpx *ut), (ut))
 F(int, putw, (int x, FILE *f), (x,f))
 F(wint_t, putwc, (wchar_t c, FILE *f), (c,f))
 F(struct utmpx *, pututxline, (const struct utmpx *ut), (ut))
 F(int, putw, (int x, FILE *f), (x,f))
 F(wint_t, putwc, (wchar_t c, FILE *f), (c,f))
+F(wint_t, putwc_unlocked, (wchar_t c, FILE *f), (c,f))
 F(wint_t, putwchar, (wchar_t c), (c))
 F(wint_t, putwchar, (wchar_t c), (c))
+F(wint_t, putwchar_unlocked, (wchar_t c), (c))
 F(ssize_t, pwrite, (int fd, const void *buf, size_t size, off_t ofs), (fd,buf,size,ofs))
 F(ssize_t, pwrite, (int fd, const void *buf, size_t size, off_t ofs), (fd,buf,size,ofs))
+F(ssize_t, pwrite64, (int fd, const void *buf, size_t size, off_t ofs), (fd,buf,size,ofs))
 F(ssize_t, pwritev, (int fd, const struct iovec *iov, int count, off_t ofs), (fd,iov,count,ofs))
 F(ssize_t, pwritev, (int fd, const struct iovec *iov, int count, off_t ofs), (fd,iov,count,ofs))
+F(ssize_t, pwritev64, (int fd, const struct iovec *iov, int count, off_t ofs), (fd,iov,count,ofs))
 V(void, qsort, (void *base, size_t nel, size_t width, int (*cmp)(const void*, const void*)), (base,nel,width,cmp))
 V(_Noreturn void, quick_exit, (int code), (code))
 F(int, quotactl, (int cmd, const char *special, int id, char *addr), (cmd,special,id,addr))
 V(void, qsort, (void *base, size_t nel, size_t width, int (*cmp)(const void*, const void*)), (base,nel,width,cmp))
 V(_Noreturn void, quick_exit, (int code), (code))
 F(int, quotactl, (int cmd, const char *special, int id, char *addr), (cmd,special,id,addr))
@@ -1098,7 +1305,9 @@ F(long, random, (void), ())
 F(ssize_t, read, (int fd, void *buf, size_t count), (fd,buf,count))
 F(ssize_t, readahead, (int fd, off_t pos, size_t len), (fd,pos,len))
 F(struct dirent *, readdir, (DIR *dir), (dir))
 F(ssize_t, read, (int fd, void *buf, size_t count), (fd,buf,count))
 F(ssize_t, readahead, (int fd, off_t pos, size_t len), (fd,pos,len))
 F(struct dirent *, readdir, (DIR *dir), (dir))
+F(struct dirent *, readdir64, (DIR *dir), (dir))
 F(int, readdir_r, (DIR *restrict dir, struct dirent *restrict buf, struct dirent **restrict result), (dir,buf,result))
 F(int, readdir_r, (DIR *restrict dir, struct dirent *restrict buf, struct dirent **restrict result), (dir,buf,result))
+F(int, readdir64_r, (DIR *restrict dir, struct dirent *restrict buf, struct dirent **restrict result), (dir,buf,result))
 F(ssize_t, readlink, (const char *restrict path, char *restrict buf, size_t bufsize), (path,buf,bufsize))
 F(ssize_t, readlinkat, (int fd, const char *restrict path, char *restrict buf, size_t bufsize), (fd,path,buf,bufsize))
 F(ssize_t, readv, (int fd, const struct iovec *iov, int count), (fd,iov,count))
 F(ssize_t, readlink, (const char *restrict path, char *restrict buf, size_t bufsize), (path,buf,bufsize))
 F(ssize_t, readlinkat, (int fd, const char *restrict path, char *restrict buf, size_t bufsize), (fd,path,buf,bufsize))
 F(ssize_t, readv, (int fd, const struct iovec *iov, int count), (fd,iov,count))
@@ -1115,7 +1324,7 @@ V(void, regfree, (regex_t *preg), (preg))
 F(double, remainder, (double x, double y), (x,y))
 F(float, remainderf, (float x, float y), (x,y))
 F(long double, remainderl, (long double x, long double y), (x,y))
 F(double, remainder, (double x, double y), (x,y))
 F(float, remainderf, (float x, float y), (x,y))
 F(long double, remainderl, (long double x, long double y), (x,y))
-F(int, remap_file_pages, (void *addr, size_t size, int prot, ssize_t pgoff, int flags), (addr,size,prot,pgoff,flags))
+F(int, remap_file_pages, (void *addr, size_t size, int prot, size_t pgoff, int flags), (addr,size,prot,pgoff,flags))
 F(int, remove, (const char *path), (path))
 F(int, removexattr, (const char *path, const char *name), (path,name))
 V(void, remque, (void *element), (element))
 F(int, remove, (const char *path), (path))
 F(int, removexattr, (const char *path, const char *name), (path,name))
 V(void, remque, (void *element), (element))
@@ -1126,6 +1335,7 @@ F(int, rename, (const char *old, const char *new), (old,new))
 F(int, renameat, (int oldfd, const char *old, int newfd, const char *new), (oldfd,old,newfd,new))
 F(int, res_init, (), ())
 F(int, res_query, (const char *name, int class, int type, unsigned char *dest, int len), (name,class,type,dest,len))
 F(int, renameat, (int oldfd, const char *old, int newfd, const char *new), (oldfd,old,newfd,new))
 F(int, res_init, (), ())
 F(int, res_query, (const char *name, int class, int type, unsigned char *dest, int len), (name,class,type,dest,len))
+F(int, res_search, (const char *name, int class, int type, unsigned char *dest, int len), (name,class,type,dest,len))
 V(void, rewind, (FILE *f), (f))
 V(void, rewinddir, (DIR *dir), (dir))
 F(char *, rindex, (const char *s, int c), (s,c))
 V(void, rewind, (FILE *f), (f))
 V(void, rewinddir, (DIR *dir), (dir))
 F(char *, rindex, (const char *s, int c), (s,c))
@@ -1146,6 +1356,7 @@ F(double, scalbn, (double x, int n), (x,n))
 F(float, scalbnf, (float x, int n), (x,n))
 F(long double, scalbnl, (long double x, int n), (x,n))
 F(int, scandir, (const char *path, struct dirent ***res, int (*sel)(const struct dirent *), int (*cmp)(const struct dirent **, const struct dirent **)), (path,res,sel,cmp))
 F(float, scalbnf, (float x, int n), (x,n))
 F(long double, scalbnl, (long double x, int n), (x,n))
 F(int, scandir, (const char *path, struct dirent ***res, int (*sel)(const struct dirent *), int (*cmp)(const struct dirent **, const struct dirent **)), (path,res,sel,cmp))
+F(int, scandir64, (const char *path, struct dirent ***res, int (*sel)(const struct dirent *), int (*cmp)(const struct dirent **, const struct dirent **)), (path,res,sel,cmp))
 XF(int, scanf, (const char *restrict fmt, ...))
 F(int, sched_get_priority_max, (int policy), (policy))
 F(int, sched_get_priority_min, (int policy), (policy))
 XF(int, scanf, (const char *restrict fmt, ...))
 F(int, sched_get_priority_max, (int policy), (policy))
 F(int, sched_get_priority_min, (int policy), (policy))
@@ -1156,6 +1367,7 @@ F(int, sched_rr_get_interval, (pid_t pid, struct timespec *ts), (pid,ts))
 F(int, sched_setaffinity, (pid_t tid, size_t size, const cpu_set_t *set), (tid,size,set))
 F(int, sched_setparam, (pid_t pid, const struct sched_param *param), (pid,param))
 F(int, sched_setscheduler, (pid_t pid, int sched, const struct sched_param *param), (pid,sched,param))
 F(int, sched_setaffinity, (pid_t tid, size_t size, const cpu_set_t *set), (tid,size,set))
 F(int, sched_setparam, (pid_t pid, const struct sched_param *param), (pid,param))
 F(int, sched_setscheduler, (pid_t pid, int sched, const struct sched_param *param), (pid,sched,param))
+F(int, sched_yield, (), ())
 F(unsigned short *, seed48, (unsigned short *s), (s))
 V(void, seekdir, (DIR *dir, long off), (dir,off))
 F(int, select, (int n, fd_set *restrict rfds, fd_set *restrict wfds, fd_set *restrict efds, struct timeval *restrict tv), (n,rfds,wfds,efds,tv))
 F(unsigned short *, seed48, (unsigned short *s), (s))
 V(void, seekdir, (DIR *dir, long off), (dir,off))
 F(int, select, (int n, fd_set *restrict rfds, fd_set *restrict wfds, fd_set *restrict efds, struct timeval *restrict tv), (n,rfds,wfds,efds,tv))
@@ -1175,6 +1387,7 @@ F(int, semop, (int id, struct sembuf *buf, size_t n), (id,buf,n))
 F(int, semtimedop, (int id, struct sembuf *buf, size_t n, const struct timespec *ts), (id,buf,n,ts))
 F(ssize_t, send, (int fd, const void *buf, size_t len, int flags), (fd,buf,len,flags))
 F(ssize_t, sendfile, (int out_fd, int in_fd, off_t *ofs, size_t count), (out_fd,in_fd,ofs,count))
 F(int, semtimedop, (int id, struct sembuf *buf, size_t n, const struct timespec *ts), (id,buf,n,ts))
 F(ssize_t, send, (int fd, const void *buf, size_t len, int flags), (fd,buf,len,flags))
 F(ssize_t, sendfile, (int out_fd, int in_fd, off_t *ofs, size_t count), (out_fd,in_fd,ofs,count))
+F(ssize_t, sendfile64, (int out_fd, int in_fd, off_t *ofs, size_t count), (out_fd,in_fd,ofs,count))
 F(ssize_t, sendmsg, (int fd, const struct msghdr *msg, int flags), (fd,msg,flags))
 F(ssize_t, sendto, (int fd, const void *buf, size_t len, int flags, const struct sockaddr *addr, socklen_t alen), (fd,buf,len,flags,addr,alen))
 V(void, setbuf, (FILE *restrict f, char *restrict buf), (f,buf))
 F(ssize_t, sendmsg, (int fd, const struct msghdr *msg, int flags), (fd,msg,flags))
 F(ssize_t, sendto, (int fd, const void *buf, size_t len, int flags, const struct sockaddr *addr, socklen_t alen), (fd,buf,len,flags,addr,alen))
 V(void, setbuf, (FILE *restrict f, char *restrict buf), (f,buf))
@@ -1191,10 +1404,12 @@ F(int, setgroups, (size_t count, const gid_t list[]), (count,list))
 V(void, sethostent, (int x), (x))
 F(int, sethostname, (const char *name, size_t len), (name,len))
 F(int, setitimer, (int which, const struct itimerval *restrict new, struct itimerval *restrict old), (which,new,old))
 V(void, sethostent, (int x), (x))
 F(int, sethostname, (const char *name, size_t len), (name,len))
 F(int, setitimer, (int which, const struct itimerval *restrict new, struct itimerval *restrict old), (which,new,old))
+F(int, setjmp, (jmp_buf buf), (buf))
 V(void, setlinebuf, (FILE *f), (f))
 F(char *, setlocale, (int category, const char *locale), (category,locale))
 F(int, setlogmask, (int maskpri), (maskpri))
 F(FILE *, setmntent, (const char *name, const char *mode), (name,mode))
 V(void, setlinebuf, (FILE *f), (f))
 F(char *, setlocale, (int category, const char *locale), (category,locale))
 F(int, setlogmask, (int maskpri), (maskpri))
 F(FILE *, setmntent, (const char *name, const char *mode), (name,mode))
+V(void, setnetent, (int stayopen), (stayopen))
 F(int, setns, (int fd, int nstype), (fd,nstype))
 F(int, setpgid, (pid_t pid, pid_t pgid), (pid,pgid))
 F(pid_t, setpgrp, (void), ())
 F(int, setns, (int fd, int nstype), (fd,nstype))
 F(int, setpgid, (pid_t pid, pid_t pgid), (pid,pgid))
 F(pid_t, setpgrp, (void), ())
@@ -1206,6 +1421,7 @@ F(int, setresgid, (gid_t rgid, gid_t egid, gid_t sgid), (rgid,egid,sgid))
 F(int, setresuid, (uid_t ruid, uid_t euid, uid_t suid), (ruid,euid,suid))
 F(int, setreuid, (uid_t ruid, uid_t euid), (ruid,euid))
 F(int, setrlimit, (int resource, const struct rlimit *rlim), (resource,rlim))
 F(int, setresuid, (uid_t ruid, uid_t euid, uid_t suid), (ruid,euid,suid))
 F(int, setreuid, (uid_t ruid, uid_t euid), (ruid,euid))
 F(int, setrlimit, (int resource, const struct rlimit *rlim), (resource,rlim))
+F(int, setrlimit64, (int resource, const struct rlimit *rlim), (resource,rlim))
 V(void, setservent, (int stayopen), (stayopen))
 F(pid_t, setsid, (void), ())
 F(int, setsockopt, (int fd, int level, int optname, const void *optval, socklen_t optlen), (fd,level,optname,optval,optlen))
 V(void, setservent, (int stayopen), (stayopen))
 F(pid_t, setsid, (void), ())
 F(int, setsockopt, (int fd, int level, int optname, const void *optval, socklen_t optlen), (fd,level,optname,optval,optlen))
@@ -1214,6 +1430,7 @@ F(char *, setstate, (char *state), (state))
 F(int, settimeofday, (const struct timeval *tv, const struct timezone *tz), (tv,tz))
 F(int, setuid, (uid_t uid), (uid))
 V(void, setusershell, (void), ())
 F(int, settimeofday, (const struct timeval *tv, const struct timezone *tz), (tv,tz))
 F(int, setuid, (uid_t uid), (uid))
 V(void, setusershell, (void), ())
+V(void, setutent, (void), ())
 V(void, setutxent, (void), ())
 F(int, setvbuf, (FILE *restrict f, char *restrict buf, int type, size_t size), (f,buf,type,size))
 F(int, setxattr, (const char *path, const char *name, const void *value, size_t size, int flags), (path,name,value,size,flags))
 V(void, setutxent, (void), ())
 F(int, setvbuf, (FILE *restrict f, char *restrict buf, int type, size_t size), (f,buf,type,size))
 F(int, setxattr, (const char *path, const char *name, const void *value, size_t size, int flags), (path,name,value,size,flags))
@@ -1224,9 +1441,10 @@ F(int, shmctl, (int id, int cmd, struct shmid_ds *buf), (id,cmd,buf))
 F(int, shmdt, (const void *addr), (addr))
 F(int, shmget, (key_t key, size_t size, int flag), (key,size,flag))
 F(int, shutdown, (int fd, int how), (fd,how))
 F(int, shmdt, (const void *addr), (addr))
 F(int, shmget, (key_t key, size_t size, int flag), (key,size,flag))
 F(int, shutdown, (int fd, int how), (fd,how))
+F(int, sigaction, (int sig, const struct sigaction *restrict sa, struct sigaction *restrict old), (sig,sa,old))
 F(int, sigaddset, (sigset_t *set, int sig), (set,sig))
 F(int, sigaltstack, (const stack_t *restrict ss, stack_t *restrict old), (ss,old))
 F(int, sigaddset, (sigset_t *set, int sig), (set,sig))
 F(int, sigaltstack, (const stack_t *restrict ss, stack_t *restrict old), (ss,old))
-F(int, sigandset, (sigset_t *dest, sigset_t *left, sigset_t *right), (dest,left,right))
+F(int, sigandset, (sigset_t *dest, const sigset_t *left, const sigset_t *right), (dest,left,right))
 F(int, sigdelset, (sigset_t *set, int sig), (set,sig))
 F(int, sigemptyset, (sigset_t *set), (set))
 F(int, sigfillset, (sigset_t *set), (set))
 F(int, sigdelset, (sigset_t *set, int sig), (set,sig))
 F(int, sigemptyset, (sigset_t *set), (set))
 F(int, sigfillset, (sigset_t *set), (set))
@@ -1240,7 +1458,7 @@ F(signal_handler, signal, (int sig, void (*func)(int)), (sig,func))
 F(int, signalfd, (int fd, const sigset_t *sigs, int flags), (fd,sigs,flags))
 F(double, significand, (double x), (x))
 F(float, significandf, (float x), (x))
 F(int, signalfd, (int fd, const sigset_t *sigs, int flags), (fd,sigs,flags))
 F(double, significand, (double x), (x))
 F(float, significandf, (float x), (x))
-F(int, sigorset, (sigset_t *dest, sigset_t *left, sigset_t *right), (dest,left,right))
+F(int, sigorset, (sigset_t *dest, const sigset_t *left, const sigset_t *right), (dest,left,right))
 F(int, sigpause, (int sig), (sig))
 F(int, sigpending, (sigset_t *set), (set))
 F(int, sigprocmask, (int how, const sigset_t *restrict set, sigset_t *restrict old), (how,set,old))
 F(int, sigpause, (int sig), (sig))
 F(int, sigpending, (sigset_t *set), (set))
 F(int, sigprocmask, (int how, const sigset_t *restrict set, sigset_t *restrict old), (how,set,old))
@@ -1276,23 +1494,33 @@ V(void, srand48, (long seed), (seed))
 V(void, srandom, (unsigned seed), (seed))
 XF(int, sscanf, (const char *restrict s, const char *restrict fmt, ...))
 F(int, stat, (const char *restrict path, struct stat *restrict buf), (path,buf))
 V(void, srandom, (unsigned seed), (seed))
 XF(int, sscanf, (const char *restrict s, const char *restrict fmt, ...))
 F(int, stat, (const char *restrict path, struct stat *restrict buf), (path,buf))
+F(int, stat64, (const char *restrict path, struct stat *restrict buf), (path,buf))
+F(int, statfs, (const char *path, struct statfs *buf), (path,buf))
+F(int, statfs64, (const char *path, struct statfs *buf), (path,buf))
 F(int, statvfs, (const char *restrict path, struct statvfs *restrict buf), (path,buf))
 F(int, statvfs, (const char *restrict path, struct statvfs *restrict buf), (path,buf))
-F(int, stime, (time_t *t), (t))
+F(int, statvfs64, (const char *restrict path, struct statvfs *restrict buf), (path,buf))
+F(int, stime, (const time_t *t), (t))
+F(char *, stpcpy, (char *restrict d, const char *restrict s), (d,s))
+F(char *, stpncpy, (char *restrict d, const char *restrict s, size_t n), (d,s,n))
 F(int, strcasecmp, (const char *_l, const char *_r), (_l,_r))
 F(int, strcasecmp_l, (const char *l, const char *r, locale_t loc), (l,r,loc))
 F(char *, strcasestr, (const char *h, const char *n), (h,n))
 F(char *, strcat, (char *restrict dest, const char *restrict src), (dest,src))
 F(char *, strchr, (const char *s, int c), (s,c))
 F(int, strcasecmp, (const char *_l, const char *_r), (_l,_r))
 F(int, strcasecmp_l, (const char *l, const char *r, locale_t loc), (l,r,loc))
 F(char *, strcasestr, (const char *h, const char *n), (h,n))
 F(char *, strcat, (char *restrict dest, const char *restrict src), (dest,src))
 F(char *, strchr, (const char *s, int c), (s,c))
+F(char *, strchrnul, (const char *s, int c), (s,c))
 F(int, strcmp, (const char *l, const char *r), (l,r))
 F(int, strcoll, (const char *l, const char *r), (l,r))
 F(int, strcmp, (const char *l, const char *r), (l,r))
 F(int, strcoll, (const char *l, const char *r), (l,r))
+F(int, strcoll_l, (const char *l, const char *r, locale_t loc), (l,r,loc))
 F(char *, strcpy, (char *restrict dest, const char *restrict src), (dest,src))
 F(size_t, strcspn, (const char *s, const char *c), (s,c))
 F(char *, strcpy, (char *restrict dest, const char *restrict src), (dest,src))
 F(size_t, strcspn, (const char *s, const char *c), (s,c))
+F(char *, strdup, (const char *s), (s))
 F(char *, strerror, (int e), (e))
 F(char *, strerror_l, (int err, locale_t l), (err,l))
 F(int, strerror_r, (int err, char *buf, size_t buflen), (err,buf,buflen))
 XF(ssize_t, strfmon, (char *restrict s, size_t n, const char *restrict fmt, ...))
 XF(ssize_t, strfmon_l, (char *restrict s, size_t n, locale_t loc, const char *restrict fmt, ...))
 F(size_t, strftime, (char *restrict s, size_t n, const char *restrict f, const struct tm *restrict tm), (s,n,f,tm))
 F(char *, strerror, (int e), (e))
 F(char *, strerror_l, (int err, locale_t l), (err,l))
 F(int, strerror_r, (int err, char *buf, size_t buflen), (err,buf,buflen))
 XF(ssize_t, strfmon, (char *restrict s, size_t n, const char *restrict fmt, ...))
 XF(ssize_t, strfmon_l, (char *restrict s, size_t n, locale_t loc, const char *restrict fmt, ...))
 F(size_t, strftime, (char *restrict s, size_t n, const char *restrict f, const struct tm *restrict tm), (s,n,f,tm))
+F(size_t, strftime_l, (char *restrict s, size_t n, const char *restrict f, const struct tm *restrict tm, locale_t loc), (s,n,f,tm,loc))
 F(size_t, strlcat, (char *d, const char *s, size_t n), (d,s,n))
 F(size_t, strlcpy, (char *d, const char *s, size_t n), (d,s,n))
 F(size_t, strlen, (const char *s), (s))
 F(size_t, strlcat, (char *d, const char *s, size_t n), (d,s,n))
 F(size_t, strlcpy, (char *d, const char *s, size_t n), (d,s,n))
 F(size_t, strlen, (const char *s), (s))
@@ -1311,18 +1539,22 @@ F(char *, strsignal, (int signum), (signum))
 F(size_t, strspn, (const char *s, const char *c), (s,c))
 F(char *, strstr, (const char *h, const char *n), (h,n))
 F(double, strtod, (const char *restrict s, char **restrict p), (s,p))
 F(size_t, strspn, (const char *s, const char *c), (s,c))
 F(char *, strstr, (const char *h, const char *n), (h,n))
 F(double, strtod, (const char *restrict s, char **restrict p), (s,p))
+F(double, strtod_l, (const char *restrict s, char **restrict p, locale_t l), (s,p,l))
 F(float, strtof, (const char *restrict s, char **restrict p), (s,p))
 F(float, strtof, (const char *restrict s, char **restrict p), (s,p))
+F(float, strtof_l, (const char *restrict s, char **restrict p, locale_t l), (s,p,l))
 F(intmax_t, strtoimax, (const char *restrict s, char **restrict p, int base), (s,p,base))
 F(char *, strtok, (char *restrict s, const char *restrict sep), (s,sep))
 F(char *, strtok_r, (char *restrict s, const char *restrict sep, char **restrict p), (s,sep,p))
 F(long, strtol, (const char *restrict s, char **restrict p, int base), (s,p,base))
 F(long double, strtold, (const char *restrict s, char **restrict p), (s,p))
 F(intmax_t, strtoimax, (const char *restrict s, char **restrict p, int base), (s,p,base))
 F(char *, strtok, (char *restrict s, const char *restrict sep), (s,sep))
 F(char *, strtok_r, (char *restrict s, const char *restrict sep, char **restrict p), (s,sep,p))
 F(long, strtol, (const char *restrict s, char **restrict p, int base), (s,p,base))
 F(long double, strtold, (const char *restrict s, char **restrict p), (s,p))
+F(long double, strtold_l, (const char *restrict s, char **restrict p, locale_t l), (s,p,l))
 F(long long, strtoll, (const char *restrict s, char **restrict p, int base), (s,p,base))
 F(unsigned long, strtoul, (const char *restrict s, char **restrict p, int base), (s,p,base))
 F(unsigned long long, strtoull, (const char *restrict s, char **restrict p, int base), (s,p,base))
 F(uintmax_t, strtoumax, (const char *restrict s, char **restrict p, int base), (s,p,base))
 F(int, strverscmp, (const char *l, const char *r), (l,r))
 F(size_t, strxfrm, (char *restrict dest, const char *restrict src, size_t n), (dest,src,n))
 F(long long, strtoll, (const char *restrict s, char **restrict p, int base), (s,p,base))
 F(unsigned long, strtoul, (const char *restrict s, char **restrict p, int base), (s,p,base))
 F(unsigned long long, strtoull, (const char *restrict s, char **restrict p, int base), (s,p,base))
 F(uintmax_t, strtoumax, (const char *restrict s, char **restrict p, int base), (s,p,base))
 F(int, strverscmp, (const char *l, const char *r), (l,r))
 F(size_t, strxfrm, (char *restrict dest, const char *restrict src, size_t n), (dest,src,n))
+F(size_t, strxfrm_l, (char *restrict dest, const char *restrict src, size_t n, locale_t loc), (dest,src,n,loc))
 V(void, swab, (const void *restrict _src, void *restrict _dest, ssize_t n), (_src,_dest,n))
 F(int, swapoff, (const char *path), (path))
 F(int, swapon, (const char *path, int flags), (path,flags))
 V(void, swab, (const void *restrict _src, void *restrict _dest, ssize_t n), (_src,_dest,n))
 F(int, swapoff, (const char *path), (path))
 F(int, swapon, (const char *path, int flags), (path,flags))
@@ -1375,6 +1607,7 @@ F(int, timerfd_gettime, (int fd, struct itimerspec *cur), (fd,cur))
 F(int, timerfd_settime, (int fd, int flags, const struct itimerspec *new, struct itimerspec *old), (fd,flags,new,old))
 F(clock_t, times, (struct tms *tms), (tms))
 F(FILE *, tmpfile, (void), ())
 F(int, timerfd_settime, (int fd, int flags, const struct itimerspec *new, struct itimerspec *old), (fd,flags,new,old))
 F(clock_t, times, (struct tms *tms), (tms))
 F(FILE *, tmpfile, (void), ())
+F(FILE *, tmpfile64, (void), ())
 F(char *, tmpnam, (char *s), (s))
 F(int, toascii, (int c), (c))
 F(int, tolower, (int c), (c))
 F(char *, tmpnam, (char *s), (s))
 F(int, toascii, (int c), (c))
 F(int, tolower, (int c), (c))
@@ -1387,17 +1620,19 @@ F(wint_t, towlower, (wint_t wc), (wc))
 F(wint_t, towlower_l, (wint_t c, locale_t l), (c,l))
 F(wint_t, towupper, (wint_t wc), (wc))
 F(wint_t, towupper_l, (wint_t c, locale_t l), (c,l))
 F(wint_t, towlower_l, (wint_t c, locale_t l), (c,l))
 F(wint_t, towupper, (wint_t wc), (wc))
 F(wint_t, towupper_l, (wint_t c, locale_t l), (c,l))
-//F(void *, __tre_mem_alloc_impl, (tre_mem_t mem, int provided, void *provided_block, int zero, size_t size), (mem,provided,provided_block,zero,size))
-//V(void, __tre_mem_destroy, (tre_mem_t mem), (mem))
-//F(tre_mem_t, __tre_mem_new_impl, (int provided, void *provided_block), (provided,provided_block))
+F(void *, __tre_mem_alloc_impl, (tre_mem_t mem, int provided, void *provided_block, int zero, size_t size), (mem,provided,provided_block,zero,size))
+V(void, __tre_mem_destroy, (tre_mem_t mem), (mem))
+F(tre_mem_t, __tre_mem_new_impl, (int provided, void *provided_block), (provided,provided_block))
 F(double, trunc, (double x), (x))
 F(int, truncate, (const char *path, off_t length), (path,length))
 F(double, trunc, (double x), (x))
 F(int, truncate, (const char *path, off_t length), (path,length))
+F(int, truncate64, (const char *path, off_t length), (path,length))
 F(float, truncf, (float x), (x))
 F(long double, truncl, (long double x), (x))
 F(void *, tsearch, (const void *key, void **rootp, int (*compar)(const void *, const void *)), (key,rootp,compar))
 F(char *, ttyname, (int fd), (fd))
 F(int, ttyname_r, (int fd, char *name, size_t size), (fd,name,size))
 V(void, twalk, (const void *root, void (*action)(const void *, VISIT, int)), (root,action))
 F(float, truncf, (float x), (x))
 F(long double, truncl, (long double x), (x))
 F(void *, tsearch, (const void *key, void **rootp, int (*compar)(const void *, const void *)), (key,rootp,compar))
 F(char *, ttyname, (int fd), (fd))
 F(int, ttyname_r, (int fd, char *name, size_t size), (fd,name,size))
 V(void, twalk, (const void *root, void (*action)(const void *, VISIT, int)), (root,action))
+V(void, tzset, (), ())
 F(unsigned, ualarm, (unsigned value, unsigned interval), (value,interval))
 F(int, ulckpwdf, (), ())
 XF(long, ulimit, (int cmd, ...))
 F(unsigned, ualarm, (unsigned value, unsigned interval), (value,interval))
 F(int, ulckpwdf, (), ())
 XF(long, ulimit, (int cmd, ...))
@@ -1412,6 +1647,7 @@ F(int, unlinkat, (int fd, const char *path, int flag), (fd,path,flag))
 F(int, unlockpt, (int fd), (fd))
 F(int, unsetenv, (const char *name), (name))
 F(int, unshare, (int flags), (flags))
 F(int, unlockpt, (int fd), (fd))
 F(int, unsetenv, (const char *name), (name))
 F(int, unshare, (int flags), (flags))
+V(void, updwtmp, (const char *f, const struct utmp *u), (f,u))
 V(void, updwtmpx, (const char *f, const struct utmpx *u), (f,u))
 F(locale_t, uselocale, (locale_t l), (l))
 F(int, usleep, (unsigned useconds), (useconds))
 V(void, updwtmpx, (const char *f, const struct utmpx *u), (f,u))
 F(locale_t, uselocale, (locale_t l), (l))
 F(int, usleep, (unsigned useconds), (useconds))
@@ -1424,6 +1660,7 @@ F(int, vdprintf, (int fd, const char *restrict fmt, va_list ap), (fd,fmt,ap))
 V(_Noreturn void, verr, (int status, const char *fmt, va_list ap), (status,fmt,ap))
 V(_Noreturn void, verrx, (int status, const char *fmt, va_list ap), (status,fmt,ap))
 F(int, versionsort, (const struct dirent **a, const struct dirent **b), (a,b))
 V(_Noreturn void, verr, (int status, const char *fmt, va_list ap), (status,fmt,ap))
 V(_Noreturn void, verrx, (int status, const char *fmt, va_list ap), (status,fmt,ap))
 F(int, versionsort, (const struct dirent **a, const struct dirent **b), (a,b))
+F(pid_t, vfork, (void), ())
 F(int, vfprintf, (FILE *restrict f, const char *restrict fmt, va_list ap), (f,fmt,ap))
 F(int, vfscanf, (FILE *restrict f, const char *restrict fmt, va_list ap), (f,fmt,ap))
 F(int, vfwprintf, (FILE *restrict f, const wchar_t *restrict fmt, va_list ap), (f,fmt,ap))
 F(int, vfprintf, (FILE *restrict f, const char *restrict fmt, va_list ap), (f,fmt,ap))
 F(int, vfscanf, (FILE *restrict f, const char *restrict fmt, va_list ap), (f,fmt,ap))
 F(int, vfwprintf, (FILE *restrict f, const wchar_t *restrict fmt, va_list ap), (f,fmt,ap))
@@ -1437,6 +1674,7 @@ F(int, vsprintf, (char *restrict s, const char *restrict fmt, va_list ap), (s,fm
 F(int, vsscanf, (const char *restrict s, const char *restrict fmt, va_list ap), (s,fmt,ap))
 F(int, vswprintf, (wchar_t *restrict s, size_t n, const wchar_t *restrict fmt, va_list ap), (s,n,fmt,ap))
 F(int, vswscanf, (const wchar_t *restrict s, const wchar_t *restrict fmt, va_list ap), (s,fmt,ap))
 F(int, vsscanf, (const char *restrict s, const char *restrict fmt, va_list ap), (s,fmt,ap))
 F(int, vswprintf, (wchar_t *restrict s, size_t n, const wchar_t *restrict fmt, va_list ap), (s,n,fmt,ap))
 F(int, vswscanf, (const wchar_t *restrict s, const wchar_t *restrict fmt, va_list ap), (s,fmt,ap))
+V(void, vsyslog, (int priority, const char *message, va_list ap), (priority,message,ap))
 V(void, vwarn, (const char *fmt, va_list ap), (fmt,ap))
 V(void, vwarnx, (const char *fmt, va_list ap), (fmt,ap))
 F(int, vwprintf, (const wchar_t *restrict fmt, va_list ap), (fmt,ap))
 V(void, vwarn, (const char *fmt, va_list ap), (fmt,ap))
 V(void, vwarnx, (const char *fmt, va_list ap), (fmt,ap))
 F(int, vwprintf, (const wchar_t *restrict fmt, va_list ap), (fmt,ap))
@@ -1457,10 +1695,12 @@ F(wchar_t *, wcscat, (wchar_t *restrict dest, const wchar_t *restrict src), (des
 F(wchar_t *, wcschr, (const wchar_t *s, wchar_t c), (s,c))
 F(int, wcscmp, (const wchar_t *l, const wchar_t *r), (l,r))
 F(int, wcscoll, (const wchar_t *l, const wchar_t *r), (l,r))
 F(wchar_t *, wcschr, (const wchar_t *s, wchar_t c), (s,c))
 F(int, wcscmp, (const wchar_t *l, const wchar_t *r), (l,r))
 F(int, wcscoll, (const wchar_t *l, const wchar_t *r), (l,r))
+F(int, wcscoll_l, (const wchar_t *l, const wchar_t *r, locale_t locale), (l,r,locale))
 F(wchar_t *, wcscpy, (wchar_t *restrict d, const wchar_t *restrict s), (d,s))
 F(size_t, wcscspn, (const wchar_t *s, const wchar_t *c), (s,c))
 F(wchar_t *, wcsdup, (const wchar_t *s), (s))
 F(size_t, wcsftime, (wchar_t *restrict wcs, size_t n, const wchar_t *restrict f, const struct tm *restrict tm), (wcs,n,f,tm))
 F(wchar_t *, wcscpy, (wchar_t *restrict d, const wchar_t *restrict s), (d,s))
 F(size_t, wcscspn, (const wchar_t *s, const wchar_t *c), (s,c))
 F(wchar_t *, wcsdup, (const wchar_t *s), (s))
 F(size_t, wcsftime, (wchar_t *restrict wcs, size_t n, const wchar_t *restrict f, const struct tm *restrict tm), (wcs,n,f,tm))
+F(size_t, wcsftime_l, (wchar_t *restrict s, size_t n, const wchar_t *restrict f, const struct tm *restrict tm, locale_t loc), (s,n,f,tm,loc))
 F(size_t, wcslen, (const wchar_t *s), (s))
 F(int, wcsncasecmp, (const wchar_t *l, const wchar_t *r, size_t n), (l,r,n))
 F(int, wcsncasecmp_l, (const wchar_t *l, const wchar_t *r, size_t n, locale_t locale), (l,r,n,locale))
 F(size_t, wcslen, (const wchar_t *s), (s))
 F(int, wcsncasecmp, (const wchar_t *l, const wchar_t *r, size_t n), (l,r,n))
 F(int, wcsncasecmp_l, (const wchar_t *l, const wchar_t *r, size_t n, locale_t locale), (l,r,n,locale))
@@ -1488,6 +1728,7 @@ F(uintmax_t, wcstoumax, (const wchar_t *restrict s, wchar_t **restrict p, int ba
 F(wchar_t *, wcswcs, (const wchar_t *haystack, const wchar_t *needle), (haystack,needle))
 F(int, wcswidth, (const wchar_t *wcs, size_t n), (wcs,n))
 F(size_t, wcsxfrm, (wchar_t *restrict dest, const wchar_t *restrict src, size_t n), (dest,src,n))
 F(wchar_t *, wcswcs, (const wchar_t *haystack, const wchar_t *needle), (haystack,needle))
 F(int, wcswidth, (const wchar_t *wcs, size_t n), (wcs,n))
 F(size_t, wcsxfrm, (wchar_t *restrict dest, const wchar_t *restrict src, size_t n), (dest,src,n))
+F(size_t, wcsxfrm_l, (wchar_t *restrict dest, const wchar_t *restrict src, size_t n, locale_t loc), (dest,src,n,loc))
 F(int, wctob, (wint_t c), (c))
 F(int, wctomb, (char *s, wchar_t wc), (s,wc))
 F(wctrans_t, wctrans, (const char *class), (class))
 F(int, wctob, (wint_t c), (c))
 F(int, wctomb, (char *s, wchar_t wc), (s,wc))
 F(wctrans_t, wctrans, (const char *class), (class))