getpid 113 ext/pty/pty.c if (setpgrp(0, getpid()) == -1) getpid 416 process.c return PIDT2NUM(getpid()); getpid 2912 process.c pgroup = getpid(); /* async-signal-safe */ getpid 2914 process.c ret = setpgid(getpid(), pgroup); /* async-signal-safe */ getpid 4600 process.c pid = getpid(); getpid 563 random.c seed[2] ^= getpid() ^ (n++ << 16); getpid 468 signal.c const rb_pid_t self = (GET_THREAD() == GET_VM()->main_thread) ? getpid() : -1; getpid 190 st.c f = fopen((snprintf(fname, sizeof(fname), "/tmp/col%ld", (long)getpid()), fname), "w"); getpid 1291 thread_pthread.c if (fd >= 0 && timer_thread_pipe.owner_process == getpid()) { getpid 1641 thread_pthread.c timer_thread_pipe.owner_process = getpid(); getpid 1743 thread_pthread.c timer_thread_pipe.owner_process == getpid()) { /* async-signal-safe */ getpid 1079 vm_dump.c mib[3] = getpid();