C Reference String Operation: memset()

The function memset() copies x into a buffer y and does this n times.

Usage:

void *memset( void *y, int x, size_t n); More »


Posted in C Reference string.h Functions | Comments Off on C Reference String Operation: memset()


C Reference String Operation: memmove()

The function memmove() copies n characters from source to target.

Usage:

void *memmove(void *target, void *source, size_t count); More »


Posted in C Reference string.h Functions | Comments Off on C Reference String Operation: memmove()


C Reference String Operation: memcpy()

The function memcpy() copies n characters from source to target.

Usage:

void *memcpy(void *target, void *source, size_t count); More »


Posted in C Reference string.h Functions | Comments Off on C Reference String Operation: memcpy()


C Reference String Operation: memcmp()

The function memcmp() compares n bytes of two regions of memory, treating each byte as an unsigned character.

Usage:

More »


Posted in C Reference string.h Functions | Comments Off on C Reference String Operation: memcmp()


C Reference String Operation: memchr()

The memchr() function returns a pointer to the first occurrence of c in the first n bytes of a memory area.

Usage:

More »


Posted in C Reference string.h Functions | Comments Off on C Reference String Operation: memchr()