home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d1xx / d110 / pdc.lha / Pdc / lib / bcmp.c next >
Text File  |  1987-10-28  |  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.