Move ft_putchar to separate file
This commit is contained in:
parent
4c6abff5e6
commit
bce833d045
10
ft_lib.c
10
ft_lib.c
|
@ -6,17 +6,11 @@
|
||||||
/* By: tischmid <marvin@42.fr> +#+ +:+ +#+ */
|
/* By: tischmid <marvin@42.fr> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2023/03/18 22:33:38 by tischmid #+# #+# */
|
/* Created: 2023/03/18 22:33:38 by tischmid #+# #+# */
|
||||||
/* Updated: 2023/03/19 00:21:35 by tischmid ### ########.fr */
|
/* Updated: 2023/03/19 00:59:10 by tischmid ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
#include <unistd.h>
|
#include "include/ft_putchar.h"
|
||||||
#include "include/ft_lib.h"
|
|
||||||
|
|
||||||
void ft_putchar(char c)
|
|
||||||
{
|
|
||||||
write(1, &c, 1);
|
|
||||||
}
|
|
||||||
|
|
||||||
void ft_putstr(char *str)
|
void ft_putstr(char *str)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue