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::Utimbuf - struct utimbuf in C language

Usage

  use Sys::IO::Utimbuf;
  
  my $utimbuf = Sys::IO::Utimbuf->new;
  
  my $actime = $utimbuf->actime;
  my $modtime = $utimbuf->modtime;

  $utimbuf->set_actime($actime);
  $utimbuf->set_modtime($modtime);

Description

Sys::IO::Utimbuf is the class for the struct utimbuf in C language.

This is a pointer class.

Class Methods

new

  static method new : Sys::IO::Utimbuf ();

Create a new Sys::IO::Utimbuf object.

Instance Methods

DESTROY

  method DESTROY : void ();

The destructor.

actime

  method actime : long ();

Get actime.

set_actime

  method set_actime : long ($actime : long);

Set actime.

modtime

  method modtime : long ();

Get modtime.

set_modtime

  method set_modtime : long ($modtime : long);

Set modtime.

Copyright & License

Copyright (c) 2023 Yuki Kimoto

MIT License