Searched refs:procpid (Results 1 – 7 of 7) sorted by relevance
/external/toybox/toys/posix/ |
D | kill.c | 110 int count, procpid, procsid; local 112 if (!(procpid = atoi(entry->d_name))) continue; 114 snprintf(toybuf, sizeof(toybuf), "/proc/%d/stat", procpid); 117 if (pid == procpid || sid == procsid || procpid == 1) continue; 120 snprintf(toybuf, sizeof(toybuf), "/proc/%d/cmdline", procpid); 125 if (procpid == olist[count]) break; 128 kill(procpid, signum);
|
/external/mksh/src/ |
D | jobs.c | 285 if (j->ppid == procpid && in j_exit() 289 (Flag(FLOGIN) && !Flag(FNOHUP) && procpid == kshpid))))) { in j_exit() 310 if (kshpid == procpid && restore_ttypgrp >= 0) { in j_exit() 472 (int)procpid); in exchild() 490 j->ppid = procpid; in exchild() 521 p->pid = cldpid ? cldpid : (procpid = getpid()); in exchild() 721 if (j->ppid == procpid && j->state == PRUNNING) in waitfor() 732 if (j->ppid != procpid) { in waitfor() 916 if (j->ppid == procpid && j->state == PSTOPPED) in j_stopped_running() 919 if (Flag(FLOGIN) && !Flag(FNOHUP) && procpid == kshpid && in j_stopped_running() [all …]
|
D | main.c | 142 kshpid = procpid = getpid(); in chvt_reinit() 1092 if (tp->pid == procpid) in remove_temps() 1613 tp->pid = procpid; in maketemp()
|
D | var.c | 1204 num.u = (mksh_uari_t)procpid; in getspec() 1678 z.pp = procpid; in rndset()
|
D | histrap.c | 801 nhname = shf_smprintf("%s.%d", hname, (int)procpid); in hist_init()
|
D | misc.c | 305 if ((what == OF_CMDLINE || what == OF_SET) && procpid == kshpid) in change_flag()
|
D | sh.h | 799 EXTERN pid_t procpid; /* PID of executing process */ variable
|