feat: adding the start of the header
This commit is contained in:
parent
0f0e1707c1
commit
6de09d44e7
1 changed files with 36 additions and 0 deletions
36
includes/ft_printf.h
Normal file
36
includes/ft_printf.h
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* ft_printf.h :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/09/17 17:42:12 by rparodi #+# #+# */
|
||||
/* Updated: 2025/09/19 15:53:37 by rparodi ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#ifndef FT_PRINTF_H
|
||||
# define FT_PRINTF_H
|
||||
|
||||
# include <stdarg.h>
|
||||
# include <stddef.h>
|
||||
# include <stdint.h>
|
||||
|
||||
|
||||
|
||||
size_t ft_strlen(const char *str);
|
||||
void ft_putnbr_base(int fd, u_int64_t nbr, char *base, int *to_ret);
|
||||
char *itoa_base(u_int64_t nbr, char *base);
|
||||
int flag_c(va_list args, int fd);
|
||||
int ft_dprintf(int fd, const char *s, ...);
|
||||
int ft_printf(const char *s, ...);
|
||||
int flag_i(va_list args, int fd);
|
||||
int flag_p(va_list args, int fd);
|
||||
int flag_percent(va_list args, int fd);
|
||||
int flag_s(va_list args, int fd);
|
||||
int flag_u(va_list args, int fd);
|
||||
int flag_x(va_list args, int fd);
|
||||
int flag_x_maj(va_list args, int fd);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue