tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kqueue clarification



On Sat, 26 Jun 2010 14:04:18 +0100
Sad Clouds <cryintothebluesky%googlemail.com@localhost> wrote:

> What I find confusing is that kevent() returns int data type, however
> the length of eventlist given by nevents can be up to size_t.
> 
> Suppose you have more than INT_MAX events in kqueue, what are the
> semantics of kevent()?

OK, I guess unless Unix file descriptor type changes (which is signed
integer) kqueue will be limited by that.


Home | Main Index | Thread Index | Old Index