fix: wrong folder, put in root

This commit is contained in:
Zoëy Noort 2025-05-31 19:38:46 +02:00
parent 8d087d989f
commit 9c80828ca6

13
srcs/ft_putrptr.c Normal file
View file

@ -0,0 +1,13 @@
#include "libft.h"
int ft_putptr(void *ptr)
{
int count = 0;
count += ft_putstr("0x");
if (!ptr)
count += ft_putchar('0');
else
count += ft_putaddr((unsigned long)ptr);
return (count);
}