-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathft_printf.h
More file actions
36 lines (32 loc) · 1.54 KB
/
Copy pathft_printf.h
File metadata and controls
36 lines (32 loc) · 1.54 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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_printf.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: dliuzzo <dliuzzo@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/11/23 11:25:46 by dliuzzo #+# #+# */
/* Updated: 2023/11/23 11:47:48 by dliuzzo ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef FT_PRINTF_H
# define FT_PRINTF_H
# include <stdarg.h>
# include <stdint.h>
# include <stdio.h>
# include <string.h>
# include <unistd.h>
int ft_digit_count_hexa(unsigned long long n, int base);
int ft_digit_count(int n);
int ft_printf_char(va_list args);
int ft_printf_hexa(va_list args, char c);
int ft_printf_int(va_list args);
int ft_printf_ptr(va_list args, char flag);
int ft_printf_str(va_list args);
int ft_printf(const char *format, ...);
unsigned int ft_printf_unsign(va_list args);
void ft_putnbr_hexa(unsigned long long n, char c);
void ft_putnbr_unsigned(unsigned int nb);
void ft_putnbr(int n);
void ft_putchar(char c);
#endif