F$GPrDsc

From NitrOS-9
Jump to: navigation, search
Get Process Descriptor Gets a copy of the process’s process descriptor
OS9 F$GPrDsc 103F 18

Entry Conditions

A requested process ID

X pointer to a 512-byte buffer

Error Output

CC carry set on error

X error code (if any)

Additional Information

  • The Get Process Descriptor call copies a process descriptor into the calling process’s buffer for inspection. The data in the process descriptor cannot be changed. The NitrOS-9 PROCS command uses this call to get information about each existing process.

krnp2