-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathft_printf.h
31 lines (25 loc) · 1.23 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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_printf.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: fschuber <fschuber@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/10/16 08:39:22 by fschuber #+# #+# */
/* Updated: 2023/10/18 09:34:29 by fschuber ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef FT_PRINTF_H
# define FT_PRINTF_H
# include <unistd.h>
# include <stdarg.h>
// the man the myth the legend
int ft_printf(const char *str, ...);
// printing functions
int print_char(char c);
int print_str(char *str);
int print_int(int int_num);
int print_u_int(unsigned int int_num);
int print_ptr(void *ptr);
int print_hexa(int num, char case_format);
#endif