@Test public void testKqueue() { if(!isBSD()) return; System.out.println("kqueue"); int kqueueFD = BSD.kqueue(); assertFalse(kqueueFD == -1); BSD.close(kqueueFD); }
public static native int kqueue();
BSD extends Unix { public static native int kqueue(); }
BSD extends Unix { public static native int kqueue();  }
BSD extends Unix { public static native int kqueue();  static native int kqueue(); static native int kevent(int kq, kevent[] changelist, kevent[] eventlist, timespec timeout); }
BSD extends Unix { public static native int kqueue();  static native int kqueue(); static native int kevent(int kq, kevent[] changelist, kevent[] eventlist, timespec timeout); static final short EV_ADD; static final short EV_ENABLE; static final short EV_DISABLE; static final short EV_DELETE; static final short EV_ONESHOT; static final short EV_CLEAR; static final short EV_EOF; static final short EV_ERROR; static final short EVFILT_VNODE; static final short EVFILT_PROC; static final int NOTE_DELETE; static final int NOTE_WRITE; static final int NOTE_EXTEND; static final int NOTE_ATTRIB; static final int NOTE_LINK; static final int NOTE_RENAME; static final int NOTE_REVOKE; static final int NOTE_EXIT; static final int NOTE_FORK; static final int NOTE_EXEC; static final int NOTE_TRACK; static final int NOTE_TRACKERR; }