|
|
#include <strings.h>void bcopy(const void *b1, const void *b2, int length);
int bcmp(const void *b1, const void *b2, int length);
void bzero(void *b, int length);
bcopy copies length bytes from string b1 to the string b2. Overlapping strings are handled correctly.
bcmp compares the first length bytes of byte string b1 against byte string b2, returning zero if they are identical, 1 otherwise. Both strings are assumed to be length bytes long. bcmp of length zero bytes always returns zero.
bzero places length 0 bytes in the string b.