X-Git-Url: http://nsz.repo.hu/git/?p=ldtrace;a=blobdiff_plain;f=func.h;fp=func.h;h=a167cf187b2bfb823a547394ca0ba27eb3f41f59;hp=33fcb6ca7843909a57bd0b896fa0d1d108c9ac49;hb=9e9492cd62b99f5c5b6d8e1c06f9e6ad9919413b;hpb=2b4cfd6a0e8d90c6cf7efa2be5b021903e50af0b diff --git a/func.h b/func.h index 33fcb6c..a167cf1 100644 --- a/func.h +++ b/func.h @@ -1,6 +1,12 @@ typedef void (*signal_handler)(int); 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)) @@ -40,6 +46,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)) +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)) @@ -67,6 +74,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)) +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)) @@ -83,6 +91,7 @@ F(int, __fwriting, (FILE *f), (f)) F(int, __fxstat, (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)) 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)) @@ -97,6 +106,18 @@ 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)) +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(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,6 +132,7 @@ 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)) +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, __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)) @@ -121,15 +143,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(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(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(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)) @@ -150,6 +175,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)) +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)) @@ -179,6 +205,12 @@ 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(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 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(long, __syscall_cp, (long nr, long u, long v, long w, long x, long y, long z), (nr,u,v,w,x,y,z)) @@ -197,14 +229,19 @@ V(void, __tzset, (), ()) F(int, __uflow, (FILE *f), (f)) V(void, __unlock, (volatile int *l), (l)) V(void, __unlockfile, (FILE *f), (f)) +F(locale_t, __uselocale, (locale_t l), (l)) 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_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)) +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(long long, __year_to_secs, (long long year, int *is_leap), (year,is_leap)) F(int, __yield, (), ()) @@ -212,8 +249,10 @@ 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)) +F(int, _setjmp, (jmp_buf buf), (buf)) V(void, _start, (), ()) F(long, a64l, (const char *s), (s)) V(_Noreturn void, abort, (void), ()) @@ -273,12 +312,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(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(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)) @@ -336,6 +378,7 @@ 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)) +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)) @@ -497,6 +540,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(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)) @@ -504,8 +548,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, feof_unlocked, (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)) @@ -513,18 +559,24 @@ 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, fflush_unlocked, (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 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(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(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)) @@ -552,11 +604,17 @@ 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_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_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(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_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)) @@ -568,6 +626,7 @@ 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, fsetpos, (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)) @@ -576,6 +635,7 @@ F(int, fstatfs, (int fd, struct statfs *buf), (fd,buf)) F(int, fstatvfs, (int fd, struct statvfs *buf), (fd,buf)) F(int, fsync, (int fd), (fd)) F(long, ftell, (FILE *f), (f)) +F(off_t, ftello, (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)) @@ -588,6 +648,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(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)) @@ -679,7 +740,9 @@ 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_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)) V(void, globfree, (glob_t *g), (g)) @@ -725,7 +788,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_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)) @@ -844,6 +907,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)) +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)) @@ -1105,6 +1169,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)) +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)) @@ -1117,7 +1182,9 @@ F(int, putspent, (const struct spwd *sp, FILE *f), (sp,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_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, pwritev, (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)) @@ -1147,7 +1214,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(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)) @@ -1158,6 +1225,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, 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)) @@ -1224,6 +1292,7 @@ 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)) +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)) @@ -1260,7 +1329,7 @@ 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, 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)) @@ -1274,7 +1343,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, 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)) @@ -1312,7 +1381,7 @@ 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, statfs, (const char *path, struct statfs *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, 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)) @@ -1350,12 +1419,15 @@ 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(double, strtod_l, (const char *restrict s, char **restrict p, struct __locale_struct *l), (s,p,l)) F(float, strtof, (const char *restrict s, char **restrict p), (s,p)) +//F(float, strtof_l, (const char *restrict s, char **restrict p, struct __locale_struct *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(long double, strtold_l, (const char *restrict s, char **restrict p, struct __locale_struct *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)) @@ -1478,6 +1550,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)) +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))