-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlibftprintf.h
More file actions
34 lines (30 loc) · 1.47 KB
/
libftprintf.h
File metadata and controls
34 lines (30 loc) · 1.47 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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* libftprintf.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: psydenst <psydenst@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/06/22 15:04:14 by psydenst #+# #+# */
/* Updated: 2022/09/28 18:12:41 by psydenst ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef LIBFTPRINTF_H
# define LIBFTPRINTF_H
# include <stdarg.h>
# include <unistd.h>
# include "libft.h"
int ft_putchar(int c);
int ft_putstr(char *s);
int ft_putnbr(int n);
int ft_len_printf(int n);
int ft_u_len(unsigned int n);
int ft_put_unsig_nbr(unsigned int n);
int ft_hexa_len(int nbr);
void ft_put_hexa(unsigned int nbr, const char format);
int ft_print_hexa(unsigned int nbr, const char format);
int ft_len_ptr(unsigned long nbr);
void ft_put_ptr(unsigned long nbr, const char format);
int ft_print_ptr(void *nbr, const char format);
int ft_printf(const char *format, ...);
#endif