7void *
memcpy (
void *,
const void *,
size_t);
8void *
memmove (
void *,
const void *,
size_t);
9char *
strncat (
char *,
const char *,
size_t);
10int memcmp (
const void *,
const void *,
size_t);
11int strcmp (
const char *,
const char *);
12void *
memchr (
const void *,
int,
size_t);
13char *
strchr (
const char *,
int);
14size_t strcspn (
const char *,
const char *);
15char *
strpbrk (
const char *,
const char *);
16char *
strrchr (
const char *,
int);
17size_t strspn (
const char *,
const char *);
18char *
strstr (
const char *,
const char *);
19void *
memset (
void *,
int,
size_t);
20size_t strlen (
const char *);
23size_t strlcpy (
char *,
const char *,
size_t);
24size_t strlcat (
char *,
const char *,
size_t);
25char *
strtok_r (
char *,
const char *,
char **);
26size_t strnlen (
const char *,
size_t);
29#define strcpy dont_use_strcpy_use_strlcpy
30#define strncpy dont_use_strncpy_use_strlcpy
31#define strcat dont_use_strcat_use_strlcat
32#define strncat dont_use_strncat_use_strlcat
33#define strtok dont_use_strtok_use_strtok_r
void * memchr(const void *, int, size_t)
Returns a pointer to the first occurrence of CH in the first SIZE bytes starting at BLOCK.
int memcmp(const void *, const void *, size_t)
Find the first differing byte in the two blocks of SIZE bytes at A and B.
char * strstr(const char *, const char *)
Returns a pointer to the first occurrence of NEEDLE within HAYSTACK.
size_t strlen(const char *)
Returns the length of STRING.
int strcmp(const char *, const char *)
Finds the first differing characters in strings A and B.
size_t strspn(const char *, const char *)
Returns the length of the initial substring of STRING that consists of characters in SKIP.
size_t strcspn(const char *, const char *)
Returns the length of the initial substring of STRING that consists of characters that are not in STO...
char * strrchr(const char *, int)
Returns a pointer to the last occurrence of C in STRING.
char * strpbrk(const char *, const char *)
Returns a pointer to the first character in STRING that is also in STOP.
void * memcpy(void *, const void *, size_t)
Standard.
size_t strlcat(char *, const char *, size_t)
Concatenates string SRC to DST.
size_t strlcpy(char *, const char *, size_t)
Extensions.
void * memmove(void *, const void *, size_t)
Copies SIZE bytes from SRC to DST, which are allowed to overlap.
void * memset(void *, int, size_t)
Sets the SIZE bytes in DST to VALUE.
char * strchr(const char *, int)
Finds and returns the first occurrence of C in STRING, or a null pointer if C does not appear in STRI...
char * strtok_r(char *, const char *, char **)
Breaks a string into tokens separated by DELIMITERS.
size_t strnlen(const char *, size_t)
If STRING is less than MAXLEN characters in length, returns its actual length.