-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathft_printf.h
More file actions
30 lines (26 loc) · 1.29 KB
/
ft_printf.h
File metadata and controls
30 lines (26 loc) · 1.29 KB
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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_printf.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: cwenz <cwenz@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/04/10 11:54:57 by cwenz #+# #+# */
/* Updated: 2023/04/27 16:07:08 by cwenz ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef FT_PRINTF_H
# define FT_PRINTF_H
# include <stdarg.h>
# include <stdlib.h>
# include <unistd.h>
int ft_putchar(char c);
int ft_putstr(char *str);
int ft_putp(void *ptr);
int ft_putnum(long num);
int ft_print_digits(long num);
int ft_calc_length(va_list args, const char *format, int length);
int ft_puthex(size_t num, char c);
int ft_format_specifiers(int c, va_list args);
int ft_printf(const char *format, ...);
#endif