shithub: mc

ref: 5a95abf7cc557ebccb3aa80c8ce9679eb82dcaa1
dir: /lib/std/sleep.myr/

View raw version
use "syswrap-ss"
use "types"

pkg std =
	const usleep	: (tm : time -> void)
;;

const usleep = {tm
	nanosleep((tm * 1000 : uint64))
}