diff options
author | Kim Alvefur <zash@zash.se> | 2021-05-20 23:18:29 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2021-05-20 23:18:29 +0200 |
commit | 15d7143bb3940911a175b1f311b92a4e88c3723f (patch) | |
tree | 42175ad9f546241b19034cd4f40fbe7febb5f196 /teal-src | |
parent | d3ea964495fcefea91821c3c7f06d910fe486f9a (diff) | |
download | prosody-15d7143bb3940911a175b1f311b92a4e88c3723f.tar.gz prosody-15d7143bb3940911a175b1f311b92a4e88c3723f.zip |
teal: Add type spec for util.signal
Diffstat (limited to 'teal-src')
-rw-r--r-- | teal-src/util/signal.d.tl | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/teal-src/util/signal.d.tl b/teal-src/util/signal.d.tl new file mode 100644 index 00000000..8610aa7f --- /dev/null +++ b/teal-src/util/signal.d.tl @@ -0,0 +1,41 @@ +local record lib + enum signal + "SIGABRT" + "SIGALRM" + "SIGBUS" + "SIGCHLD" + "SIGCLD" + "SIGCONT" + "SIGFPE" + "SIGHUP" + "SIGILL" + "SIGINT" + "SIGIO" + "SIGIOT" + "SIGKILL" + "SIGPIPE" + "SIGPOLL" + "SIGPROF" + "SIGQUIT" + "SIGSEGV" + "SIGSTKFLT" + "SIGSTOP" + "SIGSYS" + "SIGTERM" + "SIGTRAP" + "SIGTTIN" + "SIGTTOU" + "SIGURG" + "SIGUSR1" + "SIGUSR2" + "SIGVTALRM" + "SIGWINCH" + "SIGXCPU" + "SIGXFSZ" + end + signal : function (integer | signal, function, boolean) : boolean + raise : function (integer | signal) + kill : function (integer, integer | signal) + -- enum : integer +end +return lib |