Home
last modified time | relevance | path

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]; in mkpid() local
612 (void) snprintf(my_pid, sizeof (my_pid), "%d", (int)getpid()); in mkpid()
613 pid_len = strlen(my_pid); in mkpid()
616 my_pid[xcnt] = 0; in mkpid()
628 *first_X++ = my_pid[i++]; in mkpid()
/illumos-gate/usr/src/cmd/csh/
H A Dsh.c1226 static int my_pid; /* The process id set in initdesc() */ variable
1297 my_pid = getpid(); in initdesc_x()
1391 my_pid = getpid(); in new_process()
1419 if (my_pid != getpid()) in setfd()
1439 if (my_pid != getpid()) in unsetfd()
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_connmgmt.c489 pid_t my_pid; in __s_api_nscd_proc() local
501 my_pid = getpid(); in __s_api_nscd_proc()
507 if (my_pid == checkedPid) { in __s_api_nscd_proc()
514 if (my_pid == checkedPid) { in __s_api_nscd_proc()
523 isMainNscd = check_nscd_proc(my_pid, B_FALSE); in __s_api_nscd_proc()
526 checkedPid = my_pid; in __s_api_nscd_proc()
/illumos-gate/usr/src/lib/watchmalloc/common/
H A Dmalloc.c1286 static pid_t my_pid = 0; /* to check for whether we fork()d */ variable
1299 my_pid = getpid(); in init_watch()
1388 if (my_pid != getpid()) { in nowatch()