20 lines
989 B
C
20 lines
989 B
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* ft_putstr_fd.c :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: pbonilla <eirodeis.lepnj@gmail.com> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2020/12/01 17:49:54 by pbonilla #+# #+# */
|
|
/* Updated: 2020/12/03 17:43:48 by pbonilla ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#include "libft.h"
|
|
|
|
void ft_putstr_fd(char *s, int fd)
|
|
{
|
|
if (s)
|
|
write(fd, s, ft_strlen(s));
|
|
}
|