From owner-freebsd-hackers Tue Aug 19 13:50:35 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id NAA04411 for hackers-outgoing; Tue, 19 Aug 1997 13:50:35 -0700 (PDT) Received: from phoenix.its.rpi.edu (phoenix.its.rpi.edu [128.113.161.45]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA04388 for ; Tue, 19 Aug 1997 13:50:17 -0700 (PDT) Received: from localhost (dec@localhost) by phoenix.its.rpi.edu (8.8.7/8.8.7) with SMTP id QAA25930; Tue, 19 Aug 1997 16:50:36 -0400 (EDT) Date: Tue, 19 Aug 1997 16:50:36 -0400 (EDT) From: "David E. Cross" To: "RASHAH.US.ORACLE.COM" cc: freebsd-hackers@FreeBSD.ORG Subject: Re: poll system call on FreeBSD ? In-Reply-To: <199708191847.LAA23834@mailsun2.us.oracle.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On 19 Aug 1997, RASHAH.US.ORACLE.COM wrote: > 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 ? select() > won't > work as I am not polling on sockets. Another thing is I believe poll() system > call require STREAMS implementation of the driver/module. Does BSD have streams > implemetation equivalent to SVR4 (i mean file system and all other kernel > modules ?). > I know my question is bit wague but I hope you will understand. select() will work on almost any file descriptor, it does not have to be a network (or otherwise) socket. -- David Cross