Lines Matching full:macline
48 char macline[1024];
66 snprintf(macline, sizeof(macline), "/proc/%d/task/%d/attr/current", pid, tid);
70 snprintf(macline, sizeof(macline), "/proc/%d/attr/current", pid);
162 fd = open(macline, O_RDONLY);
163 strcpy(macline, "-");
165 r = read(fd, macline, sizeof(macline)-1);
168 macline[r] = 0;
170 printf("%-30s ", macline);