Lines Matching defs:line
43 static char *get_first_column_data(char *line);
44 static char *retrieve_string(FILE *fp, char *line, int buffersize);
45 static char *trim_trailing_whitespace(char *line);
68 char line[BUFSIZE];
76 retrieve_string(fp, line, BUFSIZE)) != NULL) {
117 static char buff[BUFSIZE]; /* line buffer */
126 *t = '\0'; /* ignore rest of line */
134 fileutil_getline(FILE *fp, char *line, int linesz)
136 char *share_cmd, *p = line;
139 while (fgets(line, linesz, fp) != NULL) {
140 share_cmd = fileutil_get_cmd_from_string(line);
189 * fileutil_add_string_to_array - adds one line to the file image
193 * char *line - the line to be added to the temporary dfstab
201 fileutil_add_string_to_array(char ***string_array, char *line, int *count,
215 ret_val[*count] = strdup(line);
238 get_first_column_data(char *line)
240 return (strtok(line, "\t "));
244 retrieve_string(FILE *fp, char *line, int buffersize)
250 fileutil_getline(fp, line, buffersize)) != NULL) {
262 * whitespace from a line
265 * char *input_stringp - the line to be trimed