Name
SPVM::Sys::IO::Flock - struct flock in C language
Usage
use Sys::IO::Flock;
my $flock = Sys::IO::Flock->new;
Description
Sys::IO::Flock
is the class for struct flock
in C language
.
This is a pointer class.
Class Methods
new
native static method new : Sys::IO::Flock ();
Create a new Sys::IO::Flock
object.
Instance Methods
DESTROY
native method DESTROY : void ();
The destructor.
l_type
native method l_type : int ();
Get l_type
.
set_l_type
native method set_l_type : void ($type : int);
Set l_type
.
l_whence
native method l_whence : int ();
Get l_whence
.
set_l_whence
native method set_l_whence : void ($whence : int);
Set l_whence
.
l_start
native method l_start : long ();
Get l_start
.
set_l_start
native method set_l_start : void ($start : long);
Set l_start
.
l_len
native method l_len : long ();
Get l_len
.
set_l_len
native method set_l_len : void ($len : long);
Set l_len
.
l_pid
native method l_pid : int ();
Get l_pid
.
set_l_pid
native method set_l_pid : void ($pid : int);
Set l_pid
.
Copyright & License
Copyright (c) 2023 Yuki Kimoto
MIT License