27 |
#include <ctype.h> |
#include <ctype.h> |
28 |
|
|
29 |
/* code taken from glibc-2.2.1/sysdeps/generic/strsep.c */ |
/* code taken from glibc-2.2.1/sysdeps/generic/strsep.c */ |
30 |
char* |
extern "C" char* |
31 |
strsep (char **stringp, const char *delim) |
strsep (char **stringp, const char *delim) |
32 |
{ |
{ |
33 |
char *begin, *end; |
char *begin, *end; |
68 |
|
|
69 |
|
|
70 |
/* Like strstr but this version is case in-sentensive. */ |
/* Like strstr but this version is case in-sentensive. */ |
71 |
const char * |
exten "C" const char * |
72 |
stristr (const char *buf, const char *sub) |
stristr (const char *buf, const char *sub) |
73 |
{ |
{ |
74 |
const char *t, *s ; |
const char *t, *s ; |