Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Aug 1997 16:05:54 -0700
From:      Julian Elischer <julian@whistle.com>
To:        Joerg Wunsch <joerg_wunsch@uriah.heep.sax.de>
Cc:        freebsd-hackers@FreeBSD.ORG, "RASHAH.US.ORACLE.COM" <RASHAH@us.oracle.com>
Subject:   Re: poll system call on FreeBSD ?
Message-ID:  <33FA26D2.5E652F78@whistle.com>
References:  <199708191847.LAA23834@mailsun2.us.oracle.com> <19970819234321.AK16622@uriah.heep.sax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?33FA26D2.5E652F78>