02.07.2013 Views

A/UX® Programmer's Reference

A/UX® Programmer's Reference

A/UX® Programmer's Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

select(2N) select(2N)<br />

NAME<br />

select - synchronous I/O multiplexing<br />

SYNOPSIS<br />

#include <br />

int select (nfds, readfds, writefds, execptfds, timeout)<br />

int nfds, *readfds, *writefds, *execptfdsi<br />

struct timeval * timeout i<br />

DESCRIPTION<br />

select examines the I/O descriptors specified by the bit masks<br />

readfds, writefds, and execptfds to see if they are ready for reading,<br />

writing, or have an exceptional condition pending, respectively.<br />

File descriptor f is represented by the bit 1 <

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

Saved successfully!

Ooh no, something went wrong!