The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Name

SPVM::Sys::IO::FileStream - the class for the FILE type in C language.

Usage

  use Sys::IO::FileStream;
  use Sys::IO;
  
  my $file = "foo.txt";
  
  # Sys::IO::FileStream
  my $file_stream = Sys::IO->fopen($file, "rb");

Description

Sys::IO::FileStream is the class for the FILE type in C language.

This is a pointer class.

Fields

closed

  has closed : ro byte;

The file stream is closed.

no_need_free

  has no_need_free : ro byte;

The file stream is not needed to be freed.

Instance Methods

  method DESTROY : void ();

The destructor.

Copyright & License

Copyright 2022-2022 Yuki Kimoto, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.