-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathft_printf.h
33 lines (29 loc) · 1.54 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
29
30
31
32
33
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_printf.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: lhelena <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/01/07 20:01:45 by lhelena #+# #+# */
/* Updated: 2022/01/11 20:04:17 by lhelena ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef FT_PRINTF_H
# define FT_PRINTF_H
# include <stdarg.h>
# include <stdlib.h>
# include <unistd.h>
# include <limits.h>
int ft_printf(const char *fmt, ...);
void ft_putstr_fd(char *s, int fd);
size_t ft_strlen(const char *s);
void write_number(char *str, unsigned long l, unsigned long base, int *ret);
void write_number_x(char *str, unsigned int l, unsigned int base, int *ret);
void c_d_i_processing(char *p_ptr, long lval, int *p_ret);
void c_processing(char cval, int *p_ret);
void d_i_processing(long lval, int *p_ret);
void s_processing(char *sval, int *p_ret);
void u_processing(unsigned int uival, int *p_ret);
void p_processing(unsigned long ptr, int *p_ret);
#endif