Lines Matching refs:toybuf
39 snprintf(toybuf, sizeof(toybuf), "/proc/%u/cmdline", pid);
40 line = readfile(toybuf, 0, 0);
47 sprintf(toybuf, "/proc/%u/%smaps", pid,
49 if (!(fp = fopen(toybuf, "r"))) {
65 &start, &end, toybuf, &off);
69 if (toybuf[3] == 'p') toybuf[3] = '-';
92 xprintf("%s- %s%s", toybuf, line[off]=='[' ? " " : "", name);
102 memset(toybuf, '-', 16);
104 toybuf);