-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathft_printf.h
34 lines (29 loc) · 1.33 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
32
33
34
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_printf.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: kokaimov <kokaimov@student.42berlin.de> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/11/19 16:37:20 by kokaimov #+# #+# */
/* Updated: 2023/11/24 17:02:00 by kokaimov ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef FT_PRINTF_H
# define FT_PRINTF_H
# include <stdarg.h>
# include "../libft/libft.h"
# include <stdint.h>
# include <stdio.h> // udalit
# define HEX "0123456789abcdef"
# define HEX_U "0123456789ABCDEF"
# define DEC "0123456789"
// ft_printf.c
int ft_printf(const char *format, ...);
// utils.c
int print_char(char c);
int print_string(char *str);
int print_pointer(uintptr_t nbr, int flag);
// ft_putnbr_base.c
int ft_putnbr_base(long nbr, char *base);
#endif