makefile organise

This commit is contained in:
Hugo LAMY
2019-11-19 21:13:55 +01:00
parent 966241a6df
commit 32356ba7a0
85 changed files with 2052 additions and 116 deletions

23
srcs/part2/ft_putstr_fd.c Normal file
View File

@@ -0,0 +1,23 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_putstr_fd.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: hulamy <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/11/19 18:35:48 by hulamy #+# #+# */
/* Updated: 2019/11/19 18:37:07 by hulamy ### ########.fr */
/* */
/* ************************************************************************** */
/*
** write the string s on the given file descritor fd
*/
#include "libft.h"
void ft_putstr_fd(char *s, int fd)
{
while (s && *s)
ft_putchar_fd(*s++, fd);
}