Searched refs:cmdfile (Results 1 – 2 of 2) sorted by relevance
33 FILE *cmdfile = popen(cmd, "r"); in read_memory_info() local35 if (!(fgets(buffer, sizeof(buffer), cmdfile))) { in read_memory_info()40 pclose(cmdfile); in read_memory_info()44 cmdfile = popen(cmd, "r"); in read_memory_info()46 if (!(fgets(buffer, sizeof(buffer), cmdfile))) { in read_memory_info()51 pclose(cmdfile); in read_memory_info()
220 for cmdfile in cmdfiles:221 with open(cmdfile, 'rt') as f:230 cmdfile, err)