-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathft_spaces.c
22 lines (20 loc) · 1022 Bytes
/
ft_spaces.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_spaces.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: ccastill <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/02/19 08:40:29 by ccastill #+# #+# */
/* Updated: 2020/07/18 18:44:28 by ccastill ### ########.fr */
/* */
/* ************************************************************************** */
#include "ft_printf.h"
void ft_spaces(int n, t_list_printf *next)
{
while (n > 0)
{
ft_putchar_fd(' ', 1, next);
n--;
}
}