Software /
code /
prosody
File
teal-src/util/signal.d.tl @ 11604:7466bf65d7c8
mod_admin_shell: module:info: Use existing host string representation
Hosts have a metatable __tostring method that produces a nice
representation such as `VirtualHost "example.com"`, which even includes
the component module for internal components.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 12 Jun 2021 16:47:30 +0200 |
parent | 11579:ec4f0ec3c0d5 |
child | 12627:b8ce0f61855b |
line wrap: on
line source
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