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() 471 (int)procpid); in exchild() 489 j->ppid = procpid; in exchild() 520 p->pid = cldpid ? cldpid : (procpid = getpid()); in exchild() 720 if (j->ppid == procpid && j->state == PRUNNING) in waitfor() 731 if (j->ppid != procpid) { in waitfor() 915 if (j->ppid == procpid && j->state == PSTOPPED) in j_stopped_running() 918 if (Flag(FLOGIN) && !Flag(FNOHUP) && procpid == kshpid && in j_stopped_running() [all …]
|
D | main.c | 191 kshpid = procpid = getpid(); in chvt_reinit() 1170 if (tp->pid == procpid) in remove_temps() 1690 tp->pid = procpid; in maketemp()
|
D | var.c | 1236 num.u = (mksh_uari_t)procpid; in getspec() 1732 z.pp = procpid; in rndset()
|
D | histrap.c | 780 nhname = shf_smprintf("%s.%d", hname, (int)procpid); in hist_init()
|
D | misc.c | 304 if ((what == OF_CMDLINE || what == OF_SET) && procpid == kshpid) in change_flag()
|
D | sh.h | 808 EXTERN pid_t procpid; /* PID of executing process */ variable
|