home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.2 (Developer) / NS_dev_3.2.iso / NextDeveloper / Source / GNU / libg++ / libiberty / functions.def < prev    next >
Text File  |  1993-06-29  |  3KB  |  58 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(memcmp, int, (s1, s2, length),
  22.     CONST PTR s1 AND CONST PTR s2 AND size_t length)
  23. DEF(memcpy, PTR, (s1, s2, length), PTR s1 AND CONST PTR s2 AND size_t length)
  24. DEF(memmove, PTR, (s1, s2, length), PTR s1 AND CONST PTR s2 AND size_t length)
  25. DEF(memset, PTR, (s, val, length), PTR s AND int val AND size_t length )
  26. DEF(random, long int, (), NOTHING)
  27. DEF(rename, int, (f, t), char *f AND char *t)
  28. DEF(rindex, char*, (s, c), char *s AND int c)
  29. DEF(strchr, char*, (s, c), CONST char *s AND int c)
  30. DEF(strdup, char*, (s1), char * s1)
  31. DEF(strrchr, char*, (s, c), CONST char *s AND int c)
  32. DEF(strstr, char*, (), NOTHING)
  33. DEF(strtol, long, (), NOTHING)
  34. DEF(strtoul, unsigned long, (), NOTHING)
  35. DEF(vfork, int, (), NOTHING)
  36. DEF(vfprintf, int, (), NOTHING)
  37. DEF(vprintf, int, (), NOTHING)
  38. DEF(vsprintf, int, (), NOTHING)
  39. DEF(sigsetmask, int, (), NOTHING)
  40. DEF(alloca, PTR, (size), size_t size)
  41.  
  42. /* List of global variables that we want to look for in the host
  43.    environment, and to generate an entry NEED_<variable> in config.h
  44.    if they are not found.  The first arg is the variable name, the
  45.    second arg is how to declare the variable, and the third is how to
  46.    use it. */
  47.  
  48. DEFVAR(sys_nerr, int sys_nerr, sys_nerr = 0)
  49. DEFVAR(sys_errlist, char *sys_errlist[], sys_errlist[0] = 0)
  50. DEFVAR(sys_siglist, char *sys_siglist[], sys_siglist[0] = 0)
  51.  
  52. /* List of global functions that we want to look for in the host
  53.    environment, and to generate an entry NEED_<funcname> in config.h
  54.    if they are not found. */
  55.  
  56. DEFFUNC(strerror, char*, (), NOTHING)
  57. DEFFUNC(psignal, void, (signo, message), unsigned signo AND char *message)
  58.