- re-added ft_putchar/putnbr/putstr without fd

- added const for pointers in these functions
This commit is contained in:
asus
2024-01-11 10:36:13 +01:00
parent f32d4bbc96
commit 603303a21b
8 changed files with 104 additions and 8 deletions

7
srcs/ft_putchar.c Normal file
View File

@@ -0,0 +1,7 @@
#include "libft.h"
void ft_putchar(char c)
{
write(1, &c, 1);
}