Name

SPVM::Sys::Poll::Constant - Constant values for Poll.

Usage

use Sys::Poll::Constant as Poll;

my $o_trunc = Poll->O_TRUNC;

Description

Sys::Poll::Constant is the class for the constant values for the poll function.

Class Methods

POLLERR

static method POLLERR : int ();

Gets the value of POLLERR. If the value is not defined in the system, an exception is thrown with the error code set to the basic type ID of the Error::NotSupported class.

POLLHUP

static method POLLHUP : int ();

Gets the value of POLLHUP. If the value is not defined in the system, an exception is thrown with the error code set to the basic type ID of the Error::NotSupported class.

POLLIN

static method POLLIN : int ();

Gets the value of POLLIN. If the value is not defined in the system, an exception is thrown with the error code set to the basic type ID of the Error::NotSupported class.

POLLNVAL

static method POLLNVAL : int ();

Gets the value of POLLNVAL. If the value is not defined in the system, an exception is thrown with the error code set to the basic type ID of the Error::NotSupported class.

POLLOUT

static method POLLOUT : int ();

Gets the value of POLLOUT. If the value is not defined in the system, an exception is thrown with the error code set to the basic type ID of the Error::NotSupported class.

POLLPRI

static method POLLPRI : int ();

Gets the value of POLLPRI. If the value is not defined in the system, an exception is thrown with the error code set to the basic type ID of the Error::NotSupported class.

POLLRDBAND

static method POLLRDBAND : int ();

Gets the value of POLLRDBAND. If the value is not defined in the system, an exception is thrown with the error code set to the basic type ID of the Error::NotSupported class.

POLLRDNORM

static method POLLRDNORM : int ();

Gets the value of POLLRDNORM. If the value is not defined in the system, an exception is thrown with the error code set to the basic type ID of the Error::NotSupported class.

POLLWRBAND

static method POLLWRBAND : int ();

Gets the value of POLLWRBAND. If the value is not defined in the system, an exception is thrown with the error code set to the basic type ID of the Error::NotSupported class.

POLLWRNORM

static method POLLWRNORM : int ();

Gets the value of POLLWRNORM. If the value is not defined in the system, an exception is thrown with the error code set to the basic type ID of the Error::NotSupported class.

Copyright & License

Copyright (c) 2023 Yuki Kimoto

MIT License