Lines Matching refs:toybuf
57 len = readall(fd, toybuf, sizeof(toybuf));
61 if (!strncmp(toybuf, "Battery", 7)) {
113 memset(toybuf, 0, sizeof(toybuf));
121 if (readfile(TT.cpath, toybuf, 256) && !errno) {
122 toybuf[strlen(toybuf) -1] = 0;
126 printf("Cooling %d: %s no state information\n", TT.cool++, toybuf);
127 else printf("Cooling %d: %s %d of %d\n", TT.cool++, toybuf, cur, max);