when deleting a fd from the epoll event collection using epoll_ctl, is the fourth parameter event required?
for example, delete a writable event in ET mode,
void Del(int fd)
{
epoll_event ev;
memset(&ev, 0, sizeof(ev));
ev.data.fd = fd; //
ev.events = EPOLLOUT | EPOLLET; //
epoll_ctl(epollFd, EPOLL_CTL_DEL, fd, &ev);
}
there is still no need to dimension