home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / DMAKE38C.ZIP / UNIX / BSD43 / STRING.H < prev    next >
C/C++ Source or Header  |  1992-01-23  |  292b  |  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.