Lines Matching refs:line
140 * Read a line from a /FILE/. If the return value isn't 0, it is the
141 * length of the line, a pointer to which exists in /line/. It is the
143 * there was an error or we reached EOF, and /line/ is undefined (so,
147 efgetln(FILE *fp, char **line)
154 *line = NULL;
159 *line = strdup(cp);
160 if (*line == NULL)
164 *line = malloc(rv + 1);
165 if (*line == NULL)
167 memcpy(*line, cp, rv);
168 (*line)[rv] = '\0';
170 assert(rv == strlen(*line));
180 * Create an argument vector from /line/. The caller must free(3)
186 tokenize(const char *line, int *acp, char ***avp)
193 line += strspn(line, delims);
194 wline = strdup(line);