$allocate static method

Pointer<protoent> $allocate(
  1. Allocator $allocator, {
  2. required Pointer<Char> p_name,
  3. required Pointer<Pointer<Char>> p_aliases,
  4. required int p_proto,
})

Implementation

static ffi.Pointer<protoent> $allocate(
ffi.Allocator $allocator, {
required ffi.Pointer<ffi.Char> p_name,
required ffi.Pointer<ffi.Pointer<ffi.Char>> p_aliases,
required int p_proto,
}) => $allocator<protoent>()
..ref.p_name = p_name
..ref.p_aliases = p_aliases
..ref.p_proto = p_proto;