Newer
Older
minerva / Base / usr / share / man / man2 / getpid.md
@minerva minerva on 13 Jul 344 bytes Initial commit

Name

getpid - get current process ID

Synopsis

#include <unistd.h>

pid_t getpid();

Description

Returns the PID (process ID) of the calling process.

Return value

The process ID of the calling process.

Errors

None.

See also