-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathft_printf_c.c
More file actions
21 lines (18 loc) · 1014 Bytes
/
ft_printf_c.c
File metadata and controls
21 lines (18 loc) · 1014 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_print_c.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: sabahass <sabahass@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/10/18 16:01:39 by sabahass #+# #+# */
/* Updated: 2025/10/21 18:35:50 by sabahass ### ########.fr */
/* */
/* ************************************************************************** */
#include "ft_printf.h"
int ft_print_c(int c)
{
unsigned char ch;
ch = (unsigned char)c;
return (write(1, &ch, 1));
}