Searched refs:pidbuf (Results 1 – 5 of 5) sorted by relevance
/external/ltp/testcases/kernel/syscalls/fork/ |
D | fork10.c | 56 static char pidbuf[10]; variable 152 sprintf(pidbuf, "%d", getpid()); in setup() 153 strcat(fnamebuf, pidbuf); in setup()
|
/external/linux-kselftest/tools/testing/selftests/cgroup/ |
D | cgroup_util.c | 245 char pidbuf[64]; in cg_enter_current() local 247 snprintf(pidbuf, sizeof(pidbuf), "%d", getpid()); in cg_enter_current() 248 return cg_write(cgroup, "cgroup.procs", pidbuf); in cg_enter_current()
|
/external/toybox/toys/pending/ |
D | dhcp6.c | 413 char pidbuf[12]; in write_pid() local 415 sprintf(pidbuf, "%u", (unsigned)getpid()); in write_pid() 416 write(pidfile, pidbuf, strlen(pidbuf)); in write_pid()
|
D | dhcp.c | 351 char pidbuf[12]; in write_pid() local 353 sprintf(pidbuf, "%u", (unsigned)getpid()); in write_pid() 354 write(pidfile, pidbuf, strlen(pidbuf)); in write_pid()
|
D | dhcpd.c | 466 char pidbuf[12]; in write_pid() local 468 sprintf(pidbuf, "%u", (unsigned)getpid()); in write_pid() 469 write(pidfile, pidbuf, strlen(pidbuf)); in write_pid()
|