Hi,
I have a fuction like : int fucntion(char **line), i would like to know what i need to put for it's work.
Hi,
I have a fuction like : int fucntion(char **line), i would like to know what i need to put for it's work.
What is this function supposed to do?
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
Code:intCode:get_next_line(constint fd, char**line) { char*text; int buf_size; buf_size = READ_SIZE; text =malloc(sizeof(char) * buf_size); if (fd <0||!text ||!line) return (-1); return (read_line(text, buf_size, line, fd)); }
here is my function, this need to return a line.
Last edited by AnonymousCode; 02-12-2019 at 11:34 PM.