Go to the documentation of this file.
4 char *
get_line(
char*
str,
int nchar, FILE *stream,
int enc)
37 if (fgets(
str, nchar, stream) ==
NULL)
39 }
while (*
str == enc);
44 if ((ptr = strchr(
str,
'\n')) !=
NULL)
char * get_line(char *str, int nchar, FILE *stream, int enc)