-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathft_printf.h
More file actions
38 lines (35 loc) · 1.64 KB
/
ft_printf.h
File metadata and controls
38 lines (35 loc) · 1.64 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
32
33
34
35
36
37
38
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_printf.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: mraineri <mraineri@student.42lisboa.com +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/08/26 17:24:35 by mraineri #+# #+# */
/* Updated: 2024/09/09 13:24:42 by mraineri ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef FT_PRINTF_H
# define FT_PRINTF_H
# include <stddef.h>
# include <stdio.h>
# include <string.h>
# include <stdlib.h>
# include <limits.h>
# include <unistd.h>
# include <stdarg.h>
// Void
void ft_int_to_hex_lowercase(unsigned int decimal, int *counter);
void ft_int_to_hex(unsigned int decimal, int *counter);
void ft_putchar_increment(char c, int *counter);
void ft_putnbr_fd_increment(int n, int fd, int *c);
void ft_putunnbr_fd_increment(unsigned int n, int fd, int *c);
void ft_str_increment(char *s, int *counter);
void ft_putchar_fd(char c, int fd);
void ft_pointer(void *addr, int *counter);
void ft_hex_p(unsigned long long decimal, int *counter);
// Size_t
size_t ft_strlen(const char *str);
// Other function prototypes
int ft_printf(const char *format, ...);
#endif