-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathft_printf.h
More file actions
30 lines (25 loc) · 1.35 KB
/
Copy pathft_printf.h
File metadata and controls
30 lines (25 loc) · 1.35 KB
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: ymazini <ymazini@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/11/25 14:30:22 by ymazini #+# #+# */
/* Updated: 2024/11/26 21:02:11 by ymazini ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef FT_PRINTF_H
# define FT_PRINTF_H
# include <stdarg.h>
# include <unistd.h>
# define LOW_HEX "0123456789abcdef"
# define UPP_HEX "0123456789ABCDEF"
int ft_printf(char const *str, ...);
int ft_putchar_pf(char c, size_t *count);
int ft_puthex_pf(unsigned long nbr, size_t *count, char c);
int ft_putnbr_pf(int n, size_t *count);
int ft_putstr_pf(char *str, size_t *count);
int ft_putunbr_pf(unsigned int n, size_t *count);
int ft_putadr_pf(unsigned long n, size_t *count);
#endif