Aufgabe 7: Anwendung
string.h File Reference
General purpose String functions. More...
#include "types.h"
Include dependency graph for string.h:
This graph shows which files directly or indirectly include this file:
Functions | |
char * | strchrnul (const char *s, int c) |
Find the first occurrence of a character in a string. More... | |
char * | strchr (const char *s, int c) |
Find the first occurrence of a character in a string. More... | |
int | strcmp (const char *s1, const char *s2) |
Compare two strings. More... | |
int | strncmp (const char *s1, const char *s2, size_t n) |
Compare two strings. More... | |
size_t | strlen (const char *s) |
Calculate the length of a string. More... | |
size_t | strnlen (const char *s, size_t maxlen) |
Calculate the length of a string, limited by maxlen. More... | |
char * | strcpy (char *dest, const char *src) |
Copy the contents of a string including the terminating null byte (\0 ) More... | |
char * | strncpy (char *dest, const char *src, size_t n) |
Copy the contents of a string up to a maximum length or the terminating null byte (\0 ), whatever comes first. More... | |
void * | memcpy (void *__restrict__ dest, void const *__restrict__ src, size_t size) |
Copy a memory area. More... | |
void * | memmove (void *dest, void const *src, size_t size) |
Copy a memory area while the source may overlap with the destination. More... | |
void * | memset (void *dest, int pattern, size_t size) |
Fill a memory area with a pattern. More... | |
int | memcmp (const void *s1, const void *s2, size_t n) |
Compare a memory area. More... | |
Detailed Description
General purpose String functions.