BIO_new_fd function

  1. @RecordUse.new()
  2. @Native<Pointer<BIO> Function(Int, Int)>(ffi.Int, ffi.Int)>(symbol: 'bssl_dart_BIO_new_fd')
Pointer<BIO> BIO_new_fd(
  1. int fd,
  2. int close_flag
)

BIO_new_fd creates a new file descriptor BIO wrapping fd. If close_flag is non-zero, then fd will be closed when the BIO is.

Implementation

@meta.RecordUse()
@ffi.Native<ffi.Pointer<BIO> Function(ffi.Int, ffi.Int)>(
  symbol: 'bssl_dart_BIO_new_fd',
)
external ffi.Pointer<BIO> BIO_new_fd(
  int fd,
  int close_flag,
);