-
Notifications
You must be signed in to change notification settings - Fork 0
/
read_piece.c
34 lines (26 loc) · 1.13 KB
/
read_piece.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
28
29
30
31
32
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* read_piece.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: yabdulha <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2018/10/09 11:01:55 by yabdulha #+# #+# */
/* Updated: 2018/10/09 11:33:50 by yabdulha ### ########.fr */
/* */
/* ************************************************************************** */
#include "filler.h"
/*
int read_piece(t_filler *data, char *line)
{
char *piece;
int x;
int y;
x = ft_atoi(ft_strchr(line, ' '));
y = ft_atoi(ft_strrchr(line, ' '));
piece = (char*)malloc(sizeof(*piece) * );
while (get_next_line(0, &line))
{
}
}
*/