shithub: mc

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