home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / gnu / djgpp / src / binutils.2 / libibert / function.def < prev    next >
Encoding:
Text File  |  1993-05-30  |  2.6 KB  |  61 lines

  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(strchr, char*, (s, c), CONST char *s AND int c)
  31. DEF(strdup, char*, (s1), char * s1)
  32. DEF(strrchr, char*, (s, c), CONST char *s AND int c)
  33. DEF(strstr, char*, (), NOTHING)
  34. DEF(strtod, double, (), NOTHING)
  35. DEF(strtol, long, (), NOTHING)
  36. DEF(strtoul, unsigned long, (), NOTHING)
  37. DEF(tmpnam, char *, (s), char * s)
  38. DEF(vfork, int, (), NOTHING)
  39. DEF(vfprintf, int, (), NOTHING)
  40. DEF(vprintf, int, (), NOTHING)
  41. DEF(vsprintf, int, (), NOTHING)
  42. DEF(sigsetmask, int, (), NOTHING)
  43. DEF(alloca, PTR, (size), size_t size)
  44.  
  45. /* List of global variables that we want to look for in the host
  46.    environment, and to generate an entry NEED_<variable> in config.h
  47.    if they are not found.  The first arg is the variable name, the
  48.    second arg is how to declare the variable, and the third is how to
  49.    use it. */
  50.  
  51. DEFVAR(sys_nerr, int sys_nerr, sys_nerr = 0)
  52. DEFVAR(sys_errlist, char *sys_errlist[], sys_errlist[0] = 0)
  53. DEFVAR(sys_siglist, char *sys_siglist[], sys_siglist[0] = 0)
  54.  
  55. /* List of global functions that we want to look for in the host
  56.    environment, and to generate an entry NEED_<funcname> in config.h
  57.    if they are not found. */
  58.  
  59. DEFFUNC(strerror, char*, (), NOTHING)
  60. DEFFUNC(psignal, void, (signo, message), unsigned signo AND char *message)
  61.