49#define __ATTR_PURE__ __attribute__((__pure__))
53# define __ATTR_CONST__ __attribute__((__const__))
90#if defined(__DOXYGEN__)
98 + (((x) & 017) == 0) \
99 + (((x) & 037) == 0) \
100 + (((x) & 077) == 0) \
101 + (((x) & 0177) == 0) \
102 + (((x) & 0377) == 0) \
103 + (((x) & 0777) == 0) \
104 + (((x) & 01777) == 0) \
105 + (((x) & 03777) == 0) \
106 + (((x) & 07777) == 0) \
107 + (((x) & 017777) == 0) \
108 + (((x) & 037777) == 0) \
109 + (((x) & 077777) == 0) \
110 - (((x) & 0177777) == 0) * 16)
125extern int ffs(
int __val) __ATTR_CONST__;
131extern int ffsl(
long __val) __ATTR_CONST__;
137__extension__
extern int ffsll(
long long __val) __ATTR_CONST__;
150extern void *
memccpy(
void *,
const void *,
int,
size_t);
162extern void *
memchr(
const void *,
int,
size_t) __ATTR_PURE__;
180extern int memcmp(
const void *,
const void *,
size_t) __ATTR_PURE__;
191extern void *
memcpy(
void *,
const void *,
size_t);
203extern void *
memmem(
const void *,
size_t,
const void *,
size_t) __ATTR_PURE__;
213extern void *
memmove(
void *,
const void *,
size_t);
225extern void *
memrchr(
const void *,
int,
size_t) __ATTR_PURE__;
248extern char *
strcat(
char *,
const char *);
260extern char *
strchr(
const char *,
int) __ATTR_PURE__;
285extern int strcmp(
const char *,
const char *) __ATTR_PURE__;
303extern char *
strcpy(
char *,
const char *);
318extern int strcasecmp(
const char *,
const char *) __ATTR_PURE__;
331extern char *
strcasestr(
const char *,
const char *) __ATTR_PURE__;
342extern size_t strcspn(
const char *__s,
const char *__reject) __ATTR_PURE__;
362extern char *
strdup(
const char *s1);
378extern char *
strndup(
const char *s,
size_t n);
391extern size_t strlcat(
char *,
const char *,
size_t);
402extern size_t strlcpy(
char *,
const char *,
size_t);
413extern size_t strlen(
const char *) __ATTR_PURE__;
436extern char *
strncat(
char *,
const char *,
size_t);
448extern int strncmp(
const char *,
const char *,
size_t) __ATTR_PURE__;
463extern char *
strncpy(
char *,
const char *,
size_t);
478extern int strncasecmp(
const char *,
const char *,
size_t) __ATTR_PURE__;
492extern size_t strnlen(
const char *,
size_t) __ATTR_PURE__;
505extern char *
strpbrk(
const char *__s,
const char *__accept) __ATTR_PURE__;
519extern char *
strrchr(
const char *,
int) __ATTR_PURE__;
547extern char *
strsep(
char **,
const char *);
558extern size_t strspn(
const char *__s,
const char *__accept) __ATTR_PURE__;
571extern char *
strstr(
const char *,
const char *) __ATTR_PURE__;
590extern char *
strtok(
char *,
const char *);
607extern char *
strtok_r(
char *,
const char *,
char **);
624extern int strcoll(
const char *s1,
const char *s2);
625extern char *strerror(
int errnum);
626extern size_t strxfrm(
char *dest,
const char *src,
size_t n);
int strncasecmp(const char *, const char *, size_t)
Compare two strings ignoring case.
void * memchr(const void *, int, size_t)
Scan memory for a character.
int memcmp(const void *, const void *, size_t)
Compare memory areas.
char * strlwr(char *)
Convert a string to lower case.
char * strstr(const char *, const char *)
Locate a substring.
char * strcat(char *, const char *)
Concatenate two strings.
size_t strlen(const char *)
Calculate the length of a string.
int strcmp(const char *, const char *)
Compare two strings.
char * strchrnul(const char *, int)
char * strpbrk(const char *__s, const char *__accept)
char * strrchr(const char *, int)
Locate character in string.
char * strcpy(char *, const char *)
Copy a string.
void * memcpy(void *, const void *, size_t)
Copy a memory area.
size_t strlcat(char *, const char *, size_t)
Concatenate two strings.
Definition: strlcat.c:50
size_t strlcpy(char *, const char *, size_t)
Copy a string.
Definition: strlcpy.c:49
char * strtok(char *, const char *)
Parses the string s into tokens.
Definition: strtok.c:41
int strncmp(const char *, const char *, size_t)
Compare two strings.
char * strncpy(char *, const char *, size_t)
Copy a string.
char * strdup(const char *s1)
Duplicate a string.
Definition: strdup.c:37
void * memmove(void *, const void *, size_t)
Copy memory area.
void * memccpy(void *, const void *, int, size_t)
Copy memory area.
void * memset(void *, int, size_t)
Fill memory with a constant byte.
int strcasecmp(const char *, const char *)
Compare two strings ignoring case.
char * strchr(const char *, int)
Locate character in string.
char * strupr(char *)
Convert a string to upper case.
int ffs(int __val)
This function finds the first (least significant) bit set in the input value.
char * strtok_r(char *, const char *, char **)
Parses string into tokens.
void * memrchr(const void *, int, size_t)
void * memmem(const void *, size_t, const void *, size_t)
char * strcasestr(const char *, const char *)
int ffsl(long __val)
Same as ffs(), for an argument of type long.
char * strrev(char *)
Reverse a string.
size_t strcspn(const char *__s, const char *__reject)
int ffsll(long long __val)
Same as ffs(), for an argument of type long long.
size_t strnlen(const char *, size_t)
Determine the length of a fixed-size string.
size_t strspn(const char *__s, const char *__accept)
char * strndup(const char *s, size_t n)
Duplicate a string.
Definition: strndup.c:34
char * strncat(char *, const char *, size_t)
Concatenate two strings.
char * strsep(char **, const char *)
Parse a string into tokens.