-
Notifications
You must be signed in to change notification settings - Fork 0
/
ft_printf.h
28 lines (24 loc) · 1.29 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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_printf.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: aachhoub <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/10/22 12:35:30 by aachhoub #+# #+# */
/* Updated: 2022/10/22 12:35:32 by aachhoub ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef FT_PRINTF_H
# define FT_PRINTF_H
# include <stdarg.h>
# include <stdlib.h>
# include <unistd.h>
void ft_putchar(char c, int *index);
void ft_putstr(const char *s, int *index);
void ft_putnbr(int nb, int *index);
void ft_putnbr_u(unsigned int nb, int *index);
void ft_putnbr_base(unsigned int nb, char cs, int *index);
void ft_print_memory(const void *ptr, int *index);
int ft_printf(const char *format, ...);
#endif