home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 109.lha / PD_C / lib / bcmp.c < prev    next >
Text File  |  1986-11-20  |  282b  |  13 lines

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