-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathft_putchar_fd.c
More file actions
23 lines (20 loc) · 1.05 KB
/
ft_putchar_fd.c
File metadata and controls
23 lines (20 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_putchar_fd.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: kmoutaou <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/11/13 21:25:43 by kmoutaou #+# #+# */
/* Updated: 2021/11/19 16:44:36 by kmoutaou ### ########.fr */
/* */
/* ************************************************************************** */
/*
ft_putchar_fd is a function that outputs the character ’c’ to the given
file descriptor.
*/
#include "libft.h"
void ft_putchar_fd(char c, int fd)
{
write(fd, &c, 1);
}