ft_strstr, norming ft_strchr, ft_strrchr

This commit is contained in:
Tanguy MAZE
2018-04-05 11:24:30 +02:00
parent c94e1f448e
commit aa17bb3c11
4 changed files with 41 additions and 8 deletions

View File

@@ -6,7 +6,7 @@
/* By: tmaze <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2018/04/04 18:54:17 by tmaze #+# #+# */
/* Updated: 2018/04/05 10:25:13 by tmaze ### ########.fr */
/* Updated: 2018/04/05 11:05:16 by tmaze ### ########.fr */
/* */
/* ************************************************************************** */
@@ -14,8 +14,8 @@
char *ft_strchr(const char *s, int c)
{
int i;
char *tmp;
int i;
char *tmp;
i = -1;
tmp = (char*)s;