Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!uunet!ssbell!mcmi!unocss!zycor!bill From: bill@zycor.UUCP (Bill Mahoney) Newsgroups: comp.unix.xenix Subject: select() on Xenix Keywords: select Message-ID: <8@zycor.UUCP> Date: 6 Mar 90 18:18:30 GMT Distribution: usa Organization: zycor, inc. omaha, nebraska Lines: 16 I am writing some software that gets moved onto an HP running HPUX. Interestingly, although XENIX and HPUX both support select() "stolen" from BSD, they are slightly different. On XENIX if you select on an FD that is a normal pipe, it returns true always, but a select on a named pipe works as I would expect. On HPUX, both wait for data before returning true. It doesn't really matter (I can't change it, afterall), but I am curious as to which way is supposed to be the "right" way. -- Bill Mahoney //STEPLIB DD DSN=SYS2.LINKLIB,DSP=SHR bill@zycor.UUCP //SYSPRINT DD SYSOUT=A .... Huh? Wha? Oh! It was only a bad dream!