20 lines
990 B
C
20 lines
990 B
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* ft_putstr_fd.c :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: gbrochar <marvin@42.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2015/11/29 09:02:48 by gbrochar #+# #+# */
|
|
/* Updated: 2015/11/29 09:04:05 by gbrochar ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#include "libft.h"
|
|
|
|
void ft_putstr_fd(char const *s, int fd)
|
|
{
|
|
while (*s)
|
|
write(fd, s++, 1);
|
|
}
|