Lines Matching defs:line
27 void CreateLine(char *lines[], int line, const char *format, ...)
34 lines[line] = NULL;
42 /* If that worked, set the line. */
44 lines[line] = p;
53 lines[line] = NULL;
59 void AppendToLine(char *lines[], int line, const char *text)
61 /* Are we trying to append to an empty line? */
62 if (lines[line] == NULL)
63 CreateLine(lines, line, text);
66 int size = strlen(lines[line]) + strlen(text) + 1;
67 if ((lines[line] = realloc(lines[line], size)) == NULL)
70 strcat(lines[line], text);