This page is available in: en

tk_ref_ssy

Reference Subsystem Status

[C Language Interface]

ER ercd = tk_ref_ssy ( ID ssid, T_RSSY *pk_rssy ) ;

[Parameters]

ID	ssid	Subsystem ID


T_RSSY*	pk_rssy	Subsystem definition information

[Return Parameters]

ER	ercd	Error code


pk_rssy detail:


	PRI	ssypri	Subsystem priority


	W	resblksz	Resource control block size (in bytes)


(Other implementation-dependent parameters may be added beyond this point.)

[Error Codes]

E_OK	Normal completion


E_ID	Invalid ID number (ssid is invalid or cannot be used)


E_NOEXS	Object does not exist (the subsystem specified in ssid is not defined)


E_PAR	Parameter error (pk_rssy is invalid or cannot be used)

[Description]

References information about the status of the subsystem specified in ssid. ssypri and resblksz are retained as members of the returned packet to ensure compatibility with T-Kernel. They are not used in µT-Kernel, so the values set to these are not particularly defined and shall be implementation-defined. If the subsystem specified in ssid does not exist, E_NOEXS is returned.

[Difference with T-Kernel 1.00.00]

resblksz, the member of T_RSSY, is of W type instead of INT type.

Comments

Click here to Post a Comment