-
Notifications
You must be signed in to change notification settings - Fork 0
/
ft_printf.h
33 lines (28 loc) · 1.36 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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_printf.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: dalcabre <dalcabre@student.42urduliz.co +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/01/08 13:21:20 by dalcabre #+# #+# */
/* Updated: 2024/02/12 13:58:21 by dalcabre ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef FT_PRINTF_H
# define FT_PRINTF_H
# include <stdlib.h>
# include <stddef.h>
# include <unistd.h>
# include <stdarg.h>
# include <stdio.h>
# define BASEHEXAMAYUS "0123456789ABCDEF"
# define BASEHEXAMINUS "0123456789abcdef"
int ft_printf(const char *str, ...);
int ft_printf_char(char c);
int ft_printf_str(const char *str);
int ft_printf_number(long n);
int ft_printf_unsigned(unsigned long n);
int ft_printf_hexa(unsigned long n, char *base);
int ft_printf_pointer(unsigned long int n);
#endif