• source navigation  • diff markup  • identifier search  • freetext search  • file search  • Plain Style • 


Version: 2.6.8   2.6.16   2.6.25   2.6.30   2.6.34   2.6.35   2.6.39   3.0.26   3.2.20   3.4.9   3.10   3.12   3.13   3.17  

Architecture: i386   arm   mips   ppc   alpha   m68k   sparc   sparc64  

linux-3.13/include/asm-generic/siginfo.h


  1 #ifndef _ASM_GENERIC_SIGINFO_H
  2 #define _ASM_GENERIC_SIGINFO_H
  3 
  4 #include <uapi/asm-generic/siginfo.h>
  5 
  6 #define __SI_MASK       0xffff0000u
  7 #define __SI_KILL       (0 << 16)
  8 #define __SI_TIMER      (1 << 16)
  9 #define __SI_POLL       (2 << 16)
 10 #define __SI_FAULT      (3 << 16)
 11 #define __SI_CHLD       (4 << 16)
 12 #define __SI_RT         (5 << 16)
 13 #define __SI_MESGQ      (6 << 16)
 14 #define __SI_SYS        (7 << 16)
 15 #define __SI_CODE(T,N)  ((T) | ((N) & 0xffff))
 16 
 17 struct siginfo;
 18 void do_schedule_next_timer(struct siginfo *info);
 19 
 20 #ifndef HAVE_ARCH_COPY_SIGINFO
 21 
 22 #include <linux/string.h>
 23 
 24 static inline void copy_siginfo(struct siginfo *to, struct siginfo *from)
 25 {
 26         if (from->si_code < 0)
 27                 memcpy(to, from, sizeof(*to));
 28         else
 29                 /* _sigchld is currently the largest know union member */
 30                 memcpy(to, from, __ARCH_SI_PREAMBLE_SIZE + sizeof(from->_sifields._sigchld));
 31 }
 32 
 33 #endif
 34 
 35 extern int copy_siginfo_to_user(struct siginfo __user *to, const struct siginfo *from);
 36 
 37 #endif
 38 

• Source Navigation(导航页) • Identifier Search(变量、结构、函数搜索) • Freetext Search(任意字符串搜索) • File Search(文件搜索) • Plain Style(无高亮,速度快)

This page was automatically generated by LXR.  •  Linux is a registered trademark of Linus Torvalds