home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / mmdf / mmdf-IIb.43 / src / pop / strings.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-02-28  |  638 b   |  33 lines

  1. /* strings.h - define standard string functions */
  2.  
  3. #ifndef    _STRINGS        /* once-only... */
  4. #define    _STRINGS
  5.  
  6. char    *index();
  7. char    *mktemp();
  8. char    *rindex();
  9. #ifndef    SYS5
  10. char    *sprintf();
  11. #else /* SYS5 */
  12. int    sprintf();
  13. #endif /* SYS5 */
  14. char    *strcat();
  15. int    strcmp();
  16. char    *strcpy();
  17. int    strlen();
  18. char    *strncat();
  19. int    strncmp();
  20. char    *strncpy();
  21.  
  22. char    *getenv();
  23. char    *calloc(), *malloc(), *realloc();
  24.  
  25. #ifdef    SYS5
  26. #include <memory.h>
  27. #define    bcopy(b1,b2,length)    (void) memcpy(b2, b1, length)
  28. #define    bcpy(b1,b2,length)    memcmp(b1, b2, length)
  29. #define    bzero(b,length)        (void) memset(b, 0, length)
  30. #endif /* SYS5 */
  31.  
  32. #endif /* not _STRINGS */
  33.