MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / laction

Function laction

deps/lua/src/lua.c:35–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33
34
35static void laction (int i) {
36 signal(i, SIG_DFL); /* if another SIGINT happens before lstop,
37 terminate process (default action) */
38 lua_sethook(globalL, lstop, LUA_MASKCALL | LUA_MASKRET | LUA_MASKCOUNT, 1);
39}
40
41
42static void print_usage (void) {

Callers

nothing calls this directly

Calls 1

lua_sethookFunction · 0.85

Tested by

no test coverage detected