-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathft_printf.h
30 lines (27 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
30
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_printf.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: sithomas <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/11/19 14:10:06 by sithomas #+# #+# */
/* Updated: 2025/01/20 11:45:04 by sithomas ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef FT_PRINTF_H
# define FT_PRINTF_H
# define CAP_HEX "0123456789ABCDEF"
# define SMALL_HEX "0123456789abcdef"
# include <limits.h>
# include <stdarg.h>
# include <stddef.h>
# include <unistd.h>
int ft_printf(char const *s, ...);
int ft_putncount_nbr(int n);
int ft_putncount_ptr(size_t nb);
int ft_putncount_unsigned_nbr(unsigned int n);
int ft_putncount_char(char c);
int ft_putncount_nbr_hex(unsigned int nb, char *hextype);
int ft_putncount_str(char *s);
#endif