-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathft_putchar_pf.c
More file actions
22 lines (19 loc) · 1 KB
/
Copy pathft_putchar_pf.c
File metadata and controls
22 lines (19 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_putchar_pf.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: rahidalg <rahidalg@student.42madrid.com> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/05/02 19:49:40 by rahidalg #+# #+# */
/* Updated: 2024/05/02 19:50:21 by rahidalg ### ########.fr */
/* */
/* ************************************************************************** */
#include "libftprintf.h"
#include <unistd.h>
#include <fcntl.h>
int ft_putchar_pf(int c, int fd)
{
write(fd, &c, 1);
return (1);
}