documentation/inotify: add newly supported events

IN_CLOSE_WRITE and IN_CLOSE_NOWRITE are now supported and IN_MODIFY
can be used for truncate as well.

Signed-off-by: Michal Lenc <michallenc@seznam.cz>
This commit is contained in:
Michal Lenc 2024-10-07 11:38:31 +02:00 committed by Xiang Xiao
parent 531dbaf561
commit dc6f406e7f

View file

@ -90,12 +90,16 @@ calling inotify_add_watch and may be returned in the mask field returned by re
**IN_ACCESS** :File was accessed
**IN_MODIFY** :File was modified
**IN_MODIFY** :File was modified (``write()`` or ``truncate()``)
**IN_ATTRIB** :Metadata changed
**IN_OPEN** :File was opened
**IN_CLOSE_WRITE** :File opened for writing was closed
**IN_CLOSE_NOWRITE** : File not opened for writing was closed
**IN_MOVED_FROM** :File was moved from X
**IN_MOVED_TO** :File was moved to Y