libft
ft_putchar_fd.c
Go to the documentation of this file.
1 /* ************************************************************************** */
3 /* */
4 /* ::: :::::::: */
5 /* ft_putchar_fd.c :+: :+: :+: */
6 /* +:+ +:+ +:+ */
7 /* By: unite <marvin@42.fr> +#+ +:+ +#+ */
8 /* +#+#+#+#+#+ +#+ */
9 /* Created: 2019/09/05 13:52:43 by unite #+# #+# */
10 /* Updated: 2020/07/16 02:55:25 by unite ### ########.fr */
11 /* */
12 /* ************************************************************************** */
13 
14 #include "libft.h"
15 #include <unistd.h>
16 
23 void ft_putchar_fd(char c, int fd)
24 {
25  write(fd, &c, 1);
26 }
libft.h
ft_putchar_fd
void ft_putchar_fd(char c, int fd)
Writes a character to a file descriptor.
Definition: ft_putchar_fd.c:23