Guardian Programming Reference Summary for pTAL and TAL

Procedure Calls Summary (G-N)
Guardian Programming Reference Summary for pTAL and TAL522631-001
6-2
GETCRTPID
(Superseded by PROCESS_GETINFO_ and PROCESS_GETINFOLIST_) Obtains the
four-word process ID associated with a process CRTPID contains the process name or
creation timestamp in words[0:2] and cpu,pin in word[3].
GETDEVNAME
(Superseded by DEVICE_GETINFOBYLDEV_ or FILENAME_FINDNEXT_) Obtains
the name associated with a logical device number.
CALL GETCRTPID ( cpu,pin ,process-id );
cpu,pin, INT:value input
process-id, INT:ref:4 output
< (CCL) GETCRTPID failed, or no such process exists.
= (CCE) GETCRTPID completed successfully.
status := GETDEVNAME ( ldevnum
,devname
,[ sysnum ]
,[ devtype ]
,[ devsubtype ] );
status, INT returned value
0 Successful; the name of the designated logical device is returned in devname.
1 The designated logical device does not exist. The logical device number of the next
higher device is returned in ldevnum; the name of that device is returned in devname.
2 There is no logical device number that is equal to or greater than the ldevnum whose
value matches the devtype and devsubtype parameters.
4 The system specified could not be accessed.
99 Parameter error.
ldevnum, INT:ref:1 input, output
devname, INT:ref:4 output