home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Scene Storm
/
Scene Storm - Volume 1.iso
/
coding
/
c
/
pdc
/
libsrc
/
stringlib
/
bcmp.c
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1990-04-07
|
264 b
|
15 lines
/*
- bcmp - Berklix equivalent of memcmp
*/
#include "config.h"
int /* == 0 or != 0 for equality and inequality */
bcmp(s1, s2, length)
CONST char *s1;
CONST char *s2;
int length;
{
return(memcmp((CONST VOIDSTAR)s1, (CONST VOIDSTAR)s2, (SIZET)length));
}