"Dave" == Dave Marquardt <Dave.Marquardt at Sun.COM> writes:
Dave> "Roger" == Roger <a_ver_est at yahoo.com> writes: Roger> I have done a truss to the process I can see the poll call: Roger> 7640/1: 0.0148 poll(0xFFFFFFFF7FFF0990, 1, 0) = 0 Dave> Have you tried "truss -v poll"? It may be that truss already knows Dave> how to interpret struct pollfd *. Hey, I just tried it on an xemacs process on S10 11/06: $ truss -v poll -p 16332 pollsys(0xFFBFE140, 4, 0xFFBFE208, 0x00000000) (sleeping...) fd=3 ev=POLLRDNORM rev=0 fd=7 ev=POLLRDNORM rev=0 fd=8 ev=POLLRDNORM rev=0 fd=9 ev=POLLRDNORM rev=POLLOUT timeout: 19.998941000 sec Hmm, that's pollsys, which is the system call that eventually gets called by the poll libc routine. Truss appears to parse struct pollfd for pollsys, at any rate. -- Dave Marquardt Sun Microsystems, Inc. Austin, TX +1 512 401-1077 (SUN internal: x64077)