ref: e1967b76c1fdf21a0b8f27b608d43b5b6b3366bc
dir: /lib/std/slcp.myr/
use "die"
use "types"
use "memops"
pkg std =
generic slcp : (a : @a[:], b : @a[:] -> void)
;;
generic slcp = {a : @a[:], b : @a[:]
iassert(a.len == b.len, "arguments to slcp() must be of equal length\n")
memblit(a castto(byte#), b castto(byte#), a.len * sizeof(@a))
}