-
Notifications
You must be signed in to change notification settings - Fork 1
/
ft_strchr.c
18 lines (16 loc) · 999 Bytes
/
ft_strchr.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_strchr.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: oadhesiv <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/04/20 17:52:55 by oadhesiv #+# #+# */
/* Updated: 2019/04/20 18:29:16 by oadhesiv ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
char *ft_strchr(const char *s, int c)
{
return (ft_memchr(s, c, ft_strlen(s) + 1));
}