diff options
| author | Dominik Kaiser | 2024-06-24 16:58:46 +0200 |
|---|---|---|
| committer | GitHub | 2024-06-24 16:58:46 +0200 |
| commit | a28e57c6e0277a1d7346bec58cf557c52e337501 (patch) | |
| tree | 8710c1c12dfd9e6c52821944b0676ec15e5e20ae /lib/libft/ft_printf.h | |
| parent | f1349566aef0cb80ef8f4cdcf2795e38631ed820 (diff) | |
| download | minishell-a28e57c6e0277a1d7346bec58cf557c52e337501.tar.gz minishell-a28e57c6e0277a1d7346bec58cf557c52e337501.zip | |
Add libft
Diffstat (limited to 'lib/libft/ft_printf.h')
| -rw-r--r-- | lib/libft/ft_printf.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/lib/libft/ft_printf.h b/lib/libft/ft_printf.h new file mode 100644 index 0000000..2378bfb --- /dev/null +++ b/lib/libft/ft_printf.h @@ -0,0 +1,24 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* ft_printf.h :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: dkaiser <dkaiser@student.42heilbronn.de +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2024/03/12 18:19:47 by dkaiser #+# #+# */ +/* Updated: 2024/06/24 16:43:56 by dkaiser ### ########.fr */ +/* */ +/* ************************************************************************** */ + +#ifndef FT_PRINTF_H +# define FT_PRINTF_H + +# include <stdarg.h> +# include <unistd.h> + +int ft_printf(const char *fmt, ...); +int ft_printnbr(int nbr); +int ft_printunbr(unsigned int nbr); +int ft_printhex(unsigned int nbr, char fmt); +int ft_printaddr(void *addr); +#endif // FT_PRINTF_H |
