shithub: mc

ref: e1e17a5cc5a65c21dec6a77ea4147a58610497f2
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))
}