Manipulating byte strings (UNIX domain)
Aside from the address-related database routines, there are
several other routines available in the run-time library which
are intended mostly to simplify manipulation of names and addresses.
The following table summarizes the routines for manipulating
variable length byte strings.
-------------------------------------------------------------- C Run-Time Routines -------------------------------------------------------------- Call Synopsis memcmp(s1,s2,n) compare n bytes of strings s1 and s2 memcpy(s2,s1,n) copy n bytes from s1 to s2 memset(base,'\0',n) zero-fill n bytes starting at base