Libft
42 Libft library documentation
Loading...
Searching...
No Matches
ft_putchar_fd.c
Go to the documentation of this file.
1/* ************************************************************************** */
2/* */
3/* ::: :::::::: */
4/* ft_putchar_fd.c :+: :+: :+: */
5/* +:+ +:+ +:+ */
6/* By: raphalme <raphalme@student.42.fr> +#+ +:+ +#+ */
7/* +#+#+#+#+#+ +#+ */
8/* Created: 2025/12/29 19:09:00 by raphalme #+# #+# */
9/* Updated: 2026/04/14 10:45:22 by raphalme ### ########.fr */
10/* */
11/* ************************************************************************** */
12
13#include <unistd.h>
14
21void ft_putchar_fd(char c, int fd)
22{
23 write(fd, &c, 1);
24}
void ft_putchar_fd(char c, int fd)
Writes one character to a file descriptor.