|
Libft
42 Libft library documentation
|
#include <stdlib.h>
Include dependency graph for ft_strnstr.c:Go to the source code of this file.
Functions | |
| char * | ft_strnstr (const char *haystack, const char *needle, size_t len) |
| Finds a substring within a bounded string region. | |
| char * ft_strnstr | ( | const char * | haystack, |
| const char * | needle, | ||
| size_t | len | ||
| ) |
Finds a substring within a bounded string region.
Searches needle in haystack but not beyond len bytes.
| haystack | String to search in. |
| needle | Substring to search for. |
| len | Maximum number of bytes to inspect in haystack. |
Definition at line 25 of file ft_strnstr.c.