Download avr-libc Reference Manual
Transcript
5.16 Strings Warning: This function is not -mint8 compatible, although if you only care about testing for equality, this function should be safe to use. 5.16.2.4 void ∗ memcpy (void ∗ dest, const void ∗ src, size t len) Copy a memory area. The memcpy() function copies len bytes from memory area src to memory area dest. The memory areas may not overlap. Use memmove() if the memory areas do overlap. Returns: The memcpy() function returns a pointer to dest. 5.16.2.5 void ∗ memmove (void ∗ dest, const void ∗ src, size t len) Copy memory area. The memmove() function copies len bytes from memory area src to memory area dest. The memory areas may overlap. Returns: The memmove() function returns a pointer to dest. 5.16.2.6 void ∗ memset (void ∗ dest, int val, size t len) Fill memory with a constant byte. The memset() function fills the first len bytes of the memory area pointed to by dest with the constant byte val. Returns: The memset() function returns a pointer to the memory area dest. 5.16.2.7 int strcasecmp (const char ∗ s1, const char ∗ s2) Compare two strings ignoring case. The strcasecmp() function compares the two strings s1 and s2, ignoring the case of the characters. Returns: The strcasecmp() function returns an integer less than, equal to, or greater than zero if s1 is found, respectively, to be less than, to match, or be greater than s2. Generated on Mon Mar 8 22:25:10 2004 for avr-libc by Doxygen 63