Searched refs:curpid (Results 1 – 8 of 8) sorted by relevance
/titanic_44/usr/src/lib/libshell/common/bltins/ |
H A D | sleep.c | 129 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 D | w.c | 146 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 D | spoof-ras.c | 634 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 D | whodo.c | 151 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 D | quotacheck.c | 391 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 D | fsck.c | 647 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 D | coreadm.c | 145 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 D | ipf_include.sh | 502 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
|