shithub: mc

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