libc: Add declaration for strrchr (already implemented)

This commit is contained in:
apio 2023-03-12 10:27:07 +01:00
parent 5c0104111d
commit 7649b44aab
Signed by: apio
GPG Key ID: B8A7D06E42258954

View File

@ -38,6 +38,9 @@ extern "C"
/* Return a pointer to the first occurrence of the character c in str, or NULL if it could not be found. */
char* strchr(const char* str, int c);
/* Return a pointer to the last occurrence of the character c in str, or NULL if it could not be found. */
char* strrchr(const char* str, int c);
/* Return a heap-allocated copy of a string. */
char* strdup(const char* str);