tgrekov-ft_printf
HIVE printf Feb 2024
|
Definition in file repeat_str_n.c.
#include "../../../libft/libft.h"
Go to the source code of this file.
Functions | |
int | repeat_str_n (const char *str, int n, int fd) |
Write exactly n characters from str on descriptor fd . Repeats string if ft_strlen(str) is greater than n . | |
int repeat_str_n | ( | const char * | str, |
int | n, | ||
int | fd | ||
) |
Write exactly n
characters from str
on descriptor fd
. Repeats string if ft_strlen(str)
is greater than n
.
[in] | str | |
[in] | n | |
[in] | fd |
int | Number of characters written, or -1 on error. |
Definition at line 50 of file repeat_str_n.c.
References ft_strlen().