Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
siginfo.h File Reference
#include <uapi/asm-generic/siginfo.h>
#include <linux/string.h>

Go to the source code of this file.

Macros

#define __SI_MASK   0xffff0000u
 
#define __SI_KILL   (0 << 16)
 
#define __SI_TIMER   (1 << 16)
 
#define __SI_POLL   (2 << 16)
 
#define __SI_FAULT   (3 << 16)
 
#define __SI_CHLD   (4 << 16)
 
#define __SI_RT   (5 << 16)
 
#define __SI_MESGQ   (6 << 16)
 
#define __SI_SYS   (7 << 16)
 
#define __SI_CODE(T, N)   ((T) | ((N) & 0xffff))
 

Functions

void do_schedule_next_timer (struct siginfo *info)
 
int copy_siginfo_to_user (struct siginfo __user *to, struct siginfo *from)
 

Macro Definition Documentation

#define __SI_CHLD   (4 << 16)

Definition at line 11 of file siginfo.h.

#define __SI_CODE (   T,
  N 
)    ((T) | ((N) & 0xffff))

Definition at line 15 of file siginfo.h.

#define __SI_FAULT   (3 << 16)

Definition at line 10 of file siginfo.h.

#define __SI_KILL   (0 << 16)

Definition at line 7 of file siginfo.h.

#define __SI_MASK   0xffff0000u

Definition at line 6 of file siginfo.h.

#define __SI_MESGQ   (6 << 16)

Definition at line 13 of file siginfo.h.

#define __SI_POLL   (2 << 16)

Definition at line 9 of file siginfo.h.

#define __SI_RT   (5 << 16)

Definition at line 12 of file siginfo.h.

#define __SI_SYS   (7 << 16)

Definition at line 14 of file siginfo.h.

#define __SI_TIMER   (1 << 16)

Definition at line 8 of file siginfo.h.

Function Documentation

int copy_siginfo_to_user ( struct siginfo __user to,
struct siginfo from 
)

Definition at line 116 of file signal.c.

void do_schedule_next_timer ( struct siginfo info)

Definition at line 319 of file posix-timers.c.