-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathft_putnchar.c
20 lines (18 loc) · 1000 Bytes
/
ft_putnchar.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_putnchar.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: edelangh <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2014/11/05 10:56:34 by edelangh #+# #+# */
/* Updated: 2014/11/20 16:03:09 by edelangh ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
#include <unistd.h>
void ft_putnchar(char c, int n)
{
while (n--)
write(1, &c, 1);
}