Date: Wed, 25 Oct 1995 16:10:35 +0200 (IST) From: Eli Zaretskii To: "Alexander V. Lukyanov" Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Re: need something better than kbhit() 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.