Home
last modified time | relevance | path

Searched refs:curpid (Results 1 – 8 of 8) sorted by relevance

/titanic_44/usr/src/lib/libshell/common/bltins/
H A Dsleep.c129 pid_t newpid, curpid=getpid(); in sleep() local
140 if((newpid=getpid()) != curpid) in sleep()
142 curpid = newpid; in sleep()
/titanic_44/usr/src/cmd/w/
H A Dw.c146 static pid_t curpid, empty; variable
530 curpid = -1; in showtotals()
576 curpid = -1; in calctotals()
579 if (up->p_upid > curpid && (!up->p_igintr || empty)) { in calctotals()
580 curpid = up->p_upid; in calctotals()
/titanic_44/usr/src/test/os-tests/tests/spoof-ras/
H A Dspoof-ras.c634 pid_t curpid = getpid(); in main() local
646 (void) snprintf(testether, sizeof (testether), "testether%d", curpid); in main()
647 (void) snprintf(testvnic0, sizeof (testvnic0), "testvnic%d_0", curpid); in main()
648 (void) snprintf(testvnic1, sizeof (testvnic1), "testvnic%d_1", curpid); in main()
/titanic_44/usr/src/cmd/whodo/
H A Dwhodo.c151 static pid_t curpid; variable
555 curpid = -1; in showtotals()
596 curpid = -1; in calctotals()
599 if (up->p_upid > curpid && (!up->p_igintr || empty)) { in calctotals()
600 curpid = up->p_upid; in calctotals()
/titanic_44/usr/src/cmd/fs.d/ufs/quotacheck/
H A Dquotacheck.c391 pid_t curpid; in waiter() local
395 curpid = wait(&status); in waiter()
396 if (curpid == -1) { in waiter()
404 if (ap->pid == curpid) in waiter()
/titanic_44/usr/src/cmd/fs.d/
H A Dfsck.c647 pid_t curpid; in waiter() local
651 curpid = wait(&status); in waiter()
652 if (curpid == -1) { in waiter()
658 if (bdp->pid == curpid) { in waiter()
/titanic_44/usr/src/cmd/coreadm/
H A Dcoreadm.c145 char curpid[11]; in main() local
146 char *curpid_ptr = &curpid[0]; in main()
248 (void) sprintf(curpid, "%u", (uint_t)getppid()); in main()
/titanic_44/usr/src/cmd/svc/shell/
H A Dipf_include.sh502 curpid=`cat $IPF_LOCK/pid 2>/dev/null`
503 [ "$curpid" = "$newpid" ] && return 0
508 ps -p $curpid >/dev/null 2>&1 || rm -r $IPF_LOCK >/dev/null 2>&1