bstring(SLIB) 6 January 1993 bstring(SLIB) Name bcopy, bcmp, bzero - bit and byte string operations Syntax bcopy(src, dst, length) char *src, *dst; int length; bcmp(b1, b2, length) char *b1, *b2; int length; bzero(b, length) char *b; int length; Description The functions bcopy, bcmp, and bzero operate on variable length strings of bytes. They do not check for null bytes as the routines in string(S) do. bcopy copies length bytes from string src to the string dst. bcmp compares byte string b1 against byte string b2, returning zero if they are identical, non-zero otherwise. Both strings are assumed to be length bytes long. bzero places length 0 bytes in the string b. Notes The bcopy routine takes parameters backwards from strcpy.