diff options
Diffstat (limited to '')
-rw-r--r-- | libft/include/libft.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libft/include/libft.h b/libft/include/libft.h index 7019d6b..96615fd 100644 --- a/libft/include/libft.h +++ b/libft/include/libft.h @@ -65,6 +65,14 @@ typedef struct s_printflist char *output; } t_printflist; +typedef struct s_stok +{ + char *spanp; + char *ns; + int32_t c; + int32_t sc; +} t_stok; + /* ** VOID */ @@ -115,6 +123,8 @@ char *ft_nstr(size_t size); char *ft_strsubst(char *str, const char *pattern, const char *subst); +char *ft_strtok_r(char *s, const char *delim, char **last); +char *ft_strtok(char *s, const char *delim); char **ft_split(const char *s, char c); /* |