Name
SPVM::Sys::Time::Itimerval - struct itimerval in the C language
Usage
use Sys::Time::Itimerval;
my $tv = Sys::Time::Itimerval->new;
my $it_interval = $tv->it_interval;
$tv->set_it_interval(12);
my $it_value = $tv->it_value;
$tv->set_it_value(34);
Description
The Sys::Time::Itimerval class represents struct itimerval in the C language.
Class Methods
new
static method new : Sys::Time::Itimerval ();
Creates a new Sys::Time::Itimerval object.
Instance Methods
it_interval
method it_interval : Sys::Time::Timeval ();
Copies it_interval
and creates a Sys::Time::Timeval object whose pointer is set to the copied value address, and returns it.
set_it_interval
method set_it_interval : void ($it_interval : Sys::Time::Timeval);
Sets it_interval
.
it_value
method it_value : Sys::Time::Timeval ();
Copies it_value
and creates a Sys::Time::Timeval object whose pointer is set to the copied value address, and returns it.
set_it_value
method set_it_value : void ($it_value : Sys::Time::Timeval);
Sets it_value
.
Copyright & License
Copyright (c) 2023 Yuki Kimoto
MIT License