-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathft_printf.h
More file actions
38 lines (34 loc) · 1.63 KB
/
ft_printf.h
File metadata and controls
38 lines (34 loc) · 1.63 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
31
32
33
34
35
36
37
38
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_printf.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: rafael-m <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/04/25 13:12:11 by rafael-m #+# #+# */
/* Updated: 2025/04/27 21:18:34 by rafael-m ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef FT_PRINTF_H
# define FT_PRINTF_H
# include <stdarg.h>
# include <unistd.h>
# include <stdint.h>
int ft_printf(const char *format, ...);
int ft_putptr(void *ptr);
int ft_putuint(unsigned int n);
int ft_puthex_lower(unsigned int n);
int ft_puthex_upper(unsigned int n);
int ft_check_format(char c, va_list ap);
int ft_format_per(void);
int ft_format_char(va_list ap);
int ft_format_int(va_list ap);
int ft_format_ptr(va_list ap);
int ft_format_str(va_list ap);
int ft_format_hexlower(va_list ap);
int ft_format_hexupper(va_list ap);
int ft_format_uint(va_list ap);
int ft_unbr_base_len(unsigned long long nbr, size_t base_len);
int ft_unbr_base_len(unsigned long long nbr, size_t base_len);
void ft_putunbr_base(unsigned long long nbr, char *base);
#endif