-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathft_putnbr_fd.c
More file actions
25 lines (22 loc) · 1.04 KB
/
ft_putnbr_fd.c
File metadata and controls
25 lines (22 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_putnbr_fd.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: mraineri <mraineri@student.42lisboa.com +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/05/05 17:25:33 by mraineri #+# #+# */
/* Updated: 2024/05/22 18:21:05 by mraineri ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
void ft_putnbr_fd(int n, int fd)
{
char *str;
str = ft_itoa(n);
write(fd, str, ft_strlen(str));
}
//int main(void)
//{
// ft_putnbr_fd(-10000, 1);
//}