finally \o/
added ft_printf to libft finalised ans tested ft_getline
This commit is contained in:
@@ -6,11 +6,11 @@
|
||||
/* By: klebon <klebon@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2018/05/13 19:58:30 by klebon #+# #+# */
|
||||
/* Updated: 2018/10/01 15:37:27 by klebon ### ########.fr */
|
||||
/* Updated: 2019/03/07 22:23:44 by tmaze ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#include "libftprintf.h"
|
||||
#include "libft.h"
|
||||
|
||||
char *handler_hexa(uintmax_t nb, t_conv *field)
|
||||
{
|
||||
@@ -20,7 +20,7 @@ char *handler_hexa(uintmax_t nb, t_conv *field)
|
||||
|
||||
size = set_precision_sizex(nb, field);
|
||||
set_malloc_sizeh(nb, field);
|
||||
if (!(str = ft_strnewb(field->str_size)))
|
||||
if (!(str = ft_strnew(field->str_size)))
|
||||
return (NULL);
|
||||
n = nb;
|
||||
while (n)
|
||||
|
Reference in New Issue
Block a user