From owner-freebsd-hackers Tue Aug 19 16:10:18 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id QAA12255 for hackers-outgoing; Tue, 19 Aug 1997 16:10:18 -0700 (PDT) Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id QAA12245 for ; Tue, 19 Aug 1997 16:10:11 -0700 (PDT) Received: (from daemon@localhost) by alpo.whistle.com (8.8.5/8.8.5) id QAA08466; Tue, 19 Aug 1997 16:09:25 -0700 (PDT) Received: from current1.whistle.com(207.76.205.22) via SMTP by alpo.whistle.com, id smtpd008463; Tue Aug 19 23:09:22 1997 Message-ID: <33FA26D2.5E652F78@whistle.com> Date: Tue, 19 Aug 1997 16:05:54 -0700 From: Julian Elischer Organization: Whistle Communications X-Mailer: Mozilla 3.0Gold (X11; I; FreeBSD 2.2-CURRENT i386) MIME-Version: 1.0 To: Joerg Wunsch CC: freebsd-hackers@FreeBSD.ORG, "RASHAH.US.ORACLE.COM" Subject: Re: poll system call on FreeBSD ? References: <199708191847.LAA23834@mailsun2.us.oracle.com> <19970819234321.AK16622@uriah.heep.sax.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk J Wunsch wrote: > > As RASHAH.US.ORACLE.COM wrote: > > > I am new to the FreeBSD. I have to port some software from SVR4 to > > FreeBSD. On SVR4 poll() system call is available but it is not > > available on FreeBSD. I was just wondering is there any equivalent > > call of poll() on FreeBSD ? > > Wait a little, and FreeBSD will have poll(2), too. It's already been > decided. > > > select() won't work as I am not polling on sockets. > > select(2) works on any descriptor, not only on socket descriptors. > This is not the difference between both. > > > Another thing is I believe poll() system call require STREAMS > > implementation of the driver/module. Does BSD have streams > > implemetation equivalent to SVR4 No, but it depends on what you want to DO with streams that decides whether this is a problem or not. Whistle communications has a STREAMS replacement that is not compatible but can be used to do a lot of the same things.. It is publicly available on an "ask for it" basis.. (presently only works on 2.2 but I will move it to 3.0 soon). > > No, and No. > > -- > cheers, J"org > > joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE > Never trust an operating system you don't have sources for. ;-)