-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathft_printf.h
More file actions
33 lines (29 loc) · 1.35 KB
/
ft_printf.h
File metadata and controls
33 lines (29 loc) · 1.35 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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_printf.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: ebarbash <ebarbash@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/11/07 14:21:56 by ebarbash #+# #+# */
/* Updated: 2025/02/24 14:13:48 by ebarbash ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef FT_PRINTF_H
# define FT_PRINTF_H
# include <stdlib.h>
# include <stdarg.h>
# include <unistd.h>
# include <stdint.h>
# include "libft.h"
int ft_printf(const char *format, ...);
int print_args(va_list args, const char *str);
int put_number(int n);
int put_unsigned(unsigned int n);
int ft_print_hex(uintptr_t num, int flag);
int ft_print_pointer(va_list args);
int ft_print_str(va_list args);
int putchr(int c);
void ft_putstr_fd(char *s, int fd);
int num_len(int n);
#endif