Started from buttom go to the sky
This commit is contained in:
parent
96215449bd
commit
f811e55dea
4781 changed files with 10121 additions and 1743 deletions
23
stdme/src/fs/putendl_fd.c
Normal file
23
stdme/src/fs/putendl_fd.c
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* putendl_fd.c :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2023/11/08 04:42:45 by maiboyer #+# #+# */
|
||||
/* Updated: 2023/11/10 16:23:27 by maiboyer ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#include "me/fs/putstr_fd.h"
|
||||
#include "me/fs/write.h"
|
||||
#include "me/string/str_len.h"
|
||||
|
||||
void me_putendl_fd(t_str str, t_file file)
|
||||
{
|
||||
if (str == NULL)
|
||||
return ;
|
||||
me_write(file, (t_u8 *)str, str_len(str));
|
||||
me_write(file, (t_u8 *)"\n", 1);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue