kqueue and ordinary files

2005-03-30 Thread Matthew Luckie
Does kqueue signal EOF on an ordinary file when there is nothing left to read? The code at http://www.wand.net.nz/~mjl12/kqfile.c.txt cc -Wall -o kqfile kqfile.c ./kqfile kqueue.c doesn't ever get EOF notification as far as i can tell. as in, it isn't signaled in kevent.flags, nor does kqueue sign

Re: kqueue and ordinary files

2005-03-30 Thread Dan Nelson
In the last episode (Mar 31), Matthew Luckie said: > Does kqueue signal EOF on an ordinary file when there is nothing left > to read? > > The code at http://www.wand.net.nz/~mjl12/kqfile.c.txt > > cc -Wall -o kqfile kqfile.c > ./kqfile kqueue.c > > doesn't ever get EOF notification as far as i c