Unix encoding.
Fix spelling.
Indentation.
Fix possibly missing inotify_init1(2).
Add iolib functions.

For the moment unexported, more as an example.