Searched refs:my_pid (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/cmd/sgs/m4/common/
H A Dm4macs.c567 char my_pid[32]; local
612 (void) snprintf(my_pid, sizeof (my_pid), "%d", (int)getpid());
613 pid_len = strlen(my_pid);
616 my_pid[xcnt] = 0;
628 *first_X++ = my_pid[i++];
/illumos-gate/usr/src/cmd/csh/
H A Dsh.c1223 static int my_pid; /* The process id set in initdesc() */ variable
1294 my_pid = getpid();
1381 * Reset my_pid when a new process is created. Only call this
1388 my_pid = getpid();
1416 if (my_pid != getpid())
1436 if (my_pid != getpid())
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_connmgmt.c481 pid_t my_pid; local
493 my_pid = getpid();
499 if (my_pid == checkedPid) {
506 if (my_pid == checkedPid) {
515 isMainNscd = check_nscd_proc(my_pid, B_FALSE);
518 checkedPid = my_pid;
/illumos-gate/usr/src/lib/watchmalloc/common/
H A Dmalloc.c1288 static pid_t my_pid = 0; /* to check for whether we fork()d */ variable
1301 my_pid = getpid();
1390 if (my_pid != getpid()) {

Completed in 79 milliseconds