The header file <string_c.h> defines functions that operate on arrays that are interpreted as null-terminated strings.
The functions in this header file are like their counterparts in <string.h> except that some parameters which are const qualified in <string.h> are additionaly qualified with __code in <string_c.h>.
| Copying functions | |
| memcpy_c | Copy memory |
| strcpy_c | Copy string |
| strncpy_c | Copy string up to a maximum length |
| Concatenation functions | |
| strcat_c | Concatenate strings |
| strncat_c | Concatenate string up to a maximum length |
| Comparison functions | |
| memcmp_c | Compare memory contents |
| strcmp_c | Compare strings |
| strncmp_c | compare strings up to a maximum length |
| Miscellaneous functions | |
| strlen_c | Calculate length of string |