To retrieve the system process identifier (pid) for
the current program use the fgl_getpid() function. It
returns an INTEGER value which is the process identifier.
On Windows systems,
this function returns a positive number, simulating the UNIX behavior.