aboutsummaryrefslogtreecommitdiff
path: root/src/io/ft_putchar.c
blob: 8dd6f65149815292c835a4d5cd44f1bbf234275c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* ************************************************************************** */
/*                                                                            */
/*                                                        :::      ::::::::   */
/*   ft_putchar.c                                       :+:      :+:    :+:   */
/*                                                    +:+ +:+         +:+     */
/*   By: cacharle <marvin@42.fr>                    +#+  +:+       +#+        */
/*                                                +#+#+#+#+#+   +#+           */
/*   Created: 2019/10/07 09:53:31 by cacharle          #+#    #+#             */
/*   Updated: 2021/02/03 19:21:40 by charles          ###   ########.fr       */
/*                                                                            */
/* ************************************************************************** */

#include "libft.h"

void	ft_putchar(char c)
{
	if (write(STDOUT_FILENO, &c, 1))
	{
		;
	}
}