Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

Created October 12, 2011 20:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/ef8293fd25249a224519 to your computer and use it in GitHub Desktop.
Save anonymous/ef8293fd25249a224519 to your computer and use it in GitHub Desktop.
> ::print -at siginfo_t
0 siginfo_t {
0 int si_signo
4 int si_code
8 int si_errno
c int si_pad
10 union __data {
10 int [60] __pad
10 struct __proc {
10 pid_t __pid
18 union __pdata {
18 struct __kill {
18 uid_t __uid
20 union sigval __value {
20 int sival_int
20 void *sival_ptr
}
}
18 struct __cld {
18 clock_t __utime
20 int __status
28 clock_t __stime
}
}
30 ctid_t __ctid
34 zoneid_t __zoneid
}
10 struct __fault {
10 void *__addr
18 int __trapno
20 caddr_t __pc
}
10 struct __file {
10 int __fd
18 long __band
}
10 struct __prof {
10 caddr_t __faddr
18 timestruc_t __tstamp {
18 time_t tv_sec
20 long tv_nsec
}
28 short __syscall
2a char __nsysarg
2b char __fault
30 long [8] __sysarg
70 int [10] __mstate
}
10 struct __rctl {
10 int32_t __entity
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment