end of mandatory functions

This commit is contained in:
David Gailleton
2025-11-08 17:57:58 +01:00
parent 25a804847b
commit b603db3539
13 changed files with 486 additions and 2 deletions

18
ft_putchar_fd.c Normal file
View File

@@ -0,0 +1,18 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_putchar_fd.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: dgaillet <dgaillet@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/11/08 17:41:14 by dgaillet #+# #+# */
/* Updated: 2025/11/08 17:42:19 by dgaillet ### ########lyon.fr */
/* */
/* ************************************************************************** */
#include <unistd.h>
void ft_putchar_fd(char c, int fd)
{
write(fd, &c, 1);
}