funopen method

Pointer<FILE> funopen(
  1. Pointer<Void> arg0,
  2. Pointer<NativeFunction<Int Function(Pointer<Void>, Pointer<Char>, Int)>> arg1,
  3. Pointer<NativeFunction<Int Function(Pointer<Void>, Pointer<Char>, Int)>> arg2,
  4. Pointer<NativeFunction<fpos_t Function(Pointer<Void>, fpos_t, Int)>> arg3,
  5. Pointer<NativeFunction<Int Function(Pointer<Void>)>> arg4,
)

Stdio function-access interface.

Implementation

ffi.Pointer<FILE> funopen(
  ffi.Pointer<ffi.Void> arg0,
  ffi.Pointer<
          ffi.NativeFunction<
              ffi.Int Function(
                  ffi.Pointer<ffi.Void>, ffi.Pointer<ffi.Char>, ffi.Int)>>
      arg1,
  ffi.Pointer<
          ffi.NativeFunction<
              ffi.Int Function(
                  ffi.Pointer<ffi.Void>, ffi.Pointer<ffi.Char>, ffi.Int)>>
      arg2,
  ffi.Pointer<
          ffi.NativeFunction<
              fpos_t Function(ffi.Pointer<ffi.Void>, fpos_t, ffi.Int)>>
      arg3,
  ffi.Pointer<ffi.NativeFunction<ffi.Int Function(ffi.Pointer<ffi.Void>)>>
      arg4,
) {
  return _funopen(
    arg0,
    arg1,
    arg2,
    arg3,
    arg4,
  );
}