| 1 | package SPVM::Sys::Poll::Constant; | ||
| 2 | |||
| 3 | 1; | ||
| 4 | |||
| 5 | =head1 Name | ||
| 6 | |||
| 7 | SPVM::Sys::Poll::Constant - Constant Values for The poll System Call | ||
| 8 | |||
| 9 | =head1 Description | ||
| 10 | |||
| 11 | Sys::Poll::Constant class in L<SPVM> has methods to get constant values for the poll system call. | ||
| 12 | |||
| 13 | =head1 Usage | ||
| 14 | |||
| 15 | use Sys::Poll::Constant; | ||
| 16 | |||
| 17 | =head1 Class Methods | ||
| 18 | |||
| 19 | =head2 POLLERR | ||
| 20 | |||
| 21 | C<static method POLLERR : int ();> | ||
| 22 | |||
| 23 | Gets the value of C<POLLERR>. If the value is not defined in this system, an L<Error::NotSupported|SPVM::Error::NotSupported> exception is thrown. | ||
| 24 | |||
| 25 | =head2 POLLHUP | ||
| 26 | |||
| 27 | C<static method POLLHUP : int ();> | ||
| 28 | |||
| 29 | Gets the value of C<POLLHUP>. If the value is not defined in this system, an L<Error::NotSupported|SPVM::Error::NotSupported> exception is thrown. | ||
| 30 | |||
| 31 | =head2 POLLIN | ||
| 32 | |||
| 33 | C<static method POLLIN : int ();> | ||
| 34 | |||
| 35 | Gets the value of C<POLLIN>. If the value is not defined in this system, an L<Error::NotSupported|SPVM::Error::NotSupported> exception is thrown. | ||
| 36 | |||
| 37 | =head2 POLLNVAL | ||
| 38 | |||
| 39 | C<static method POLLNVAL : int ();> | ||
| 40 | |||
| 41 | Gets the value of C<POLLNVAL>. If the value is not defined in this system, an L<Error::NotSupported|SPVM::Error::NotSupported> exception is thrown. | ||
| 42 | |||
| 43 | =head2 POLLOUT | ||
| 44 | |||
| 45 | C<static method POLLOUT : int ();> | ||
| 46 | |||
| 47 | Gets the value of C<POLLOUT>. If the value is not defined in this system, an L<Error::NotSupported|SPVM::Error::NotSupported> exception is thrown. | ||
| 48 | |||
| 49 | =head2 POLLPRI | ||
| 50 | |||
| 51 | C<static method POLLPRI : int ();> | ||
| 52 | |||
| 53 | Gets the value of C<POLLPRI>. If the value is not defined in this system, an L<Error::NotSupported|SPVM::Error::NotSupported> exception is thrown. | ||
| 54 | |||
| 55 | =head2 POLLRDBAND | ||
| 56 | |||
| 57 | C<static method POLLRDBAND : int ();> | ||
| 58 | |||
| 59 | Gets the value of C<POLLRDBAND>. If the value is not defined in this system, an L<Error::NotSupported|SPVM::Error::NotSupported> exception is thrown. | ||
| 60 | |||
| 61 | =head2 POLLRDNORM | ||
| 62 | |||
| 63 | C<static method POLLRDNORM : int ();> | ||
| 64 | |||
| 65 | Gets the value of C<POLLRDNORM>. If the value is not defined in this system, an L<Error::NotSupported|SPVM::Error::NotSupported> exception is thrown. | ||
| 66 | |||
| 67 | =head2 POLLWRBAND | ||
| 68 | |||
| 69 | C<static method POLLWRBAND : int ();> | ||
| 70 | |||
| 71 | Gets the value of C<POLLWRBAND>. If the value is not defined in this system, an L<Error::NotSupported|SPVM::Error::NotSupported> exception is thrown. | ||
| 72 | |||
| 73 | =head2 POLLWRNORM | ||
| 74 | |||
| 75 | C<static method POLLWRNORM : int ();> | ||
| 76 | |||
| 77 | Gets the value of C<POLLWRNORM>. If the value is not defined in this system, an L<Error::NotSupported|SPVM::Error::NotSupported> exception is thrown. | ||
| 78 | |||
| 79 | =head1 See Also | ||
| 80 | |||
| 81 | =over 2 | ||
| 82 | |||
| 83 | =item * L<Sys|SPVM::Sys> | ||
| 84 | |||
| 85 | =back | ||
| 86 | |||
| 87 | =head1 Copyright & License | ||
| 88 | |||
| 89 | Copyright (c) 2023 Yuki Kimoto | ||
| 90 | |||
| 91 | MIT License | ||
| 92 |