* Add strstrc() function which helps avoid a couple reads of unitialized memory.

This commit is contained in:
Justin Maggard
2009-11-12 01:53:40 +00:00
parent d25f3a6c14
commit 24ff2a8a1c
3 changed files with 44 additions and 9 deletions

View File

@ -16,6 +16,9 @@ ends_with(const char * haystack, const char * needle);
char *
trim(char *str);
char *
strstrc(const char *s, const char *p, const char t);
char *
modifyString(char * string, const char * before, const char * after, short like);