-
Notifications
You must be signed in to change notification settings - Fork 12
/
ft_putchar.c
28 lines (25 loc) · 1.2 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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_putchar.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: apuchill <apuchill@student.42sp.org.br> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/11/21 21:36:12 by apuchill #+# #+# */
/* Updated: 2020/10/30 19:56:26 by apuchill ### ########.fr */
/* */
/* ************************************************************************** */
/*
** LIBRARY: <stdio.h>
** SYNOPSIS: output a character to stdout
**
** DESCRIPTION:
** The putchar() function writes the character c (converted to an
** ``unsigned char'') to the output stream of stdout.
** [42 PDF] Outputs the character ’c’ to stdout.
*/
#include "libft.h"
void ft_putchar(char c)
{
write(1, &c, 1);
}