Use RAII to handle inotify resource lifetime, i.e. initialize with actor creation and deinitialize with actor deletion.
5 lines
60 B
Plaintext
5 lines
60 B
Plaintext
module CInotify [system] {
|
|
header "cinotify.h"
|
|
export *
|
|
}
|