On Nov 25, 2007, at 5:01 PM, Rich Morin wrote:

> At 11:39 -0500 11/25/07, Rayson Ho wrote:
>> You should be able to get the contents of siginfo_t from
>> /usr/include/sys/siginfo.h on Solaris, I believe OSX has
>> the corresponding header file.

Beginning at line 200 of "/usr/include/sys/signal.h":

typedef struct __siginfo {
     int si_signo;       /* signal number */
     int si_errno;       /* errno association */
     int si_code;        /* signal code */
     pid_t   si_pid;         /* sending process */
     uid_t   si_uid;         /* sender's ruid */
     int si_status;      /* exit value */
     void    *si_addr;       /* faulting instruction */
     union sigval si_value;      /* signal value */
     long    si_band;        /* band event for SIGPOLL */
     unsigned long   __pad[7];   /* Reserved for Future Use */
} siginfo_t;

>>
>
> Not as far as I can tell.  Both
>
>  % du -a /usr | grep siginfo
>
> and
>
>  % grep -qr siginfo /usr
>
> come up dry on Mac OS X 10.5.

But

% grep -r siginfo /usr

nails it:

/usr/include/sys/signal.h:typedef struct __siginfo {
/usr/include/sys/signal.h:} siginfo_t;


SCP
--
Steve Peters
[EMAIL PROTECTED]

_______________________________________________
dtrace-discuss mailing list
[email protected]

Reply via email to