-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathft_printf.h
32 lines (28 loc) · 1.42 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
30
31
32
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_printf.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: melkholy <melkholy@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/08/25 13:56:30 by melkholy #+# #+# */
/* Updated: 2022/08/26 03:15:46 by melkholy ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef FT_PRINTF_H
# define FT_PRINTF_H
# include <unistd.h>
# include <stdarg.h>
# include "./libft/libft.h"
int ft_ncount_unsigned(unsigned int n);
char *ft_itoa_unsigned(unsigned int n);
int ft_ncount_hex(size_t n);
char *ft_to_hexstr(char speci, size_t n);
int ft_character(va_list arg);
int ft_string(va_list arg);
int ft_pointer(char speci, size_t nbr);
int ft_print_d_u_x(char speci, va_list arg);
int ft_check_specifier(const char *fmt, va_list arg);
int ft_check_print(const char *fmt, va_list arg);
int ft_printf(const char *fmt, ...);
#endif