poll VS. select (which?)

Roger Lighty ral at hydra.Jpl.Nasa.Gov
Fri Oct 12 03:25:19 AEST 1990


I need to monitor several serial ports for input to a SUN
3/150 with an ALM-2.  From reading the man pages, it seems that
I can open the tty's and then _poll_ using the list of fds
and _read_ the inputs that are found, or I can use _select_
and then _read_.  Also how are _read_ and _getmsg_ different.
Are these just BSD vs. SYS V differences?  In whcih case, which
is the POSIX solution?  Send responses to me and I WILL summarize
and post (whatever I have received) next week.

-- TANX

			roger	ral at hydra.jpl.nasa.gov



More information about the Comp.unix.questions mailing list