-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathft_strchr.c
executable file
·18 lines (16 loc) · 1007 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: luperez <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2014/11/08 01:40:33 by luperez #+# #+# */
/* Updated: 2014/11/08 01:46:57 by luperez ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
char *ft_strchr(const char *s, int c)
{
return (ft_memchr(s, c, ft_strlen((char *)s) + 1));
}