View Single Post
  #1   (View Single Post)  
Old 25th January 2021
TCH TCH is offline
Shell Scout
 
Join Date: Mar 2017
Posts: 85
Default kqueue: get flags and filters of a descriptor, already added to the kqueue

I am reading the BSD manuals of kqueue(), but i cannot figure out how can i retrieve the properties assigned to a descriptor. With /dev/poll i can do that by performing an ioctl() with DP_ISPOLLED. Is there an equivalent with kqueue()? I've tried to search on the net, but to no avail.
Reply With Quote