Annotate

teal-src/util/signal.d.tl @ 11579:ec4f0ec3c0d5

teal: Add type spec for util.signal
author Kim Alvefur <zash@zash.se>
date Thu, 20 May 2021 23:18:29 +0200
child 12627:b8ce0f61855b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11579
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1 local record lib
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
2 enum signal
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
3 "SIGABRT"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
4 "SIGALRM"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
5 "SIGBUS"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
6 "SIGCHLD"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
7 "SIGCLD"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
8 "SIGCONT"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
9 "SIGFPE"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
10 "SIGHUP"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
11 "SIGILL"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
12 "SIGINT"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
13 "SIGIO"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
14 "SIGIOT"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
15 "SIGKILL"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
16 "SIGPIPE"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
17 "SIGPOLL"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
18 "SIGPROF"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
19 "SIGQUIT"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
20 "SIGSEGV"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
21 "SIGSTKFLT"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
22 "SIGSTOP"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
23 "SIGSYS"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
24 "SIGTERM"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
25 "SIGTRAP"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
26 "SIGTTIN"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
27 "SIGTTOU"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
28 "SIGURG"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
29 "SIGUSR1"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
30 "SIGUSR2"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
31 "SIGVTALRM"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
32 "SIGWINCH"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
33 "SIGXCPU"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
34 "SIGXFSZ"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
35 end
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
36 signal : function (integer | signal, function, boolean) : boolean
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
37 raise : function (integer | signal)
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
38 kill : function (integer, integer | signal)
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
39 -- enum : integer
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
40 end
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
41 return lib