add strcasestr util
This commit is contained in:
1 parent
bf4507f341
commit
208714be01
2 files changed
+37
No files matched your search
@@ -44,6 +44,9 @@
|
||||
#define sigar_isupper(c) \
|
||||
(isupper(((unsigned char)(c))))
|
||||
|
||||
#define sigar_tolower(c) \
|
||||
(tolower(((unsigned char)(c))))
|
||||
|
||||
#ifdef WIN32
|
||||
#define sigar_fileno _fileno
|
||||
#define sigar_isatty _isatty
|
||||
@@ -81,6 +84,8 @@ SIGAR_INLINE char *sigar_skip_multiple_token(char *p, int count);
|
||||
|
||||
char *sigar_getword(char **line, char stop);
|
||||
|
||||
char *sigar_strcasestr(const char *s1, const char *s2);
|
||||
|
||||
int sigar_file2str(const char *fname, char *buffer, int buflen);
|
||||
|
||||
int sigar_proc_file2str(char *buffer, int buflen,
|
||||
|
||||
Reference in new issue
Block a user