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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

System Call Notation<br />

In the parts of this specification that describe system calls, the specification of each system call is<br />

explained in the format illustrated below.<br />

System call name<br />

Summary description<br />

Summary description<br />

[C Language Interface]<br />

Indicates the C language interface for invoking the system call.<br />

[Parameters]<br />

Describes the system call parameters, that is, the information passed to the OS when the system call is<br />

executed.<br />

[Return Parameters]<br />

Describes the system call return parameters, that is, the information returned by the OS when execution<br />

of the system call ends.<br />

[Error Codes]<br />

Describes the errors that can be returned by the system call.<br />

• The following error codes are common to all system calls and are not included in the error code<br />

listings for each system call.<br />

E SYS, E NOSPT, E RSFN, E MACV, E OACV<br />

• Error code E CTX is included in the error code listings for individual system calls only when the<br />

conditions for its occurrence are clear (e.g., system calls that enter WAIT state). Depending on<br />

the implementation, however, the E CTX error code may be returned by other system calls as well.<br />

The implementation-specific occurrences of E CTX are not included in the error code specifications<br />

for individual system calls.<br />

xv

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

Saved successfully!

Ooh no, something went wrong!