-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathft_printf.h
32 lines (28 loc) · 1.42 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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_printf.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: asoudani <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/11/11 10:15:28 by asoudani #+# #+# */
/* Updated: 2024/11/17 21:19:23 by asoudani ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef FT_PRINTF_H
# define FT_PRINTF_H
# include <stdarg.h>
# include <stdio.h>
# include <stdlib.h>
# include <unistd.h>
int ft_printf(const char *form, ...);
int ft_putchar_fd(char c, int fd, int *n);
int ft_putstr_fd(char *s, int fd, int *n);
int ft_putnbr_fd(int nb, int fd, int *n);
int p_memory(void *ad, int *n);
const char *formats(const char *form, va_list args, int *n, int *err);
int p_hexa(unsigned int s, int *n);
int upper_hexa(unsigned int s, int *n);
int unsigned_int(unsigned int nb, int *n);
int check_char(char c);
#endif