File

teal-src/util/signal.d.tl @ 11652:887d7b15e21b

util.prosodyctl.check: Warn if both use_ipv4 and use_ipv6 are set to false Why would you do this?!
author Kim Alvefur <zash@zash.se>
date Sun, 04 Jul 2021 01:29:47 +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