-
Notifications
You must be signed in to change notification settings - Fork 0
/
ft_putchar_fd.c
22 lines (20 loc) · 1.01 KB
/
ft_putchar_fd.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_putchar_fd.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: mmaurer <mmaurer@student.42wolfsburg.de> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/09/04 20:43:52 by mmaurer #+# #+# */
/* Updated: 2021/09/05 17:56:56 by mmaurer ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
/*
* Outputs the character c to given file descriptor.
*/
void ft_putchar_fd(char c, int fd)
{
write(fd, &c, 1);
return ;
}