06.08.2013 Views

pSOSystem System Calls - Read

pSOSystem System Calls - Read

pSOSystem System Calls - Read

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.

pSOS+ Error Codes Error Codes<br />

B.1 pSOS+ Error Codes<br />

All pSOS+ error codes are returned as function return values (rather than an errno<br />

variable); they have a value between 0 and 0xfff.<br />

Table B-2 lists all error codes returned by the pSOS+ component. Each listing includes<br />

the error code’s hexadecimal number, it’s mnemonic and description, and<br />

the pSOS+ system calls that can return it. The error code mnemonics are also defined<br />

in .<br />

The term object represents the applicable service group type (task, partition,<br />

queue, semaphore, and so on).<br />

TABLE B-2 pSOS+ Error Codes<br />

Hex Mnemonic and Description <strong>System</strong> Call(s)<br />

0x01 ERR_TIMEOUT: Timed out; returned only if a timeout<br />

was requested.<br />

0x03 ERR_SSFN: Illegal system service function number.<br />

ev_receive,<br />

q_receive,<br />

q_vreceive,<br />

rn_getseg. sm_p<br />

ev_asend, q_asend,<br />

q_aurgent, q_avsend,<br />

q_avurgent, sm_av<br />

0x04 ERR_NODENO: Node specifier out of range. k_terminate,<br />

pt_ident, q_ident,<br />

q_vident, sm_ident,<br />

t_ident<br />

B-4 <strong>pSO<strong>System</strong></strong> <strong>System</strong> <strong>Calls</strong>

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

Saved successfully!

Ooh no, something went wrong!