-
Notifications
You must be signed in to change notification settings - Fork 0
/
ft_putstr_count.c
22 lines (20 loc) · 1.01 KB
/
ft_putstr_count.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_putstr_count.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: asibille <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/01/19 12:47:11 by asibille #+# #+# */
/* Updated: 2022/01/19 12:47:13 by asibille ### ########.fr */
/* */
/* ************************************************************************** */
#include "ft_printf.h"
void ft_putstr_count(char *s, int fd, int *count)
{
if (s)
{
while (*s)
ft_putchar_count(*(s++), fd, count);
}
}