kqueue and filenames

2012-01-23 Thread Info
Hi, I'm using kqueue for detecting file-events; for additional information I add a struct to udata, when registering an event with kevent. When I delete an event, will be udata deleted too, or do I have to manage the memory for the structs with an own implementation? kevent is triggered when

Re: kqueue and filenames

2012-01-23 Thread Pieter de Goeje
On 23-1-2012 11:52, Info wrote: I'm using kqueue for detecting file-events; for additional information I add a struct to udata, when registering an event with kevent. When I delete an event, will be udata deleted too, or do I have to manage the memory for the structs with an own implementation?

Re: kqueue and filenames

2012-01-23 Thread Info
Thanks for your reply! Am 23.01.2012 20:12, schrieb Pieter de Goeje: kevent is triggered when a file is renamed. How do I get the new name? Is there an extra function? In the moment, I see only the possibility by searching the filesystem(folder) for a new name. A good question to which I