added ft_strnchr & ft_strrnchr

This commit is contained in:
Tanguy MAZE
2018-05-16 12:42:37 +02:00
parent 0ea4e74d77
commit c5a13918c2
4 changed files with 63 additions and 4 deletions

View File

@@ -6,7 +6,7 @@
/* By: tmaze <tmaze@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2018/04/08 00:12:36 by tmaze #+# #+# */
/* Updated: 2018/05/05 16:49:16 by tmaze ### ########.fr */
/* Updated: 2018/05/16 12:19:51 by tmaze ### ########.fr */
/* */
/* ************************************************************************** */
@@ -129,5 +129,6 @@ void ft_print_words_tables(char **tab);
t_list *ft_lstaddend(t_list **alst, t_list *new);
char *ft_strndup(const char *s1, size_t n);
unsigned int ft_abs(int nb);
char *ft_strnchr(const char *s, int c, int n);
char *ft_strrnchr(const char *s, int c, int n);
#endif