-- See LICENSE file for copyright and license details.local l = require "luxio"functionhandler()returnend
l.sigaction(l.SIGINT, {["sa_handler"] = handler})
s = l.newsigset()
l.sigfillset(s)
l.sigdelset(s, l.SIGINT)print("Press CTRL-C...")
l.sigsuspend(s)print("PASS")