In local.freebsd.hackers you write:
>>* Dominic Marks <[EMAIL PROTECTED]> [010502 14:29] wrote:
>> > I've been looking to start using the KEvent system and I've been
>> > experimenting with it. However I've been having several problems, with
>>my
>> > own code as well as samples from http://www.flugsvamp.org.
>>
>>www.flugsvamp.org doesn't seem to resolve.
>Yes, a mistake on my part. It should have been flugsvamp.com.
[...]
>I just copied the example directly here so I couldn't comment absolute on
>the decisions here. Having browsed through the man page I've edited the
>original sample, moving some of the arguments around - where these ever
>moved one way and since changed perhaps? However what I believe to be
>correct now equally refuses to respond.
Works here (4.3-RC, Apr 19), provided that you append to the file. If
you just overwrite it with the same amount of data, read() will return
zero, and you get no output. Check out the source for tail(1) for a
more complete example (in /usr/src/usr.bin/tail/forward.c)
$.02,
/Mikko
--
Mikko Ty�l�j�[EMAIL PROTECTED]
RSA Security
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message