On Sat, 26 Jun 2010 14:04:18 +0100
Sad Clouds 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
OK this is from kqueue man page:
"kevent() returns the number of events placed in the eventlist, up to
the value given by nevents"
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_MA