1 .\" Copyright (c) 1983 Regents of the University of California.
2 .\" All rights reserved. The Berkeley software License Agreement
3 .\" specifies the terms and conditions for redistribution.
5 .\" @(#)bstring.3 6.1 (Berkeley) 5/15/85
7 .TH BSTRING 3 "May 15, 1985"
10 bstring, bcopy, bcmp, bzero, ffs \- bit and byte string operations
14 #include <sys/types.h>
18 void bcopy(const void *\fIsrc\fP, void *\fIdst\fP, size_t \fIlength\fP)
19 int bcmp(const void *\fIb1\fP, const void *\fIb2\fP, size_t \fIlength\fP)
20 void bzero(void *\fIdst\fP, size_t \fIlength\fP)
30 operate on variable length strings of bytes.
31 They do not check for null bytes as the routines in
48 returning zero if they are identical,
49 non-zero otherwise. Both strings are
61 find the first bit set in the argument passed it and
62 returns the index of that bit. Bits are numbered
63 starting at 1. A return value of 0 indicates the
71 functions are obsolete; new code should use
80 routine takes parameters backwards from