-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathft_printf.h
More file actions
27 lines (23 loc) · 1.26 KB
/
ft_printf.h
File metadata and controls
27 lines (23 loc) · 1.26 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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_printf.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: houkaamo <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/11/15 20:52:03 by houkaamo #+# #+# */
/* Updated: 2025/11/16 09:59:15 by houkaamo ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef FT_PRINTF_H
# define FT_PRINTF_H
# include <stdarg.h>
# include <unistd.h>
int ft_printf(const char *format, ...);
void ft_print_char(char c, int *cnt);
void ft_print_number(int n, int *cnt);
void ft_print_str(char *s, int *cnt);
void ft_print_unsigned(unsigned int num, int *cnt);
void ft_print_hexa(unsigned long num, int *cnt, char c);
void ft_print_pointer(void *p, int *cnt);
#endif