Searched refs:procpid (Results 1 – 6 of 6) sorted by relevance
240 if (j->ppid == procpid && in j_exit()244 (Flag(FLOGIN) && !Flag(FNOHUP) && procpid == kshpid))))) { in j_exit()265 if (kshpid == procpid && restore_ttypgrp >= 0) { in j_exit()427 (int)procpid); in exchild()445 j->ppid = procpid; in exchild()476 p->pid = cldpid ? cldpid : (procpid = getpid()); in exchild()675 if (j->ppid == procpid && j->state == PRUNNING) in waitfor()686 if (j->ppid != procpid) { in waitfor()870 if (j->ppid == procpid && j->state == PSTOPPED) in j_stopped_running()873 if (Flag(FLOGIN) && !Flag(FNOHUP) && procpid == kshpid && in j_stopped_running()[all …]
154 kshpid = procpid = getpid(); in chvt_reinit()1095 if (tp->pid == procpid) in remove_temps()1609 tp->pid = procpid; in maketemp()
757 nhname = shf_smprintf("%s.%d", hname, (int)procpid); in hist_init()
1117 i = (mksh_ari_t)procpid; in getspec()
731 EXTERN pid_t procpid; /* PID of executing process */ variable
285 if ((what == OF_CMDLINE || what == OF_SET) && procpid == kshpid) in change_flag()