EDK2 doxygen online documents - Firmware Encoding Index 1
EDK2 doxygen online documents - Firmware Encoding Index

StdLib/Include/signal.h

Go to the documentation of this file.
00001 
00024 #ifndef _SIGNAL_H
00025 #define _SIGNAL_H
00026 #include  <sys/EfiCdefs.h>
00027 #include  <sys/signal.h>
00028 
00029 /*  The type sig_atomic_t is the (possibly volatile-qualified) integer type of
00030     an object that can be accessed as an atomic entity, even in the presence
00031     of asynchronous interrupts.
00032 
00033     This, possibly machine specific, type is defined in <machine/signal.h>.
00034 */
00035 
00042 #define SIG_IGN   ((__sighandler_t *) 0)
00043 #define SIG_DFL   ((__sighandler_t *) 1)
00044 #define SIG_ERR   ((__sighandler_t *) 3)
00045 
00053 #define SIGINT     __SigInt     ///< receipt of an interactive attention signal
00054 #define SIGILL     __SigIll     ///< detection of an invalid function image, such as an invalid instruction
00055 #define SIGABRT    __SigAbrt    ///< abnormal termination, such as is initiated by the abort function
00056 #define SIGFPE     __SigFpe     ///< an erroneous arithmetic operation, such as zero divide or an operation resulting in overflow
00057 #define SIGSEGV    __SigSegv    ///< an invalid access to storage
00058 #define SIGTERM    __SigTerm    ///< a termination request sent to the program
00059 #define SIGBREAK   __SigBreak   ///< added for Python
00060 #define SIGALRM    __SigAlrm    ///< Added for Posix timer functions
00061 #define SIGVTALRM  __SigVtAlrm  ///< Added for Posix timer functions
00062 #define SIGPROF    __SigProf    ///< Added for Posix timer functions
00063 #define SIGUSR1    __SigUsr1    ///< Added for Posix timer functions
00064 #define SIGUSR2    __SigUsr2    ///< Added for Posix timer functions
00065 #define SIGWINCH   __SigWinch   ///< Added for Posix timer functions
00066 #define SIGPIPE    __SigPipe    ///< Added for Posix timer functions
00067 #define SIGQUIT    __SigQuit    ///< Added for Posix timer functions
00068 #define SIG_LAST   __Sig_Last   ///< One more than the largest signal number
00069 
00071 __BEGIN_DECLS
00072 
00082 int raise(int sig);
00083 
00084 __END_DECLS
00085 
00086 #endif  /* _SIGNAL_H */
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Defines