|
|
1.1 ! root 1: /* ! 2: * List of function definitions that may *optionally* be included ! 3: * in libiberty.a. The function names must match the filenames, ! 4: * e.g. bzero() is defined in bzero.c. (While each file can contain ! 5: * extra functions, do not list them.) ! 6: * ! 7: * In the default libiberty configuration, these object files ! 8: * (e.g bzero.o) are included if and only if cc fails to find ! 9: * the corresponding function in libc. See config/mh-default. ! 10: */ ! 11: ! 12: DEF(bcmp, int, (s1, s2, length), char *s1 AND char *s2 AND int length ) ! 13: DEF(bcopy, void, (s1, s2, length), char *s1 AND char *s2 AND int length ) ! 14: DEF(bzero, void, (s, length), char *s AND int length) ! 15: DEF(getopt, int, (argc, argv, optstring), ! 16: int argc AND char **argv AND CONST char *optstring) ! 17: DEF(getpagesize, int , (), NOTHING) ! 18: DEF(getcwd, char*, (buf, len), char *buf AND int len) ! 19: DEF(index, char*, (s, c), char *s AND int c) ! 20: DEF(insque, void, (), NOTHING) ! 21: DEF(memchr, PTR, (s, c, length), CONST PTR s AND int c AND size_t length) ! 22: DEF(memcmp, int, (s1, s2, length), ! 23: CONST PTR s1 AND CONST PTR s2 AND size_t length) ! 24: DEF(memcpy, PTR, (s1, s2, length), PTR s1 AND CONST PTR s2 AND size_t length) ! 25: DEF(memmove, PTR, (s1, s2, length), PTR s1 AND CONST PTR s2 AND size_t length) ! 26: DEF(memset, PTR, (s, val, length), PTR s AND int val AND size_t length ) ! 27: DEF(random, long int, (), NOTHING) ! 28: DEF(rename, int, (f, t), char *f AND char *t) ! 29: DEF(rindex, char*, (s, c), char *s AND int c) ! 30: DEF(strcasecmp, int, (s1, s2), char *s1 AND char *s2) ! 31: DEF(strncasecmp, int, (s1, s2, n), char *s1 AND char *s2 AND int n) ! 32: DEF(strchr, char*, (s, c), CONST char *s AND int c) ! 33: DEF(strdup, char*, (s1), char * s1) ! 34: DEF(strrchr, char*, (s, c), CONST char *s AND int c) ! 35: DEF(strstr, char*, (), NOTHING) ! 36: DEF(strtod, double, (), NOTHING) ! 37: DEF(strtol, long, (), NOTHING) ! 38: DEF(strtoul, unsigned long, (), NOTHING) ! 39: DEF(tmpnam, char *, (s), char * s) ! 40: DEF(vfork, int, (), NOTHING) ! 41: DEF(vfprintf, int, (), NOTHING) ! 42: DEF(vprintf, int, (), NOTHING) ! 43: DEF(vsprintf, int, (), NOTHING) ! 44: DEF(sigsetmask, int, (), NOTHING) ! 45: DEF(alloca, PTR, (size), size_t size) ! 46: DEF(waitpid, int, (pid, statp, opts), int pid AND int* statp AND int opts ) ! 47: ! 48: /* List of global variables that we want to look for in the host ! 49: environment, and to generate an entry NEED_<variable> in config.h ! 50: if they are not found. The first arg is the variable name, the ! 51: second arg is how to declare the variable, and the third is how to ! 52: use it. */ ! 53: ! 54: DEFVAR(sys_nerr, int sys_nerr, sys_nerr = 0) ! 55: DEFVAR(sys_errlist, char *sys_errlist[], sys_errlist[0] = 0) ! 56: DEFVAR(sys_siglist, char *sys_siglist[], sys_siglist[0] = 0) ! 57: ! 58: /* List of global functions that we want to look for in the host ! 59: environment, and to generate an entry NEED_<funcname> in config.h ! 60: if they are not found. */ ! 61: ! 62: DEFFUNC(strerror, char*, (), NOTHING) ! 63: DEFFUNC(psignal, void, (signo, message), unsigned signo AND char *message)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.