DCL 4.0
Loading...
Searching...
No Matches
POLLFD Struct Reference
Inheritance diagram for POLLFD:

Public Member Functions

 POLLFD ()
 POLLFD (File::HandleType fd, short events)

Detailed Description

Definition at line 72 of file PollThread.cpp.

Constructor & Destructor Documentation

◆ POLLFD() [1/2]

POLLFD::POLLFD ( )
inline

Definition at line 74 of file PollThread.cpp.

75 {
76 fd = 0;
77 events = revents = 0;
78 }

◆ POLLFD() [2/2]

POLLFD::POLLFD ( File::HandleType fd,
short events )
inline

Definition at line 80 of file PollThread.cpp.

81 {
82#if __DCL_WINDOWS
83 this->fd = (SOCKET) fd;
84#else
85 this->fd = fd;
86#endif
87 this->events = events;
88 this->revents = 0;
89 }

The documentation for this struct was generated from the following file: