|
Libft
42 Libft library documentation
|
#include <stdlib.h>
Include dependency graph for ft_strchr.c:Go to the source code of this file.
Functions | |
| char * | ft_strchr (const char *s, int c) |
| Finds the first occurrence of a character in a string. | |
| char * ft_strchr | ( | const char * | s, |
| int | c | ||
| ) |
Finds the first occurrence of a character in a string.
The terminating '\0' is considered part of the string.
| s | Input string. |
| c | Character to search for. |
Definition at line 24 of file ft_strchr.c.
Referenced by ft_strtrim().
Here is the caller graph for this function: