Projet de l'école 42 : Printf
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

33 lines
1.5 KiB

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_printf.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: narnaud <narnaud@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/10/27 08:09:45 by narnaud #+# #+# */
/* Updated: 2021/12/21 09:39:34 by narnaud ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef FT_PRINTF_H
# define FT_PRINTF_H
# define MEM_ADD_SIZE 6
# include "./libft/libft.h"
# include <stdarg.h>
int ft_putchar(int ch);
int ft_putstr(char *str);
int va_putchar(va_list va_ch, const char *str);
int va_putstr(va_list va_str, const char *str);
int va_putptr(va_list va_ptr, const char *str);
int va_putnbr(va_list va_int, const char *str);
int va_putunsign(va_list va_uint, const char *str);
int va_putx(va_list va_uint, const char *str);
int va_putx_cap(va_list va_uint, const char *str);
int va_putperc(va_list va, const char *str);
int ft_printf(const char *str, ...);
#endif