add libft, add gitignore
This commit is contained in:
18
libft/ft_printf/ft_putchar.c
Executable file
18
libft/ft_printf/ft_putchar.c
Executable file
@ -0,0 +1,18 @@
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* ft_putchar.c :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: tomoron <marvin@42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2023/11/01 04:10:53 by tomoron #+# #+# */
|
||||
/* Updated: 2023/11/05 15:51:33 by tomoron ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
#include "ft_printf.h"
|
||||
|
||||
size_t ft_putchar(char c)
|
||||
{
|
||||
write(1, &c, 1);
|
||||
return (1);
|
||||
}
|
Reference in New Issue
Block a user