HP-UX Reference (11i v2 04/09) - 3 Library Functions A-M (vol 6)

m
memory(3C) memory(3C)
bcopy() copies n bytes from the area pointed to by s1 to the area pointed to by s2.
bcmp() Compare the first n bytes of the area pointed to by s1 with the area pointed to by s2.
bcmp() returns zero if they are identical; non-zero otherwise. Both areas are assumed
to be n bytes in length.
bzero() Clear n bytes in the area pointed to by s by setting them to zero.
ffs() Find the first bit set (beginning with the least significant bit) and return the index of that
bit. Bits are numbered starting at one. A return value of 0 indicates that i is zero.
International Code Set Support
These functions support only single-byte byte code sets.
WARNINGS
The functions defined in <
string.h
> were previously defined in <memory.h>.
FILES
/usr/include/string.h
SEE ALSO
string(3C), thread_safety(5).
STANDARDS CONFORMANCE
memccpy(): AES, SVID2, SVID3, XPG2, XPG3, XPG4
memchr(): AES, SVID2, SVID3, XPG2, XPG3, XPG4, ANSI C
memcmp(): AES, SVID2, SVID3, XPG2, XPG3, XPG4, ANSI C
memcpy(): AES, SVID2, SVID3, XPG2, XPG3, XPG4, ANSI C
memmove(): AES, SVID3, XPG4, ANSI C
memset(): AES, SVID2, SVID3, XPG2, XPG3, XPG4, ANSI C
Section 3624 Hewlett-Packard Company 2 HP-UX 11i Version 2: September 2004