Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!bloom-beacon!oberon!cit-vax!ucla-cs!zen!ucbvax!ulysses!hector!ekrell From: ekrell@hector.UUCP (Eduardo Krell) Newsgroups: comp.lang.c Subject: Re: HELP PLEASE: select() in BSD Message-ID: <2960@ulysses.homer.nj.att.com> Date: Thu, 17-Sep-87 10:56:44 EDT Article-I.D.: ulysses.2960 Posted: Thu Sep 17 10:56:44 1987 Date-Received: Sat, 19-Sep-87 14:43:38 EDT References: <307@picuxa.UUCP> Sender: daemon@ulysses.homer.nj.att.com Reply-To: ekrell@hector (Eduardo Krell) Organization: AT&T Bell Labs, Murray Hill Lines: 15 In article <307@picuxa.UUCP> gp@picuxa.UUCP (Greg Pasquariello X1190) writes: > According to an associate, there is a function in BSD called > select(). This function is similar to sleep(), except that > when awakened, the function can tell who or what woke it (i.e > another computer, a port, etc.). Does anyone no if there is > a similar function in System 5 V 3.1? If not, is there any > way to create one? Thanks in advance. System V Release 3 has a poll() system call which works like select(), but only for streams file descriptors. select() works on any file descriptor. Eduardo Krell AT&T Bell Laboratories, Murray Hill {ihnp4,seismo,ucbvax}!ulysses!ekrell