aboutsummaryrefslogtreecommitdiff
path: root/get_next_line.h
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2019-11-03 23:38:32 +0100
committerCharles <sircharlesaze@gmail.com>2019-11-05 06:14:28 +0100
commit47ca76eb98d578cc78a6315a5f98504a8241cfec (patch)
treee0ad2d9bc522b9a59adfdbc36167276e04cac90b /get_next_line.h
parent3e54b8257ed66c8f10fa904655f554990931ab88 (diff)
downloadget_next_line-raw.tar.gz
get_next_line-raw.tar.bz2
get_next_line-raw.zip
changed rest bufs back to not malloc'd, empty line on EOFHEADrawmaster
Diffstat (limited to 'get_next_line.h')
-rw-r--r--get_next_line.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/get_next_line.h b/get_next_line.h
index 6a6ccca..7a2dd27 100644
--- a/get_next_line.h
+++ b/get_next_line.h
@@ -6,7 +6,7 @@
/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/10/09 13:52:59 by cacharle #+# #+# */
-/* Updated: 2019/11/03 00:29:53 by cacharle ### ########.fr */
+/* Updated: 2019/11/03 22:43:18 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */
@@ -35,7 +35,7 @@ typedef int t_bool;
*/
int get_next_line(int fd, char **line);
-int read_line(int fd, char **line, char **rest);
+int read_line(int fd, char **line, char *rest);
int find_newline(char *str);
int free_return(char **ptr, char **rest, int ret);