shithub: riscv

ref: bf2dd0c6bdc79e4e0b048f0c9a19b8bfc09f59d3
dir: /rc/bin/inst/mainloop/

View raw version
#!/bin/rc

cd /bin/inst
. defs
fn sigint { }

coherence

# we run this while() here so that ctl-d won''t exit from us -- it''ll only exit main!
# main contains a while() loop too, to avoid the hit of 
# continually reexecing from here.

while()
	main