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
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
2 matches
Mail list logo