shithub: mc

ref: 6c0e6856de4a72b7d6ab99a184d213b18a3dea14
dir: /lib/std/clear.myr/

View raw version
use "memops"

pkg std =
	generic clear	: (p : @a#	-> void)
;;

generic clear = {p : @a#
	memfill((p : byte#), 0, sizeof(@a))
}