Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!know!sdd.hp.com!elroy.jpl.nasa.gov!hydra!ral From: ral@hydra.Jpl.Nasa.Gov (Roger Lighty) Newsgroups: comp.unix.questions Subject: poll VS. select (which?) Message-ID: <1990Oct11.172519.8926@elroy.jpl.nasa.gov> Date: 11 Oct 90 17:25:19 GMT Sender: news@elroy.jpl.nasa.gov (Usenet) Organization: Jet Propulsion Laboratory, Pasadena, CA Lines: 12 Nntp-Posting-Host: hydra.jpl.nasa.gov 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@hydra.jpl.nasa.gov