MCPcopy Create free account
hub / github.com/Tencent/libco / pollfd

Class pollfd

example_echocli.cpp:122–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120 if ( errno == EALREADY || errno == EINPROGRESS )
121 {
122 struct pollfd pf = { 0 };
123 pf.fd = fd;
124 pf.events = (POLLOUT|POLLERR|POLLHUP);
125 co_poll( co_get_epoll_ct(),&pf,1,200);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected