-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathft_printf.h
28 lines (24 loc) · 1.21 KB
/
ft_printf.h
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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_printf.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: dnishsha <dnishsha@student.42berlin.de> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/05/15 11:40:27 by dnishsha #+# #+# */
/* Updated: 2023/05/17 13:54:47 by dnishsha ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef FT_PRINTF_H
# define FT_PRINTF_H
# include <stdlib.h>
# include <unistd.h>
# include <stdarg.h>
int ft_printf(const char *str, ...);
// Support functions
int print_char(int c);
int print_str(const char *s);
size_t print_nbr(long int n);
size_t print_nbr_hex(unsigned long int n, char *symbols,
unsigned long int base);
#endif