GETPID

Portability Function: Returns the process ID of the current process.

Module: USE DFPORT

Syntax

result = GETPID( )

Results:

The result is of type INTEGER(4). The result is the process ID number of the current process.

Compatibility

CONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIB

Example

USE DFPORT
INTEGER(4) istat
istat = GETPID()