#include "stddef.h"
Go to the source code of this file.
|
| #define | ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) |
| |
|
| const char * | strstri (const char *pString, const char *pToken) |
| | Return pointer to occurence of substring in string. Case insensitive. More...
|
| |
| int | strcasecmp (const char *s1, const char *s2) |
| | A case-insensitive strcmp(). More...
|
| |
| void * | memmem (const void *haystack, size_t haystacklen, const void *needle, size_t needlelen) |
| |
| void * | memrchr (const void *s, int c, size_t n) |
| |
| int | memicmp (const void *buf1, const void *buf2, size_t len) |
| |
| static char | hexchar (unsigned char c) |
| |
| static signed char | unhex (char c) |
| |
◆ ARRAY_SIZE
| #define ARRAY_SIZE |
( |
|
a | ) |
(sizeof(a) / sizeof((a)[0])) |
◆ hexchar()
| static char hexchar |
( |
unsigned char |
c | ) |
|
|
inlinestatic |
◆ memicmp()
| int memicmp |
( |
const void * |
buf1, |
|
|
const void * |
buf2, |
|
|
size_t |
len |
|
) |
| |
◆ memmem()
| void* memmem |
( |
const void * |
haystack, |
|
|
size_t |
haystacklen, |
|
|
const void * |
needle, |
|
|
size_t |
needlelen |
|
) |
| |
◆ memrchr()
| void* memrchr |
( |
const void * |
s, |
|
|
int |
c, |
|
|
size_t |
n |
|
) |
| |
◆ strcasecmp()
| int strcasecmp |
( |
const char * |
s1, |
|
|
const char * |
s2 |
|
) |
| |
A case-insensitive strcmp().
- Note
- non-ANSI GNU C library extension
◆ strstri()
| const char* strstri |
( |
const char * |
pString, |
|
|
const char * |
pToken |
|
) |
| |
Return pointer to occurence of substring in string. Case insensitive.
- Parameters
-
| [in] | pString | string to work with |
| [in] | pToken | string to locate |
- Return values
-
| const | char* pointer to first occurence in of pToken in pString or NULL if not found |
◆ unhex()
| static signed char unhex |
( |
char |
c | ) |
|
|
inlinestatic |