Go to the first, previous, next, last section, table of contents.


getpid

Syntax

#include <unistd.h>

int getpid(void);

Description

Get the process ID, which uniquely identifies each program running on the system.

Return Value

The process ID.

Portability

not ANSI, POSIX


Go to the first, previous, next, last section, table of contents.