MyOS Libc
unistd.h File Reference
#include <sys/types.h>

Go to the source code of this file.

Functions

pid_t getpid ()
 

Function Documentation

◆ getpid()

pid_t getpid ( )

Gets the current process's PID

Returns
the current process's PID