From owner-freebsd-chat Tue May 28 15:25:48 1996 Return-Path: owner-chat Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA08785 for chat-outgoing; Tue, 28 May 1996 15:25:48 -0700 (PDT) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id PAA08774 for ; Tue, 28 May 1996 15:25:45 -0700 (PDT) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id PAA11952; Tue, 28 May 1996 15:18:49 -0700 From: Terry Lambert Message-Id: <199605282218.PAA11952@phaeton.artisoft.com> Subject: Re: Forgiving select() call. To: kaleb@x.org (Kaleb S. KEITHLEY) Date: Tue, 28 May 1996 15:18:49 -0700 (MST) Cc: terry@lambert.org, joerg_wunsch@uriah.heep.sax.de, chat@freebsd.org In-Reply-To: <199605282135.RAA19989@exalt.x.org> from "Kaleb S. KEITHLEY" at May 28, 96 05:35:53 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-chat@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > I have a hard time believing this, since SunOS 4.x doesn't *have* a > > poll for static 4.x libc stubs linked into the program to call. > > I dunno what you're looking at. SunOS 4.1.3 has poll in libc.a and a > trivial program, statically linked on SunOS works fine on both SunOS > and Solaris, and trussing it on Solaris shows it calling poll. Ditto > for a program calling select. On my 4.1.3_U1 box: % grep select /usr/include/syscall.h #define SYS_select 93 % Looks like a system call to me. > C'mon. I don't want to know what it's probably doing. What does trussing > it on 2.3 show it doing? I've got static SunOS binaries that use select() > and syscall(SYS_select, ...) and truss shows them calling poll. Truss is wrong. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.