teal-src/util/signal.d.tl
author Kim Alvefur <zash@zash.se>
Mon, 01 Nov 2021 17:59:46 +0100
changeset 11886 c3bd71227e17
parent 11583 ec4f0ec3c0d5
child 12631 b8ce0f61855b
permissions -rw-r--r--
mod_pubsub: Return proper errors for disco queries on nodes Previously this would return item-not-found, even when you could see the node in disco#items.

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