-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathft_printf.h
More file actions
27 lines (26 loc) · 1.39 KB
/
Copy pathft_printf.h
File metadata and controls
27 lines (26 loc) · 1.39 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: gvardaki <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/04/17 17:51:33 by gvardaki #+# #+# */
/* Updated: 2023/04/25 13:54:38 by gvardaki ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef FT_PRINTF_H
# define FT_PRINTF_H
# include <stdarg.h>
# include "libft/libft.h"
int ft_printf(const char *fmt, ...);
int ft_is_conv(const char *fmt);
int ft_print_conv(const char *fmt, va_list *ap, int *ret);
void ft_print_char(int c, int *ret);
void ft_print_str(char *s, int *ret);
void ft_print_hexa(unsigned int n, int *ret, int maj);
void ft_print_int(int n, int *ret);
void ft_print_nbr(unsigned int n, int *ret);
void ft_print_ptr(unsigned long n, int *ret);
void ft_print_ptr_2(unsigned long n, int *ret);
#endif