project recode function printf
work like printf
BUFF_SIZE_PRINTF
: the buffer size of ft_printf when it full it flushNB_FC
: the number of function alias number of working flagsNB_COLOR
: the number of color and type
ft_printf(char const *format, ...);
ft_dprintf(int fd, char const *format, ...);
ft_eprintf(char const *s, ...);
ft_fprintf(FILE *file, char const *format, ...);
ft_sprintf(char *dest, char const *format, ...);
ft_snprint(char *dest, size_t n, char const *format, ...);
ft_asprintf(char **as, char const *format, ...);
ft_vdprintf(int fd, char const *format, va_list ap);
ft_vfprintf(FILE *file, char const *format, va_list ap);
ft_vsprintf(char *dest, char const *format, va_list ap);
ft_vsnprintf(char *dest, size_t n, char const *format, va_list ap);
ft_vasprintf(char **as, char const *format, va_list ap);
work also with color
- see enum e_color
- use with flag
%@
and give him an argument eq :ft_printf("%@blue%@", P_BLUE, P_RESET);
- use with flag