📄 functions.def
字号:
/* * List of function definitions that may *optionally* be included * in libiberty.a. The function names must match the filenames, * e.g. bzero() is defined in bzero.c. (While each file can contain * extra functions, do not list them.) * * In the default libiberty configuration, these object files * (e.g bzero.o) are included if and only if cc fails to find * the corresponding function in libc. See config/mh-default. */DEF(bcmp, int, (s1, s2, length), char *s1 AND char *s2 AND int length )DEF(bcopy, void, (s1, s2, length), char *s1 AND char *s2 AND int length )DEF(bzero, void, (s, length), char *s AND int length)DEF(getopt, int, (argc, argv, optstring), int argc AND char **argv AND CONST char *optstring) DEF(getpagesize, int , (), NOTHING)DEF(getcwd, char*, (buf, len), char *buf AND int len)DEF(index, char*, (s, c), char *s AND int c)DEF(insque, void, (), NOTHING)DEF(memcmp, int, (s1, s2, length), CONST PTR s1 AND CONST PTR s2 AND size_t length)DEF(memcpy, PTR, (s1, s2, length), PTR s1 AND CONST PTR s2 AND size_t length)DEF(memmove, PTR, (s1, s2, length), PTR s1 AND CONST PTR s2 AND size_t length)DEF(memset, PTR, (s, val, length), PTR s AND int val AND size_t length )DEF(random, long int, (), NOTHING)DEF(rename, int, (f, t), char *f AND char *t)DEF(rindex, char*, (s, c), char *s AND int c)DEF(strchr, char*, (s, c), CONST char *s AND int c)DEF(strdup, char*, (s1), char * s1)DEF(strrchr, char*, (s, c), CONST char *s AND int c)DEF(strstr, char*, (), NOTHING)DEF(strtol, long, (), NOTHING)DEF(strtoul, unsigned long, (), NOTHING)DEF(vfork, int, (), NOTHING)DEF(vfprintf, int, (), NOTHING)DEF(vprintf, int, (), NOTHING)DEF(vsprintf, int, (), NOTHING)DEF(sigsetmask, int, (), NOTHING)DEF(alloca, PTR, (size), size_t size)/* List of global variables that we want to look for in the host environment, and to generate an entry NEED_<variable> in config.h if they are not found. The first arg is the variable name, the second arg is how to declare the variable, and the third is how to use it. */DEFVAR(sys_nerr, int sys_nerr, sys_nerr = 0)DEFVAR(sys_errlist, char *sys_errlist[], sys_errlist[0] = 0)DEFVAR(sys_siglist, char *sys_siglist[], sys_siglist[0] = 0)/* List of global functions that we want to look for in the host environment, and to generate an entry NEED_<funcname> in config.h if they are not found. */DEFFUNC(strerror, char*, (), NOTHING)DEFFUNC(psignal, void, (signo, message), unsigned signo AND char *message)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -