-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathft_printf.h
More file actions
31 lines (28 loc) · 1.38 KB
/
ft_printf.h
File metadata and controls
31 lines (28 loc) · 1.38 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
31
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_printf.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: tdehne <tdehne@student.42heilbronn.de> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/04/12 16:56:38 by tdehne #+# #+# */
/* Updated: 2022/04/30 15:08:19 by tdehne ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef FT_PRINTF_H
# define FT_PRINTF_H
# include <stdarg.h>
# include <unistd.h>
int putuint_fd(unsigned int n, int fd);
int ft_printf(const char *str, ...);
int putnbr_count(int n);
int write_x_uppx(va_list arg, char *base);
int write_p(va_list arg, char *base);
void write_hex(unsigned long long num, char *base, int *counter);
int write_u(va_list arg);
int write_s(va_list arg);
int write_i(va_list arg);
int write_c_i(va_list arg, char c);
int putnbr_count(int n);
size_t ft_strlen(const char *str);
#endif