filt_proc
static int filt_proc(struct knote *kn, long hint);
.f_event = filt_proc,
if (immediate || (exiting && filt_proc(kn, NOTE_EXIT)))