Mail Archives: djgpp/1995/10/25/11:01:22
On Wed, 25 Oct 1995, Alexander V. Lukyanov wrote:
> 'poll' and 'select' both do I/O multiplexing, but poll comes from SystemV,
> and select from BSD.
> IMHO, poll has more convenient argumet types than select, so I prefer to
> use 'poll'.
>
> int poll(struct pollfd *fds, unsigned long nfds, int timeout);
In that case, one can easily write poll() as a wrapper to select(). Both
are non-POSIX, so both are just for compatibility. It is my
understanding that DJGPP generally provides such functions on as needed
basis.
- Raw text -