inotify and recursion
David Eagen
davideagen at mailinator.com
Thu Dec 26 22:32:36 PST 2013
On Friday, 27 December 2013 at 03:39:58 UTC, Hugo Florentino
wrote:
> BTW, it it a requirement to use malloc, and if so, when would I
> need to free the memory allocated by it?
Inotify is expecting you to read into a buffer. You could
allocate that buffer from the GC with core.memory.malloc()
instead.
You want to free the memory once you finish processing the event.
More information about the Digitalmars-d-learn
mailing list