Searched refs:file_line (Results 1 – 1 of 1) sorted by relevance
1506 char file_line[BUF_SIZE]; in write_to_rtfile() local1521 len += snprintf(file_line, BUF_SIZE, "-inet6 "); in write_to_rtfile()1524 len += snprintf(&file_line[len], BUF_SIZE - len, "%s ", in write_to_rtfile()1529 file_line[len - 1] = '\n'; in write_to_rtfile()1531 fputs(file_line, fp) == EOF) { in write_to_rtfile()1564 char file_line[BUF_SIZE + 4] = "add "; in search_rtfile() local1572 while (fgets(file_line + 4, BUF_SIZE, fp) != NULL) { in search_rtfile()1574 if (file_line[4] == '#' || file_line[4] == '\n') { in search_rtfile()1577 fputs(file_line + 4, temp_fp) == EOF) { in search_rtfile()1593 tmp_buf = strdup(file_line); in search_rtfile()[all …]