getpid()


Return the process identifier for the current PSL process.

Syntax

getpid()

Parameter

This function has no parameters.

Description

The getpid() function returns the integer PATROL process identifier of the current PSL process.

Example

The following is an example of the getpid() function:

printf("Current PID is : %d\n",getpid());

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*