shithub: mc

ref: 0eae465b2ba82f8a0e49c869bddd37b85ec2e5ae
dir: /lib/sys/setup+posixy.myr/

View raw version
use "sys"

pkg sys =
;;

const __init__ = {
	var sa, osa

	/* is there ever a time we care about sigpipe? */
	sa = [
		.handler = ({;} : byte#),
		.flags = sys.Sarestart,
	]
	sys.sigaction(Sigpipe, &sa, &osa)
}