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.

pRPC+ <strong>System</strong> <strong>Calls</strong> get_fdset<br />

get_fdset<br />

#include <br />

void get_fdset(<br />

fd_set *read_mask /* server’s read file<br />

/* descriptor bit mask */<br />

)<br />

Description<br />

Arguments<br />

Return Value<br />

This pRPC+ service call provides access to the task-specific equivalent of the ONC<br />

RPC svc_fdset global variable.<br />

None.<br />

Error Codes<br />

See Also<br />

read_mask Points to the location where get_fdset() copies the contents<br />

of the svc_fdset variable. Memory pointed to by read_mask<br />

should be preallocated.<br />

The returned read_mask can serve as the read descriptor list<br />

argument to the pNA+ select() service call. The value that<br />

select() returns in place of the input read descriptor list can<br />

serve as an input argument to the pRPC+ svc_getreqset()<br />

call.<br />

None.<br />

The svc_getreqset description in other ONC RPC documentation.<br />

<strong>pSO<strong>System</strong></strong> <strong>System</strong> <strong>Calls</strong> 5-5<br />

5

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

Saved successfully!

Ooh no, something went wrong!