tk_get_res

Get Resource Management Block

[C Language Interface]

ER ercd = tk_get_res ( ID resid, ID ssid, VP *p_resblk ) ;

[Parameters]

ID resid Resource ID

ID ssid Subsystem ID

[Return Parameters]

VP resblk Resource control block

ER ercd Error code

[Error Codes]

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)

[Description]

Gets the address of the resource control block of resource group resid for subsystem ssid.

[Additional Notes]

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