]> git.ipfire.org Git - thirdparty/man-pages.git/commit - man7/inotify.7
inotify.7: Add example program
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 24 May 2014 20:02:13 +0000 (22:02 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Sat, 24 May 2014 20:42:29 +0000 (22:42 +0200)
commitecd96f7c0ea54bc73f2d7bff9e810b193ee57e2b
tree2299a04711bdc7f14128ae4f24c731def2208517
parent9fb49a3a80b89f9d840d83997c0eff5eb8c39636
inotify.7: Add example program

This example of the usage of the inotify API shows the
usage of inotify_init1(2) and inotify_add_watch(2) as well
as polling and reading from the inotify file descriptor.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man7/inotify.7