OPENSSL_calloc function

  1. @RecordUse.new()
  2. @Native<Pointer<Void> Function(Size, Size)>(ffi.Size, ffi.Size)>(symbol: 'bssl_dart_OPENSSL_calloc')
Pointer<Void> OPENSSL_calloc(
  1. int num,
  2. int size
)

OPENSSL_calloc is similar to a regular calloc, but allocates data with OPENSSL_malloc. On overflow, it will push ERR_R_OVERFLOW onto the error queue.

Implementation

@meta.RecordUse()
@ffi.Native<ffi.Pointer<ffi.Void> Function(ffi.Size, ffi.Size)>(
  symbol: 'bssl_dart_OPENSSL_calloc',
)
external ffi.Pointer<ffi.Void> OPENSSL_calloc(
  int num,
  int size,
);