OPENSSL_memdup function
OPENSSL_memdup returns an allocated, duplicate of |size| bytes from |data| or NULL on allocation failure. The memory allocated must be freed with |OPENSSL_free|.
Implementation
@meta.RecordUse()
@ffi.Native<ffi.Pointer<ffi.Void> Function(ffi.Pointer<ffi.Void>, ffi.Size)>(
symbol: 'bssl_dart_OPENSSL_memdup',
)
external ffi.Pointer<ffi.Void> OPENSSL_memdup(
ffi.Pointer<ffi.Void> data,
int size,
);