Archived
1
0
This repository has been archived on 2024-10-25. You can view files and clone it, but cannot push or open issues or pull requests.
ft_printf/ft_printf.h

31 lines
1.3 KiB
C
Raw Normal View History

2023-11-17 19:11:35 +01:00
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_printf.h :+: :+: :+: */
2023-11-17 19:11:35 +01:00
/* +:+ +:+ +:+ */
/* By: adjoly <adjoly@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/11/17 16:50:36 by adjoly #+# #+# */
2023-11-22 13:34:16 +01:00
/* Updated: 2023/11/22 11:24:27 by adjoly ### ########.fr */
2023-11-17 19:11:35 +01:00
/* */
/* ************************************************************************** */
#ifndef FT_PRINTF_H
# define FT_PRINTF_H
2023-11-17 19:11:35 +01:00
# include <stdlib.h>
# include <stdarg.h>
2023-11-20 11:56:11 +01:00
# include <unistd.h>
2023-11-17 19:11:35 +01:00
2023-11-19 17:12:25 +01:00
int ft_printf(const char *format, ...);
int ft_printconversion(char conversion, va_list args);
2023-11-22 13:34:16 +01:00
int ft_putnbrulong(unsigned int n);
int ft_putaddr(void *ptr);
2023-11-17 19:11:35 +01:00
2023-11-20 11:56:11 +01:00
int ft_putstr(char *s);
2023-11-22 13:34:16 +01:00
int ft_putnbrbase(unsigned long int n, char *base);
2023-11-20 11:56:11 +01:00
int ft_putchar(char c);
int ft_putnbr(int n);
size_t ft_strlen(const char *s);
2023-11-20 11:56:11 +01:00
2023-11-17 19:11:35 +01:00
#endif