-
Notifications
You must be signed in to change notification settings - Fork 0
/
ft_printf.h
29 lines (25 loc) · 1.33 KB
/
ft_printf.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* libftprintf.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: aestrell <aestrell@student.42barcelona. +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/02/23 00:02:00 by aestrell #+# #+# */
/* Updated: 2024/02/23 00:02:00 by aestrell ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef FT_PRINTF_H
# define FT_PRINTF_H
# include "./libft/libft.h"
# include <stdarg.h>
# include <unistd.h>
int ft_printf(const char *format, ...);
int ft_put_char(char c);
int ft_put_string(char *str);
int ft_put_integer(int nbr);
int ft_put_unsigned(unsigned int nbr);
char *ft_convert_to_hex(unsigned long long number, char flag);
int ft_put_pointer(void *ptr);
int ft_put_hexadecimal(unsigned int ptr, char flag);
#endif