Toolbox snapshot
The Reactive C++ Toolbox
|
Go to the source code of this file.
Classes | |
class | toolbox::io::Epoll |
Namespaces | |
namespace | toolbox |
namespace | toolbox::os |
namespace | toolbox::io |
Typedefs | |
using | toolbox::io::EpollEvent = epoll_event |
Enumerations | |
enum | : unsigned { toolbox::io::EpollIn = EPOLLIN , toolbox::io::EpollOut = EPOLLOUT , toolbox::io::EpollRdHup = EPOLLRDHUP , toolbox::io::EpollPri = EPOLLPRI , toolbox::io::EpollErr = EPOLLERR , toolbox::io::EpollHup = EPOLLHUP , toolbox::io::EpollEt = EPOLLET , toolbox::io::EpollOneShot = EPOLLONESHOT } |
Functions | |
FileHandle | toolbox::os::epoll_create (int size, std::error_code &ec) noexcept |
FileHandle | toolbox::os::epoll_create (int size) |
FileHandle | toolbox::os::epoll_create1 (int flags, std::error_code &ec) noexcept |
Open a new epoll instance. If flags is zero, then epoll_create1() is the same as epoll_create(). | |
FileHandle | toolbox::os::epoll_create1 (int flags) |
Open a new epoll instance. If flags is zero, then epoll_create1() is the same as epoll_create(). | |
int | toolbox::os::epoll_ctl (int epfd, int op, int fd, epoll_event event, std::error_code &ec) noexcept |
Control interface for an epoll file descriptor. | |
void | toolbox::os::epoll_ctl (int epfd, int op, int fd, epoll_event event) |
Control interface for an epoll file descriptor. | |
int | toolbox::os::epoll_wait (int epfd, epoll_event *events, int maxevents, int timeout, std::error_code &ec) noexcept |
Wait for an I/O event on an epoll file descriptor. | |
int | toolbox::os::epoll_wait (int epfd, epoll_event *events, int maxevents, int timeout) |
Wait for an I/O event on an epoll file descriptor. | |