kevent sample code?
Can anyone point me at some sample code for kevent. I am trying to write a program that will watch a file for a write and can then read the new lines and act upon them. So far, I get the first event but not subsequent events. Stuart van Zee [EMAIL PROTECTED]
Re: kevent sample code?
On 10/30/06, stuartv [EMAIL PROTECTED] wrote: Can anyone point me at some sample code for kevent. I am trying to write a program that will watch a file for a write and can then read the new lines and act upon them. So far, I get the first event but not subsequent events. tail(1) uses kevent for following a file, I can't imagine any simpler examples. -- Jon