$allocate static method

Pointer<linger> $allocate(
  1. Allocator $allocator, {
  2. required int l_onoff,
  3. required int l_linger,
})

Implementation

static ffi.Pointer<linger> $allocate(
ffi.Allocator $allocator, {
required int l_onoff,
required int l_linger,
}) => $allocator<linger>()
..ref.l_onoff = l_onoff
..ref.l_linger = l_linger;