Path: utzoo!attcan!uunet!mcvax!unido!tub!tmpmbx!netcs!csch From: csch@netcs.UUCP (Clemens Schrimpe) Newsgroups: comp.unix.xenix Subject: Re: Load Average Message-ID: <178@prmmbx.UUCP> Date: 7 Jul 89 17:29:02 GMT References: <2910@netmbx.UUCP+ <745@crdgw1.crd.ge.com> <411@accsys.UUCP> <2922@netmbx.UUCP> <1154@qtnet.UUCP> Reply-To: csch@netcs.UUCP (Clemens Schrimpe) Organization: netCS Informationstechnik GmbH, Berlin Lines: 26 nick@qtnet.UUCP (Nick Lawes) writes: <> That's interesting... Having read in the installation guide (I think) <> that the select() call was now supported, I thought I'd investigate.. <> The first thing I noticed was a total lack of mention of it in the <> documentation (or am I missing something?). I finally found the call <> by scanning the libraries. Slibtinfo.a seems a strange place for a <> system call interface, but still, ours not to reason why... Hmmm ... since support for select() came up first in 2.3.1 it's naturally mentioned first in the 2.3.1 Development System, which is currently shipping as I've heard. <> Having never used select() before, I turned to the SUN 3 and with the <> aid of the manuals wrote a test program to poll a couple of fifo's. <> This worked fine! Okay, move the code to the Xenix box and try to run <> it there... No way will it work! I't won't even work on SunOS 4.x (I tried) ! This is because fifo's in BSD are sockets, while they are 'pipes' in SYS-V! The select always shows, that the fifo is 'readable' on SYS-V (and SunOS 4.x) ! Clemens Schrimpe -- UUCP: csch@netcs BITNET: csch@db0tui6.BITNET ARPA/NSF: csch@garp.mit.edu PSI: PSI%45300033047::CSCH PHONE: +49-30-24 42 37 FAX: +49-30-24 38 00 BTX: 0303325016-0003 TELEX: 186672 net d