$allocate static method

Pointer<netent> $allocate(
  1. Allocator $allocator, {
  2. required Pointer<Char> n_name,
  3. required Pointer<Pointer<Char>> n_aliases,
  4. required int n_addrtype,
  5. required int n_net,
})

Implementation

static ffi.Pointer<netent> $allocate(
ffi.Allocator $allocator, {
required ffi.Pointer<ffi.Char> n_name,
required ffi.Pointer<ffi.Pointer<ffi.Char>> n_aliases,
required int n_addrtype,
required int n_net,
}) => $allocator<netent>()
..ref.n_name = n_name
..ref.n_aliases = n_aliases
..ref.n_addrtype = n_addrtype
..ref.n_net = n_net;