On success, inotify_init() shall return a file descriptor pointing to the new inotify instance.
On failure, inotify_init() shall return -1 and set
errno to an appropriate value.
The maximum number of inotify instances has been created for this user.
The maximum number of file descriptors has been created on the system.
There is not enough kernel memory available.