Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 May 1996 15:18:49 -0700 (MST)
From:      Terry Lambert <terry@lambert.org>
To:        kaleb@x.org (Kaleb S. KEITHLEY)
Cc:        terry@lambert.org, joerg_wunsch@uriah.heep.sax.de, chat@freebsd.org
Subject:   Re: Forgiving select() call.
Message-ID:  <199605282218.PAA11952@phaeton.artisoft.com>
In-Reply-To: <199605282135.RAA19989@exalt.x.org> from "Kaleb S. KEITHLEY" at May 28, 96 05:35:53 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> > 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605282218.PAA11952>