do not use args on kqueue, just for kqueue1
freebsd kqueue constants
move kqueue to common bsd code