Annotate

teal-src/util/signal.d.tl @ 12701:8e402a2ae1b8

util.jwt: Overhaul of tests to use declarative approach Now we can consistently apply the same tests to every algorithm, instead of duplicating code.
author Matthew Wild <mwild1@gmail.com>
date Sat, 02 Jul 2022 14:22:20 +0100
parent 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
12627
b8ce0f61855b util.signal: Fix name conflict in Teal interface declaration
Kim Alvefur <zash@zash.se>
parents: 11579
diff changeset
2 enum Signal
11579
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
12627
b8ce0f61855b util.signal: Fix name conflict in Teal interface declaration
Kim Alvefur <zash@zash.se>
parents: 11579
diff changeset
36 signal : function (integer | Signal, function, boolean) : boolean
b8ce0f61855b util.signal: Fix name conflict in Teal interface declaration
Kim Alvefur <zash@zash.se>
parents: 11579
diff changeset
37 raise : function (integer | Signal)
b8ce0f61855b util.signal: Fix name conflict in Teal interface declaration
Kim Alvefur <zash@zash.se>
parents: 11579
diff changeset
38 kill : function (integer, integer | Signal)
11579
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