Home
last modified time | relevance | path

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

/external/mksh/src/
Djobs.c233 if (j->ppid == procpid && in j_exit()
237 (Flag(FLOGIN) && !Flag(FNOHUP) && procpid == kshpid))))) { in j_exit()
258 if (kshpid == procpid && restore_ttypgrp >= 0) { in j_exit()
421 (int)procpid); in exchild()
439 j->ppid = procpid; in exchild()
470 p->pid = cldpid ? cldpid : (procpid = getpid()); in exchild()
669 if (j->ppid == procpid && j->state == PRUNNING) in waitfor()
680 if (j->ppid != procpid) { in waitfor()
864 if (j->ppid == procpid && j->state == PSTOPPED) in j_stopped_running()
867 if (Flag(FLOGIN) && !Flag(FNOHUP) && procpid == kshpid && in j_stopped_running()
[all …]
Dmain.c148 kshpid = procpid = getpid(); in chvt_reinit()
971 if (tp->pid == procpid) in remove_temps()
1470 tp->pid = procpid; in maketemp()
Dhistrap.c848 nfile = shf_smprintf("%s.%d", hname, (int)procpid); in hist_shrink()
Dsh.h612 EXTERN pid_t procpid; /* PID of executing process */ variable
Dmisc.c263 if ((what == OF_CMDLINE || what == OF_SET) && procpid == kshpid) in change_flag()