-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlibftprintf.h
31 lines (28 loc) · 1.38 KB
/
libftprintf.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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* libftprintf.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: rahidalg <rahidalg@student.42madrid.com> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/05/01 12:17:57 by rahidalg #+# #+# */
/* Updated: 2024/05/07 13:18:59 by rahidalg ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef LIBFTPRINTF_H
# define LIBFTPRINTF_H
# include "libft/libft.h"
# include <stdarg.h>
//PRINTF
int ft_printf(char const *s, ...);
int ft_putchar_pf(int n, int fd);
int ft_putstr_pf(char *s, int fd);
int ft_putnbr_pf(int n, int fd);
int ft_putunbr_pf(unsigned int n, int fd);
int ft_puthex_pf(unsigned int n, size_t type, int fd);
int ft_putvoid_pf(unsigned long n, size_t type, int fd);
//UTILS
char **ft_freear(char **ptr);
int ft_vargscount(char const *s);
int ft_checkformat(char c);
#endif //PRINTF_H