2023-11-11 18:45:48 +01:00
|
|
|
/* ************************************************************************** */
|
|
|
|
/* */
|
|
|
|
/* ::: :::::::: */
|
2024-02-04 15:11:02 +01:00
|
|
|
/* ft_printf.h :+: :+: :+: */
|
2023-11-11 18:45:48 +01:00
|
|
|
/* +:+ +:+ +:+ */
|
2024-02-04 15:26:48 +01:00
|
|
|
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
|
2023-11-11 18:45:48 +01:00
|
|
|
/* +#+#+#+#+#+ +#+ */
|
2024-02-04 15:11:02 +01:00
|
|
|
/* Created: 2023/11/17 16:50:36 by adjoly #+# #+# */
|
2024-03-16 21:48:58 +01:00
|
|
|
/* Updated: 2024/03/16 21:47:28 by adjoly ### ########.fr */
|
2023-11-11 18:45:48 +01:00
|
|
|
/* */
|
|
|
|
/* ************************************************************************** */
|
|
|
|
|
2024-02-04 15:11:02 +01:00
|
|
|
#ifndef FT_PRINTF_H
|
|
|
|
# define FT_PRINTF_H
|
2023-11-11 18:45:48 +01:00
|
|
|
|
2024-02-04 15:11:02 +01:00
|
|
|
# include <stdlib.h>
|
|
|
|
# include <stdarg.h>
|
|
|
|
# include <unistd.h>
|
2023-11-11 18:45:48 +01:00
|
|
|
|
2024-02-04 15:11:02 +01:00
|
|
|
int ft_printf(const char *format, ...);
|
|
|
|
int ft_printconversion(char conversion, va_list args);
|
|
|
|
int ft_putnbrulong(unsigned int n);
|
|
|
|
int ft_putaddr(void *ptr);
|
|
|
|
|
2024-02-04 15:26:48 +01:00
|
|
|
int ft_putstr_p(char *s);
|
2024-02-04 15:11:02 +01:00
|
|
|
|
|
|
|
int ft_putnbrbase_p(unsigned long int n, char *base);
|
2024-03-16 21:48:58 +01:00
|
|
|
int ft_pputnbrbase(unsigned int n, char *base);
|
2024-02-04 15:26:48 +01:00
|
|
|
int ft_putchar_p(char c);
|
|
|
|
int ft_putnbr_p(int n);
|
2024-02-04 15:11:02 +01:00
|
|
|
size_t ft_strlen(const char *s);
|
|
|
|
|
2024-02-04 15:26:48 +01:00
|
|
|
#endif
|