Name

SPVM::Sys::Poll::Constant - Constant Values for The poll System Call

Description

Sys::Poll::Constant class in SPVM has methods to get constant values for the poll system call.

Usage

use Sys::Poll::Constant;

Class Methods

POLLERR

static method POLLERR : int ();

Gets the value of POLLERR. If the value is not defined in this system, an exception is thrown with eval_error_id 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 this system, an exception is thrown with eval_error_id 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 this system, an exception is thrown with eval_error_id 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 this system, an exception is thrown with eval_error_id 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 this system, an exception is thrown with eval_error_id 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 this system, an exception is thrown with eval_error_id 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 this system, an exception is thrown with eval_error_id 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 this system, an exception is thrown with eval_error_id 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 this system, an exception is thrown with eval_error_id 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 this system, an exception is thrown with eval_error_id set to the basic type ID of the Error::NotSupported class.

Copyright & License

Copyright (c) 2023 Yuki Kimoto

MIT License