tk_get_res
Get Resource Management Block
ER ercd = tk_get_res ( ID resid, ID ssid, VP *p_resblk ) ;
ID resid Resource ID
ID ssid Subsystem ID
VP resblk Resource control block
ER ercd Error code
E_OK Normal completion
E_ID Invalid ID number (resid or ssid is invalid or cannot be used)
E_NOEXS Object does not exist (the resource specified in resid or ssid does not exist)
E_PAR Parameter error (value that cannot be used in p_resblk)
Gets the address of the resource control block of resource group resid for subsystem ssid.
E_OK might be returned even if this system call is issued for a deleted resource ID. Whether or not error (E_NOEXS) is returned in this case is implementation-dependent.

Comments