getpid (System Call)

NAME

getpid – get the process ID

SYNOPSIS
[crayon-6a6187f4206a0381691638/]
DESCRIPTION

The getpid() function shall return the process ID of the calling process.

RETURN VALUE

The getpid() function shall always be successful and no return value is reserved to indicate an error.

ERRORS

No errors are defined.