Difference between revisions of "GETPID()"

From Recital Documentation Wiki
Jump to: navigation, search
 
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
==Class==
 
Environment
 
 
 
 
==Purpose==
 
==Purpose==
 
Function to get process identity
 
Function to get process identity
Line 30: Line 26:
  
 
==Products==
 
==Products==
Recital Database Server, Recital Mirage Server, Recital Terminal Developer
+
Recital Server, Recital  
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]

Latest revision as of 16:07, 2 December 2009

Purpose

Function to get process identity


Syntax

GETPID()


See Also

ACCESS(), GETENV(), GETGID(), GETUID(), PUTENV(), TMPNAM()


Description

The GETPID() function returns a unique system wide number which represents the identity of the user process. This function will return the same value while you remain logged in. This can be used, among other purposes, to create system-wide temporary files. Note that each time you log into the system, you will have a different process identity.


Example

? getpid()
     14586
pid = getpid()
? type("pid")
N


Products

Recital Server, Recital