Name

SPVM::Sys::Time::Utimbuf - struct utimbuf in the C language

Description

The Sys::Time::Utimbuf of SPVM represents the struct utimbuf in the C language.

Usage

use Sys::Time::Utimbuf;

my $utimbuf = Sys::Time::Utimbuf->new;

my $actime = $utimbuf->actime;
my $modtime = $utimbuf->modtime;

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

Details

This is a pointer class. The pointer of the instance is set to a struct utimbuf object.

Class Methods

new

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

Create a new Sys::Time::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