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/05 10:40:13 by tmaze #+# #+# */
/* Updated: 2018/04/05 10:41:19 by tmaze ### ########.fr */
/* Updated: 2018/04/05 11:05:31 by tmaze ### ########.fr */
/* */
/* ************************************************************************** */
@@ -14,9 +14,9 @@
char *ft_strrchr(const char *s, int c)
{
int i;
char *tmp;
char *ret;
int i;
char *tmp;
char *ret;
i = -1;
ret = NULL;