Home
last modified time | relevance | path

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

/titanic_41/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_41/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_41/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_41/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_41/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_41/usr/src/cmd/svc/shell/
H A Dipf_include.sh422 curpid=`cat $IPF_LOCK/pid 2>/dev/null`
423 [ "$curpid" = "$newpid" ] && return 0
428 ps -p $curpid >/dev/null 2>&1 || rm -r $IPF_LOCK >/dev/null 2>&1
/titanic_41/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()