libft
ft_putchar.c
Go to the documentation of this file.
1 /* ************************************************************************** */
3 /* */
4 /* ::: :::::::: */
5 /* ft_putchar.c :+: :+: :+: */
6 /* +:+ +:+ +:+ */
7 /* By: unite <marvin@42.fr> +#+ +:+ +#+ */
8 /* +#+#+#+#+#+ +#+ */
9 /* Created: 2019/09/05 13:49:16 by unite #+# #+# */
10 /* Updated: 2020/07/16 02:55:14 by unite ### ########.fr */
11 /* */
12 /* ************************************************************************** */
13 
14 #include "libft.h"
15 #include <unistd.h>
16 
22 void ft_putchar(char c)
23 {
24  ft_putchar_fd(c, 1);
25 }
libft.h
ft_putchar_fd
void ft_putchar_fd(char c, int fd)
Writes a character to a file descriptor.
Definition: ft_putchar_fd.c:23
ft_putchar
void ft_putchar(char c)
Writes a character to the standard output.
Definition: ft_putchar.c:22