SpFilenameFromPid: Difference between revisions
Appearance
Created page with "Retrieves the full-qualified file name of the module running in the process with the specified process id. '''Syntax:''' filename = spFilenameFromPid ( pid ) '''Parameter:''..." |
No edit summary |
||
Line 12: | Line 12: | ||
SAY RIGHT(p.i,5,' ') || ' ' || spFilenameFromPid(p.i) | SAY RIGHT(p.i,5,' ') || ' ' || spFilenameFromPid(p.i) | ||
[...] | [...] | ||
[[Category:The OS/2 API Project]] |
Revision as of 14:01, 31 March 2015
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) [...]