SpFilenameFromPid: Difference between revisions
Appearance
m Martini moved page OS2 API:spFilenameFromPid to OS2 API:SPUTILS:spFilenameFromPid |
mNo edit summary |
||
Line 13: | Line 13: | ||
[...] | [...] | ||
[[Category: | [[Category:SpUtils]] |
Revision as of 19:15, 26 February 2017
Retrieves the full-qualified file name of the module running in the process with the specified process id.
Syntax: filename = spFilenameFromPid ( pid )
Parameter: pid – process id of the process which module filename is to be retrieved.
Returns: filename of process module.
Example Code: (part of spGetPidList example code)
/* ps.cmd (spUtils Example Code) */ [...] SAY RIGHT(p.i,5,' ') || ' ' || spFilenameFromPid(p.i) [...]