The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Name

SPVM::Sys::IO::DirStream - DIR structure in the C language.

Description

The Sys::IO::DirStream class in SPVM represents the DIR structure in the C language.

Usage

  use Sys::IO::DirStream;
  use Sys::IO;
  
  my $dir = "foo";
  
  # Sys::IO::DirStream
  my $dir_stream = Sys::IO->opendir($dir);

Details

This class is a pointer class. The pointer the instance has is set to a DIR object.

Fields

closed

has closed : ro byte;

The directory stream is closed.

Instance Methods

method DESTROY : void ();

The destructor.

Copyright & License

Copyright (c) 2023 Yuki Kimoto

MIT License