From d18645793ac0173d4202bb2ebe32bdf86b75a810 Mon Sep 17 00:00:00 2001 From: Augusto Becker <81205527+augustobecker@users.noreply.github.com> Date: Sun, 6 Mar 2022 10:03:39 -0300 Subject: [PATCH] Update libft.h --- libft.h | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/libft.h b/libft.h index d41eb42..81a17af 100644 --- a/libft.h +++ b/libft.h @@ -6,7 +6,7 @@ /* By: acesar-l +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2021/09/07 16:53:29 by acesar-l #+# #+# */ -/* Updated: 2021/09/15 21:37:40 by acesar-l ### ########.fr */ +/* Updated: 2021/03/06 10:00:42 by acesar-l ### ########.fr */ /* */ /* ************************************************************************** */ @@ -14,6 +14,7 @@ # define LIBFT_H # include # include +# include typedef struct s_list { @@ -64,5 +65,20 @@ void ft_lstdelone(t_list *lst, void (*del)(void *)); void ft_lstclear(t_list **lst, void (*del)(void*)); void ft_lstiter(t_list *lst, void (*f)(void *)); t_list *ft_lstmap(t_list *lst, void *(*f)(void *), void (*del)(void *)); +char *get_next_line(int fd); +int ft_printf(const char *str, ...); +int ft_argument_c(char c); +int ft_arguments_d_i(int c); +int ft_argument_p(unsigned long nbr); +int ft_argument_percent(void); +int ft_argument_s(char *str); +int ft_argument_u(unsigned int nbr); +int ft_arguments_x(unsigned int nbr, char type); +int ft_is_argument(char a); +int ft_decimal_length(long int nbr); +void ft_free_ptr(char **ptr); +char ft_decimal_converter_to_hex(char digit, char type); +int ft_hex_length(unsigned long nbr); +int ft_print_reversed_str(char *str); #endif