diff options
Diffstat (limited to 'common/os_calls.c')
| -rw-r--r-- | common/os_calls.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/common/os_calls.c b/common/os_calls.c index c8044cba..07f378e5 100644 --- a/common/os_calls.c +++ b/common/os_calls.c @@ -1751,6 +1751,19 @@ g_strlen(const char *text) } /*****************************************************************************/ +/* locates char in text */ +char* APP_CC +g_strchr(const char* text, int c) +{ + if (text == NULL) + { + return 0; + } + + return strchr(text,c); +} + +/*****************************************************************************/ /* returns dest */ char *APP_CC g_strcpy(char *dest, const char *src) |
