]> gitweb.factorcode.org Git - factor.git/commitdiff
unix.ffi: add signal constants
authorJoe Groff <arcata@gmail.com>
Fri, 4 Nov 2011 07:24:18 +0000 (00:24 -0700)
committerJoe Groff <arcata@gmail.com>
Fri, 4 Nov 2011 07:24:18 +0000 (00:24 -0700)
basis/unix/ffi/linux/linux.factor
basis/unix/ffi/macosx/macosx.factor

index 437280e8190a9a0258df182c9a83a219fa9f58d9..ef00c233cebc001424b166ea02d0163cbfbd1d0b 100644 (file)
@@ -235,3 +235,38 @@ CONSTANT: EKEYREVOKED 128
 CONSTANT: EKEYREJECTED 129
 CONSTANT: EOWNERDEAD 130
 CONSTANT: ENOTRECOVERABLE 131
+
+CONSTANT: SIGHUP           1
+CONSTANT: SIGINT           2
+CONSTANT: SIGQUIT          3
+CONSTANT: SIGILL           4
+CONSTANT: SIGTRAP          5
+CONSTANT: SIGABRT          6
+CONSTANT: SIGIOT           6
+CONSTANT: SIGBUS           7
+CONSTANT: SIGFPE           8
+CONSTANT: SIGKILL          9
+CONSTANT: SIGUSR1         10
+CONSTANT: SIGSEGV         11
+CONSTANT: SIGUSR2         12
+CONSTANT: SIGPIPE         13
+CONSTANT: SIGALRM         14
+CONSTANT: SIGTERM         15
+CONSTANT: SIGSTKFLT       16
+ALIAS:    SIGCLD          SIGCHLD
+CONSTANT: SIGCHLD         17
+CONSTANT: SIGCONT         18
+CONSTANT: SIGSTOP         19
+CONSTANT: SIGTSTP         20
+CONSTANT: SIGTTIN         21
+CONSTANT: SIGTTOU         22
+CONSTANT: SIGURG          23
+CONSTANT: SIGXCPU         24
+CONSTANT: SIGXFSZ         25
+CONSTANT: SIGVTALRM       26
+CONSTANT: SIGPROF         27
+CONSTANT: SIGWINCH        28
+CONSTANT: SIGIO           29
+ALIAS:    SIGPOLL         SIGIO
+CONSTANT: SIGPWR          30
+CONSTANT: SIGSYS          31
index 7c7c6d1430c49f42165e4adb6504e68a0429b6cb..5d7643c6dbc3ed75c77e528a4fd632201fedec9d 100644 (file)
@@ -227,3 +227,35 @@ CONSTANT: EPROTO 100
 CONSTANT: ETIME 101
 CONSTANT: EOPNOTSUPP 102
 CONSTANT: ENOPOLICY 103
+
+CONSTANT: SIGHUP     1
+CONSTANT: SIGINT     2
+CONSTANT: SIGQUIT    3
+CONSTANT: SIGILL     4
+CONSTANT: SIGTRAP    5
+CONSTANT: SIGABRT    6
+CONSTANT: SIGEMT     7
+CONSTANT: SIGFPE     8
+CONSTANT: SIGKILL    9
+CONSTANT: SIGBUS    10
+CONSTANT: SIGSEGV   11
+CONSTANT: SIGSYS    12
+CONSTANT: SIGPIPE   13
+CONSTANT: SIGALRM   14
+CONSTANT: SIGTERM   15
+CONSTANT: SIGURG    16
+CONSTANT: SIGSTOP   17
+CONSTANT: SIGTSTP   18
+CONSTANT: SIGCONT   19
+CONSTANT: SIGCHLD   20
+CONSTANT: SIGTTIN   21
+CONSTANT: SIGTTOU   22
+CONSTANT: SIGIO     23
+CONSTANT: SIGXCPU   24
+CONSTANT: SIGXFSZ   25
+CONSTANT: SIGVTALRM 26
+CONSTANT: SIGPROF   27
+CONSTANT: SIGWINCH  28
+CONSTANT: SIGINFO   29
+CONSTANT: SIGUSR1   30
+CONSTANT: SIGUSR2   31