- re-added ft_putchar/putnbr/putstr without fd
- added const for pointers in these functions
This commit is contained in:
8
srcs/ft_putstr.c
Normal file
8
srcs/ft_putstr.c
Normal file
@@ -0,0 +1,8 @@
|
||||
#include "libft.h"
|
||||
|
||||
void ft_putstr(const char *s)
|
||||
{
|
||||
while (s && *s)
|
||||
ft_putchar(*s++);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user