Is is possible to check if certain fd belongs to a epoll set? -


suppose have constructed epoll set, possible find out if fd belongs epoll set? , possible find out epoll set events fd interested in? thanks.

use epoll_ctl fd want check op argument epoll_ctl_add. if fd registered registration fail errno assigned eexist.

if registration succeeds, part of epoll set delete set right away using epoll_ctl op argument epoll_ctl_del set remains unchanged.

if can add more context problem maybe can come better method.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -