home *** CD-ROM | disk | FTP | other *** search
/ Scene Storm / Scene Storm - Volume 1.iso / coding / c / pdc / libsrc / stringlib / bcmp.c next >
Encoding:
C/C++ Source or Header  |  1990-04-07  |  264 b   |  15 lines

  1. /*
  2.  - bcmp - Berklix equivalent of memcmp
  3.  */
  4.  
  5. #include "config.h"
  6.  
  7. int                /* == 0 or != 0 for equality and inequality */
  8. bcmp(s1, s2, length)
  9. CONST char *s1;
  10. CONST char *s2;    
  11. int length;
  12. {
  13.     return(memcmp((CONST VOIDSTAR)s1, (CONST VOIDSTAR)s2, (SIZET)length));
  14. }
  15.