home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / dmake40.zip / unix / bsd43 / string.h < prev    next >
C/C++ Source or Header  |  1994-10-23  |  308b  |  17 lines

  1. /*
  2. ** BSD does this wrong
  3. */
  4. #include <strings.h>
  5.  
  6. #include "stdmacs.h"
  7. extern    char*    strpbrk ANSI((char* src, char* any));
  8.  
  9. #ifndef DBUG
  10. #define    strchr(str,c)    index(str,c)
  11. #define    strrchr(str,c)    rindex(str,c)
  12. #else
  13. char *strchr ANSI((char*, char));
  14. char *strrchr ANSI((char*, char));
  15. #endif
  16.  
  17.