-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathft_printf.h
28 lines (24 loc) · 1.22 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: dsemenov <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/11/29 14:24:31 by dsemenov #+# #+# */
/* Updated: 2024/12/03 19:10:19 by dsemenov ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef FT_PRINTF_H
# define FT_PRINTF_H
#include <stdarg.h>
#include <unistd.h>
int ft_printf(const char *format, ...);
size_t ft_putchar(char c);
size_t ft_putstr(char *s);
size_t num_len(int n);
size_t ft_putnbr(int n);
size_t ft_unsigned_putnbr(unsigned int n);
int ft_parse(va_list ap, const char c);
size_t ft_puthex(unsigned int nbr);
#endif