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 - the class for the DIR type in C language.

Usage

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

Description

Sys::IO::DirStream is the class for the DIR type in C language.

This is a pointer class.

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