From owner-freebsd-hackers Tue Aug 19 14:52:30 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id OAA08229 for hackers-outgoing; Tue, 19 Aug 1997 14:52:30 -0700 (PDT) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id OAA08219 for ; Tue, 19 Aug 1997 14:52:26 -0700 (PDT) Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id XAA23584; Tue, 19 Aug 1997 23:52:25 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.8.7/8.8.5) id XAA21670; Tue, 19 Aug 1997 23:43:21 +0200 (MET DST) Message-ID: <19970819234321.AK16622@uriah.heep.sax.de> 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 ? References: <199708191847.LAA23834@mailsun2.us.oracle.com> X-Mailer: Mutt 0.60_p2-3,5,8-9 Mime-Version: 1.0 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199708191847.LAA23834@mailsun2.us.oracle.com>; from RASHAH.US.ORACLE.COM on Aug 19, 1997 10:16:52 -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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. ;-)