mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 15:37:46 +00:00
LibC: Add strcasestr()
strcasestr() behaves exactly like strstr(), except it ignores case for both inputs. This function is a nonstandard extension.
This commit is contained in:
parent
25c9dfbf90
commit
463ab21305
2 changed files with 20 additions and 0 deletions
|
@ -43,6 +43,7 @@ __attribute__((warn_unused_result)) size_t strlcpy(char* dest, char const* src,
|
|||
char* strchr(char const*, int c);
|
||||
char* strchrnul(char const*, int c);
|
||||
char* strstr(char const* haystack, char const* needle);
|
||||
char* strcasestr(char const* haystack, char const* needle);
|
||||
char* strrchr(char const*, int c);
|
||||
|
||||
char* index(char const* str, int ch);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue