| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
Raehik.Compat.GHC.Exts.GHC908MemcpyPrimops
Documentation
copyAddrToAddrNonOverlapping# :: Addr# -> Addr# -> Int# -> State# RealWorld -> State# RealWorld #
copies copyAddrToAddrNonOverlapping# src dest lenlen bytes
from src to dest. As the name suggests, these two memory ranges
must not overlap, although this pre-condition is not checked.
Analogous to the standard C function memcpy, but with a different
argument order.
Warning: this can fail with an unchecked exception.
Since: ghc-prim-0.11.0
setAddrRange# :: Addr# -> Int# -> Int# -> State# RealWorld -> State# RealWorld #
sets all of the bytes in
setAddrRange# dest len c[dest, dest+len) to the value c.
Analogous to the standard C function memset, but with a different
argument order.
Warning: this can fail with an unchecked exception.
Since: ghc-prim-0.11.0