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
Post a Comment