27 #ifndef CPP_NIX_SELECT_SET_H_
28 #define CPP_NIX_SELECT_SET_H_
30 #include <sys/select.h>
67 (*m_select_map)[
m_fd] = spec;
79 int BuildSets(fd_set* read_set, fd_set* write_set, fd_set* except_set)
const;
81 int Select(fd_set* read_set, fd_set* write_set, fd_set* except_set,
82 timeval* timeout)
const;
84 int Pselect(fd_set* read_set, fd_set* write_set, fd_set* except_set,
85 timespec* timeout, sigset_t* sigmask)
const;
int BuildSets(fd_set *read_set, fd_set *write_set, fd_set *except_set) const
std::map< int, int > SelectMap
int Pselect(fd_set *read_set, fd_set *write_set, fd_set *except_set, timespec *timeout, sigset_t *sigmask) const
int Select(fd_set *read_set, fd_set *write_set, fd_set *except_set, timeval *timeout) const
SelectSurrogate operator[](int fd)
SelectSurrogate(SelectMap *select_map, int fd)
const SelectSurrogate & operator=(int spec) const