Home
last modified time | relevance | path

Searched refs:pidbuf (Results 1 – 5 of 5) sorted by relevance

/external/ltp/testcases/kernel/syscalls/fork/
Dfork10.c56 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/
Dcgroup_util.c245 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/
Ddhcp6.c413 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()
Ddhcp.c351 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()
Ddhcpd.c466 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()