Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
__signal.h
Package: mysql-3.23.35.tar.gz [view]
Upload User: tsgydb
Upload Date: 2007-04-14
Package Size: 10674k
Code Size: 3k
Category:
MySQL
Development Platform:
Visual C++
- #include <ansi_compat.h>
- #define NSIG 32
- #define SIGHUP 1 /* hangup */
- #define SIGINT 2 /* interrupt */
- #define SIGQUIT 3 /* quit */
- #define SIGILL 4 /* illegal instruction (not reset when caught) */
- #define SIGTRAP 5 /* trace trap (not reset when caught) */
- #define SIGIOT 6 /* IOT instruction */
- #define SIGEMT 7 /* EMT instruction */
- #define SIGFPE 8 /* floating point exception */
- #define SIGKILL 9 /* kill (cannot be caught or ignored) */
- #define SIGBUS 10 /* bus error */
- #define SIGSEGV 11 /* segmentation violation */
- #define SIGSYS 12 /* bad argument to system call */
- #define SIGPIPE 13 /* write on a pipe with no one to read it */
- #define SIGALRM 14 /* alarm clock */
- #define SIGTERM 15 /* software termination signal from kill */
- #define SIGURG 16 /* urgent condition on IO channel */
- #define SIGSTOP 17 /* sendable stop signal not from tty */
- #define SIGTSTP 18 /* stop signal from tty */
- #define SIGCONT 19 /* continue a stopped process */
- #define SIGCHLD 20 /* to parent on child stop or exit */
- #define SIGTTIN 21 /* to readers pgrp upon background tty read */
- #define SIGTTOU 22 /* like TTIN for output if (tp->t_local<OSTOP) */
- #define SIGIO 23 /* input/output possible signal */
- #define SIGXCPU 24 /* exceeded CPU time limit */
- #define SIGXFSZ 25 /* exceeded file size limit */
- #define SIGVTALRM 26 /* virtual time alarm */
- #define SIGPROF 27 /* profiling time alarm */
- #define SIGWINCH 28 /* window size changes */
- #define SIGLOST 29 /* Sys-V rec lock: notify user upon server crash */
- #define SIGUSR1 30 /* User signal 1 (from SysV) */
- #define SIGUSR2 31 /* User signal 2 (from SysV) */
- /* Add System V signal definitions (DLB001) */
- #define SIGCLD SIGCHLD /* System V name for SIGCHLD */
- #define SIGABRT SIGIOT
- typedef long sig_atomic_t;
- typedef unsigned int sigset_t;
- struct sigaction {
- void (*sa_handler)(); /* signal handler */
- sigset_t sa_mask; /* signal mask to apply */
- int sa_flags; /* see signal options below */
- };
- /* Defines for sigprocmask() call. POSIX.
- */
- #define SIG_BLOCK 1 /* Add these signals to block mask */
- #define SIG_UNBLOCK 2 /* Remove these signals from block mask */
- #define SIG_SETMASK 3 /* Set block mask to this mask */
- #define SIG_ERR ((void (*)())(-1))
- #define SIG_DFL ((void (*)())( 0))
- #define SIG_IGN ((void (*)())( 1))
- #define __SIGFILLSET 0xffffffff
- #define __SIGEMPTYSET 0
- #define __SIGADDSET(s,n) ((*s) |= (1 << ((n) - 1)))
- #define __SIGDELSET(s,n) ((*s) &= ~(1 << ((n) - 1)))
- #define __SIGISMEMBER(s,n) ((*s) & (1 << ((n) - 1)))