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 ();
Get the constant value of POLLERR
. If the system doesn't define this constant, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
POLLHUP
static method POLLHUP : int ();
Get the constant value of POLLHUP
. If the system doesn't define this constant, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
POLLIN
static method POLLIN : int ();
Get the constant value of POLLIN
. If the system doesn't define this constant, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
POLLNVAL
static method POLLNVAL : int ();
Get the constant value of POLLNVAL
. If the system doesn't define this constant, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
POLLOUT
static method POLLOUT : int ();
Get the constant value of POLLOUT
. If the system doesn't define this constant, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
POLLPRI
static method POLLPRI : int ();
Get the constant value of POLLPRI
. If the system doesn't define this constant, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
POLLRDBAND
static method POLLRDBAND : int ();
Get the constant value of POLLRDBAND
. If the system doesn't define this constant, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
POLLRDNORM
static method POLLRDNORM : int ();
Get the constant value of POLLRDNORM
. If the system doesn't define this constant, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
POLLWRBAND
static method POLLWRBAND : int ();
Get the constant value of POLLWRBAND
. If the system doesn't define this constant, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
POLLWRNORM
static method POLLWRNORM : int ();
Get the constant value of POLLWRNORM
. If the system doesn't define this constant, an exception will be thrown. The error code is set to the class id of the Error::NotSupported class.
Copyright & License
Copyright (c) 2023 Yuki Kimoto
MIT License