-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathft_printf.h
31 lines (26 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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_printft.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: lpalacio <lpalacio@student.42madrid> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/04/02 19:12:28 by lpalacio #+# #+# */
/* Updated: 2023/09/24 20:13:08 by lpalacio ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef FT_PRINTF_H
# define FT_PRINTF_H
# include <unistd.h>
# include <stdarg.h>
# include <stdlib.h>
int ft_printf(char const *fmt, ...);
size_t ft_strlen(const char *s);
int ft_putstr_fd(char *s, int fd);
int ft_putchar_fd(int c, int fd);
void ft_putnbr_fd(int n, int fd);
int count_printnbr(int n);
int ft_printnbr_base(long unsigned n, char *base);
int count_putnbr_base(long unsigned int n, size_t base_len);
void ft_putnbr_base(long unsigned n, char *base, size_t base_len);
#endif