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.

ecvfrom pNA+ <strong>System</strong> <strong>Calls</strong><br />

Return Value<br />

Error Codes<br />

See Also<br />

This system call returns either the number of bytes received or -1 if an error<br />

occurred. When the receive is shutdown by either end of the connection, a value of 0<br />

is returned.<br />

Hex Mnemonic Description<br />

0x5009 EBADS The socket descriptor is invalid.<br />

0x5016 EINVALID An argument is invalid.<br />

0x5023 EWOULDBLOCK This operation would block and the<br />

socket is marked nonblocking.<br />

0x5036 ECONNRESET The connection has been reset by the<br />

peer.<br />

0x5037 ENOBUFS An internal buffer is required but cannot<br />

be allocated.<br />

0x5039 ENOTCONN The socket is not connected.<br />

recv, recvmsg, socket<br />

4-50 <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!