File

teal-src/util/signal.d.tl @ 12826:944c7f0f1a9e

Merge 0.12->trunk
author Kim Alvefur <zash@zash.se>
date Thu, 29 Dec 2022 18:36:38 +0100
parent 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