base-compat-0.12.0: A compatibility layer for base
Safe HaskellSafe-Inferred
LanguageHaskell2010

Foreign.Marshal.Alloc.Compat

Synopsis

Documentation

calloc :: Storable a => IO (Ptr a) #

Like malloc but memory is filled with bytes of value zero.

callocBytes :: Int -> IO (Ptr a) #

Llike mallocBytes but memory is filled with bytes of value zero.