DaemonForums  

Go Back   DaemonForums > Miscellaneous > Programming

Programming C, bash, Python, Perl, PHP, Java, you name it.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 25th January 2021
TCH TCH is offline
New User
 
Join Date: Mar 2017
Posts: 8
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
Reply

Tags
bsd, kqueue

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenBSD] extent_alloc_subregion: can't allocate region descriptor jonsec OpenBSD Packages and Ports 2 7th April 2020 03:07 AM
flags in vi's man page attilio OpenBSD Packages and Ports 4 13th December 2016 12:34 PM
authpf, authpf.rules unable to modify filters kbeaucha OpenBSD Security 16 10th May 2012 09:46 PM
regular server crashes - /proc/ Bad file descriptor carpman FreeBSD General 2 1st June 2010 11:51 AM
An interesting benchmark (kqueue vs. epoll) mdh Programming 0 9th October 2008 09:49 PM


All times are GMT. The time now is 03:11 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick