From owner-freebsd-emulation Thu Jan 16 18:28:55 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id SAA04056 for emulation-outgoing; Thu, 16 Jan 1997 18:28:55 -0800 (PST) Received: from cactus.fi.uba.ar (cactus.fi.uba.ar [157.92.49.108]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id SAA04036; Thu, 16 Jan 1997 18:28:46 -0800 (PST) Received: (from msagre@localhost) by cactus.fi.uba.ar (8.8.2/8.6.12) id XAA17029; Thu, 16 Jan 1997 23:27:27 -0300 (ARST) Date: Thu, 16 Jan 1997 23:27:27 -0300 (ARST) From: Miguel Angel Sagreras To: Zahemszky Gabor cc: FreeBSD questions , emulation@freebsd.org Subject: Re: Poll system call ... In-Reply-To: <199701161318.OAA00323@CoDe.hu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-emulation@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Thu, 16 Jan 1997, Zahemszky Gabor wrote: > > > > 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? > It's SVR4-emulator running on NteBSD. > 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: BSD has no poll system call. But many BSD* has poll to do it simil SVR4. NetBSD has sys_generic.c on sys/kern with a function sys_poll. > > And I think, if it's an SVR4-emulator on NetBSD, they (the NBSD team) made > such emulation of poll, with select. > No, they implement it, the sys call number is 209 in the kernel syscall.master > Bye, Gabor > Miguel Angel