|  | 
 | ||||
|        | |||||
|  | ||||||
| Other Library Functions | ||||||
| function | UTIL_GetProcessId | 
| Library: Utilities (OMUTIL) legacy library Include: omutil.xin | Return type: Integer Returns: A platform-specific number that identifies a process. | 
define external integer function UTIL_GetProcessId
This function returns a platform-specific number that uniquely identifies the process.
Example:
  ; get the Process ID, a platform-specific number identifying the process
  include "omutil.xin"
  process
    local integer pid
    set pid to UTIL_GetProcessId
    output "Process ID = %d(pid).%n"
Copyright © Stilo International plc, 1988-2008.