-
Notifications
You must be signed in to change notification settings - Fork 0
/
ft_putchar.c
29 lines (27 loc) · 1.07 KB
/
ft_putchar.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_putchar.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: mbutt <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/02/25 20:22:52 by mbutt #+# #+# */
/* Updated: 2019/03/21 16:02:46 by mbutt ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
void ft_putchar(char c)
{
write(1, &c, 1);
}
/*
** int main (void)
** {
** char a = 'a';
** char b = 'b';;
** ft_putchar(a);
** ft_putchar('\n');
** putchar(b);
** return(0);
**}
*/