-
Notifications
You must be signed in to change notification settings - Fork 0
/
printn2d.c
27 lines (24 loc) · 1.04 KB
/
printn2d.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* printn2d.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: mschroed <mschroed@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/01/02 12:40:54 by mschroed #+# #+# */
/* Updated: 2019/01/06 18:45:00 by mschroed ### ########.fr */
/* */
/* ************************************************************************** */
#include <unistd.h>
#include "libft.h"
void printn2d(char **s, size_t num)
{
size_t i;
i = 0;
while (i < num)
{
write(1, s[i], num);
write(1, "\n", 1);
i++;
}
}