Lines Matching refs:total
59 int total = 0; in read_file() local
64 if(total + (MAX_LINE + 1) > size) { in read_file()
70 err = fgets(line + total, MAX_LINE + 1, fd); in read_file()
74 len = strlen(line + total); in read_file()
75 total += len; in read_file()
77 if(len == MAX_LINE && line[total - 1] != '\n') { in read_file()
89 if(len && line[total - 1] == '\n') { in read_file()
90 line[-- total] = '\0'; in read_file()
100 if(len == 0 || line[total - 1] != '\\' || (len >= 2 && in read_file()
101 strcmp(line + total - 2, "\\\\") == 0)) in read_file()
104 total --; in read_file()
120 if(total == 0) in read_file()
123 line[total] = '\0'; in read_file()