-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathft_putchar_bonus.c
23 lines (20 loc) · 1.09 KB
/
ft_putchar_bonus.c
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.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: aviholai <aviholai@student.hive.fi> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/11/22 12:42:08 by aviholai #+# #+# */
/* Updated: 2022/02/04 15:57:26 by aviholai ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
/*
** 'Putchar()' (Put character) is your most basic remote 'write' C system call.
** The 'write' function requires the UNIX standard library 'unistd.h'.
*/
void ft_putchar(char c)
{
write(1, &c, 1);
}