Add new strnstr() function

Taken from FreeBSD.
This commit is contained in:
Guillem Jover
2012-11-25 21:13:38 +01:00
parent ff0d700df0
commit 1be0bdb2c9
7 changed files with 184 additions and 0 deletions

View File

@@ -39,6 +39,7 @@
__BEGIN_DECLS
size_t strlcpy(char *dst, const char *src, size_t siz);
size_t strlcat(char *dst, const char *src, size_t siz);
char *strnstr(const char *str, const char *find, size_t str_len);
void strmode(mode_t mode, char *str);
__END_DECLS