We (Christian Brueffer and I) looked at a bug report [1] about adding an EXAMPLE to kqueue(2). We want to know whether you think the example is correct so that we can commit the patch? We think having an example there would be good to have.
[1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196844