works fine with (char)0

This commit is contained in:
hugodu69
2020-03-06 02:26:07 +01:00
parent 92c55abefe
commit a94b17240b
7 changed files with 117 additions and 89 deletions

View File

@@ -25,8 +25,8 @@
char *specifier(char *s);
int ft_expand_star(int nbr, char **string);
int ft_put_word(char *s, char *type);
int length_n_free(int length, char *s);
int ft_put_word(char *s, char *type, int size);
char *convert_with_flags(char *s, va_list ap, char *type, int *size);
int ft_printf(char *string, ...);
/*
@@ -43,7 +43,7 @@ char *next_word(char **s);
char *conv_i(char c, long int i);
char *conv_u(char c, unsigned long int i);
char *ft_convert(va_list ap, char *type);
char *ft_convert(va_list ap, char *type, char **s);
/*
** ft_flag_transform.c
@@ -51,8 +51,8 @@ char *ft_convert(va_list ap, char *type);
char *precision_int(char *print, int precision);
char *ft_precision(char *s, char *print, char *type);
char *width_flags(char *print, char *tmp, char *s, int width);
char *ft_width(char *s, char *print);
char *ft_flag_transform(char *s, char *print, char *type);
char *width_flags(char *print, char *tmp, char *s, int width, int zero);
char *ft_width(char *s, char *print, int *size);
char *ft_flag_transform(char *s, char *print, char *type, int *size);
#endif