Searched defs:statline (Results 1 - 2 of 2) sorted by relevance
/system/core/libcutils/ |
H A D | sched_policy.c | 273 char statline[1024]; local 282 int rc = read(fd, statline, 1023); 284 statline[rc] = 0; 285 char *p = statline; 288 for (p = statline; *p != '('; p++);
|
/system/core/toolbox/ |
H A D | ps.c | 36 char statline[1024]; local 49 sprintf(statline, "/proc/%d", pid); 50 stat(statline, &stats); 53 sprintf(statline, "/proc/%d/task/%d/stat", pid, tid); 57 sprintf(statline, "/proc/%d/stat", pid); 71 fd = open(statline, O_RDONLY); 73 r = read(fd, statline, 1023); 76 statline[r] = 0; 78 ptr = statline;
|
Completed in 217 milliseconds