1
0
libft_new/print/ft_putstr_fd.c

19 lines
983 B
C
Raw Normal View History

2023-11-03 16:21:15 +01:00
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_putstr_fd.c :+: :+: :+: */
/* +:+ +:+ +:+ */
2024-02-04 15:11:02 +01:00
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
2023-11-03 16:21:15 +01:00
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/10/31 11:45:55 by adjoly #+# #+# */
2024-02-04 15:11:02 +01:00
/* Updated: 2024/02/04 15:08:44 by adjoly ### ########.fr */
2023-11-03 16:21:15 +01:00
/* */
/* ************************************************************************** */
2024-02-04 15:11:02 +01:00
#include "../libft.h"
2023-11-03 16:21:15 +01:00
void ft_putstr_fd(char *s, int fd)
{
2024-02-04 15:11:02 +01:00
write(fd, s, ft_strlen(s));
2023-11-03 16:21:15 +01:00
}