Searched refs:chars_read (Results 1 – 3 of 3) sorted by relevance
156 size_t chars_read = 0; in InitializeSystemInfo() local170 chars_read = read(fd, line + linelen, bytes_to_read); in InitializeSystemInfo()171 line[linelen + chars_read] = '\0'; in InitializeSystemInfo()206 } while (chars_read > 0); in InitializeSystemInfo()
158 size_t chars_read = 0; in InitializeSystemInfo() local172 chars_read = read(fd, line + linelen, bytes_to_read); in InitializeSystemInfo()173 line[linelen + chars_read] = '\0'; in InitializeSystemInfo()208 } while (chars_read > 0); in InitializeSystemInfo()
82 size_t chars_read = fread(&buf, 1, 1, stats_file); in GetNextStatsLine() local83 if (chars_read != 1 || feof(stats_file)) { in GetNextStatsLine()