C Reference String Operation: strcat()

The strcat() function concatenates up to n characters of one string onto the end of another string.

Usage:

char * strcat ( char * destination, const char * source ); More »


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


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()


C Reference Convert to upper case: toupper()

The function toupper() returns a uppercase character of the character that is put in.

toupper() source code example:

More »


Posted in C Reference ctype.h Functions | Comments Off on C Reference Convert to upper case: toupper()


C Reference Convert to lower case: tolower()

The function tolower() returns a lowercase character of the character that is put in.

tolower() source code example:

More »


Posted in C Reference ctype.h Functions | 2 Comments


C Reference Hexidecimal Digit Test: isxdigit()

The function isxdigit() returns a non-zero if its argument is a hexadecimal digit. (If the argument is a: a-f, A-F, or 0-9).
If the argument is not a hexadecimal digit, then zero is returned.

isxdigit() source code example:

More »


Posted in C Reference ctype.h Functions | Comments Off on C Reference Hexidecimal Digit Test: isxdigit()


C Reference Upper case letter test: isupper()

The isupper() function returns a non-zero if its argument is an uppercase letter.
If the argument is not an uppercase letter, then zero is returned.

isupper() source code example:

More »


Posted in C Reference ctype.h Functions | Comments Off on C Reference Upper case letter test: isupper()