aboutsummaryrefslogtreecommitdiffstats
path: root/wince/signal.h
diff options
context:
space:
mode:
authoryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-10-04 13:48:20 +0000
committeryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-10-04 13:48:20 +0000
commita8c3540b32d7621c183627d7cc198f4b24798387 (patch)
tree602e5c4e6a866436cf999e994d4590df9c89fb2a /wince/signal.h
parent642e08187927b2debaa0d84a112123043f0f7912 (diff)
downloadruby-a8c3540b32d7621c183627d7cc198f4b24798387.tar.gz
* dln.c: Ruby no longer supports Windows CE.
* eval.c: ditto. * include/ruby/defines.h: ditto. * include/ruby/win32.h: ditto. * ruby.c: ditto. * strftime.c: ditto. * win32/Makefile.sub: ditto. * win32/win32.c: ditto. * ext/tk/extconf.rb: ditto. * lib/fileutils.rb: ditto. * test/fileutils/test_fileutils.rb: ditto. * wince/*: removed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'wince/signal.h')
-rw-r--r--wince/signal.h71
1 files changed, 0 insertions, 71 deletions
diff --git a/wince/signal.h b/wince/signal.h
deleted file mode 100644
index 95f857dd88..0000000000
--- a/wince/signal.h
+++ /dev/null
@@ -1,71 +0,0 @@
-#ifndef SIGNAL_H
-#define SIGNAL_H 1
-
-#include <sys/types.h>
-
-#define SIGHUP 1
-#define SIGINT 2
-#define SIGQUIT 3
-#define SIGILL 4
-#define SIGPIPE 5
-#define SIGFPE 8
-#define SIGUSR1 10
-#define SIGSEGV 11
-#define SIGUSR2 12
-#define SIGTERM 15
-#define SIGCHLD 17
-#define SIGTSTP 20
-#define SIGBREAK 21
-#define SIGABRT 22
-#define NSIG 22
-
-#define SA_NOCLDSTOP 1
-#define SA_SHIRQ 0x04000000
-#define SA_STACK 0x08000000
-#define SA_RESTART 0x10000000
-#define SA_INTERRUPT 0x20000000
-#define SA_NOMASK 0x40000000
-#define SA_ONESHOT 0x80000000
-
-/* signal action codes */
-
-#define SIG_DFL (void (*)(int))0 /* default signal action */
-#define SIG_IGN (void (*)(int))1 /* ignore signal */
-#define SIG_SGE (void (*)(int))3 /* signal gets error */
-#define SIG_ACK (void (*)(int))4 /* acknowledge */
-#define SIG_ERR (void (*)(int))-1 /* signal error value */
-
-#define SIG_BLOCK 0 /* for blocking signals */
-#define SIG_UNBLOCK 1 /* for unblocking signals */
-#define SIG_SETMASK 2 /* for setting the signal mask */
-
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-typedef void (* SIGHANDLER)(int);
-typedef void (* sighandler_t)(int);
-
-typedef int sig_atomic_t;
-typedef unsigned int sigset_t;
-
-struct sigaction{
- sighandler_t sa_handler;
- sigset_t sa_mask;
- unsigned long sa_flags;
- void (*sa_restorer)(void);
-};
-
-int raise(int sig);
-//#ifndef _WIN32_WCE_EMULATION
- void (* signal(int sig, void (__cdecl *func)(int)))(int);
-//#else
-// void (* signal(int sig, void (*func)));
-//#endif
-
-#ifdef __cplusplus
-};
-#endif
-
-#endif