freopen method

Pointer<FILE> freopen(
  1. Pointer<Char> __filename,
  2. Pointer<Char> __modes,
  3. Pointer<FILE> __stream
)

Implementation

ffi.Pointer<FILE> freopen(
  ffi.Pointer<ffi.Char> __filename,
  ffi.Pointer<ffi.Char> __modes,
  ffi.Pointer<FILE> __stream,
) {
  return _freopen(
    __filename,
    __modes,
    __stream,
  );
}