Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Aug 1997 23:43:21 +0200
From:      j@uriah.heep.sax.de (J Wunsch)
To:        freebsd-hackers@FreeBSD.ORG
Cc:        RASHAH@us.oracle.com (RASHAH.US.ORACLE.COM)
Subject:   Re: poll system call on FreeBSD ?
Message-ID:  <19970819234321.AK16622@uriah.heep.sax.de>
In-Reply-To: <199708191847.LAA23834@mailsun2.us.oracle.com>; from RASHAH.US.ORACLE.COM on Aug 19, 1997 10:16:52 -0700
References:  <199708191847.LAA23834@mailsun2.us.oracle.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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, 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?19970819234321.AK16622>