The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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 : short ();

Get l_type.

set_l_type

  native method set_l_type : void ($type : short);

Set l_type.

l_whence

  native method l_whence : short ();

Get l_whence.

set_l_whence

  native method set_l_whence : void ($whence : short);

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 2022-2022 Yuki Kimoto, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.