30.12.2013 Views

T-Kernel Specification (1.B0.02)

T-Kernel Specification (1.B0.02)

T-Kernel Specification (1.B0.02)

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

4.10. SUBSYSTEM MANAGEMENT FUNCTIONS 213<br />

tk ref ssy<br />

Reference Subsystem Status<br />

[C Language Interface]<br />

ER ercd = tk_ref_ssy ( ID ssid, T_RSSY *pk_rssy ) ;<br />

[Parameters]<br />

ID ssid Subsystem ID<br />

T RSSY* pk rssy Subsystem definition information<br />

[Return Parameters]<br />

ER ercd Error code<br />

pk rssy detail:<br />

PRI ssypri Subsystem priority<br />

INT resblksz Resource control block size (in bytes)<br />

(Other implementation-dependent parameters may be added beyond this point.)<br />

[Error Codes]<br />

E OK<br />

E ID<br />

E NOEXS<br />

E PAR<br />

Normal completion<br />

Invalid ID number (ssid is invalid or cannot be used)<br />

Object does not exist (the subsystem designated in ssid is not defined)<br />

Parameter error (pk rssy is invalid or cannot be used)<br />

[Description]<br />

References information about the status of the subsystem designated in ssid. resblksz returns the<br />

size of the resource control block designated with tk def ssy. If the subsystem designated in ssid does<br />

not exist, E NOEXS is returned.<br />

Copyright c○ 2002, 2003 by T-Engine Forum<br />

T-<strong>Kernel</strong> <strong>1.B0.02</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!