blob: 0beef4d7ca475d11f58f18146bde0de045c0d3aa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#include <unistd.h>
#include <stdlib.h>
#include "get_next_line.h"
int get_next_line(const int fd, char **line)
{
char buf[BUFF_SIZE];
while ((read(fd, buf, BUFF_SIZE)) > 0)
{
}
return 0;
}
|