finally \o/

added ft_printf to libft
finalised ans tested ft_getline
This commit is contained in:
vagrant
2019-03-07 22:29:34 +00:00
parent 55767c36c6
commit 13d96a14d8
18 changed files with 75 additions and 81 deletions

View File

@@ -6,11 +6,11 @@
/* By: klebon <klebon@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2018/05/13 19:43:31 by klebon #+# #+# */
/* Updated: 2018/05/25 18:56:39 by klebon ### ########.fr */
/* Updated: 2019/03/07 22:25:00 by tmaze ### ########.fr */
/* */
/* ************************************************************************** */
#include "libftprintf.h"
#include "libft.h"
void set_malloc_sizeu(uintmax_t nb, t_conv *field)
{
@@ -53,7 +53,7 @@ char *handler_uns(uintmax_t nb, t_conv *field)
size = set_precision_sizeu(nb, field);
set_malloc_sizeu(nb, field);
if (!(str = ft_strnewb(field->str_size)))
if (!(str = ft_strnew(field->str_size)))
return (NULL);
n = nb;
while (n)