added functions to print strings and numbers with padding of choice

This commit is contained in:
Tanguy MAZE
2018-07-31 16:34:04 +02:00
parent f88ff8a600
commit 017e049ef5
4 changed files with 53 additions and 3 deletions

View File

@@ -6,7 +6,7 @@
/* By: tmaze <tmaze@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2018/04/08 00:12:36 by tmaze #+# #+# */
/* Updated: 2018/07/25 18:18:40 by tmaze ### ########.fr */
/* Updated: 2018/07/31 13:52:16 by tmaze ### ########.fr */
/* */
/* ************************************************************************** */
@@ -143,5 +143,7 @@ int get_next_line(const int fd, char **line);
void ft_del_words_tables(char ***word_table);
void ft_putstrn(char const *s, size_t nb);
size_t ft_nbrlen(int nb);
void ft_putstrpad(char *str, size_t size, char pad, char align);
void ft_putnbrpad(int nbr, size_t size, char pad, char align);
#endif