From owner-freebsd-questions Thu Jan 16 05:41:23 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id FAA21769 for questions-outgoing; Thu, 16 Jan 1997 05:41:23 -0800 (PST) Received: from mail.EUnet.hu (www.eunet.hu [193.225.28.100]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id FAA21763 for ; Thu, 16 Jan 1997 05:41:20 -0800 (PST) Received: by mail.EUnet.hu, id OAA22077; Thu, 16 Jan 1997 14:41:09 +0100 Received: (from zgabor@localhost) by CoDe.hu (8.7.5/8.7.3) id OAA00323; Thu, 16 Jan 1997 14:18:14 +0100 (MET) From: Zahemszky Gabor Message-Id: <199701161318.OAA00323@CoDe.hu> Subject: Re: Poll system call ... To: freebsd-questions@freebsd.org (FreeBSD questions) Date: Thu, 16 Jan 1997 14:18:14 +0100 (MET) Cc: msagre@cactus.fi.uba.ar In-Reply-To: from Miguel Angel Sagreras at "Jan 15, 97 07:40:23 pm" X-Mailer: ELM [version 2.4ME+ PL11 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > I'm trying to port the SVR4 NetBSD emulator to FreeBSD. But I could not > find it in the kernel. Is anybody implementing it ?. It's an SVR4-emulator running on NetBSD, or a NetBSD-emulator on a generic SVR4? Well, I don't know, are there any BSD-ish Unices which has poll, because it has ``select'' at all, and as in Stevens: Advanced Programming in the UNIX Environment: pg 400: The SVR4 poll function is similar to select, but the programming interface is different. pg 396: The poll function is provided only by SVR4. SVR4 actually implements select using poll. (Well, in the next paragraph, he said, that poll was in SVR3, too - and yes, it was.) --> Maybe you can implement poll with select, too. (It's not Stevens, it's me.) And I think, if it's an SVR4-emulator on NetBSD, they (the NBSD team) made such emulation of poll, with select. Bye, Gabor