-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathft_printf_bonus.h
36 lines (33 loc) · 1.59 KB
/
ft_printf_bonus.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
34
35
36
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_printf_bonus.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: whendrix <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/09/01 21:29:16 by whendrix #+# #+# */
/* Updated: 2022/11/15 22:38:13 by whendrix ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef FT_PRINTF_BONUS_H
# define FT_PRINTF_BONUS_H
# include <stdlib.h>
# include <unistd.h>
# include <stdarg.h>
int ft_printf(const char *str, ...);
int ft_convert(va_list args, const char *str, int i);
int ft_putchar(char c);
int ft_putstr(char *s);
char *ft_itoa(int n);
char *ft_utoa(unsigned int n);
int ft_putnbr(int nb);
int ft_put_usigned(unsigned int nb);
int ft_puthex(unsigned long nb, char c);
int ft_putptr(unsigned long ptr);
int ft_nb_base(size_t nb, int base);
int ft_nblen(long int n);
int ft_converter_utils(va_list args, const char *str, int i);
int ft_putsharp(va_list args, const char *str, int i);
int ft_putspaceplus(va_list args, const char *str, int i);
int bonus_check(char c);
#endif