diff options
Diffstat (limited to 'man/sd_event_add_inotify.xml')
-rw-r--r-- | man/sd_event_add_inotify.xml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/man/sd_event_add_inotify.xml b/man/sd_event_add_inotify.xml index af3b6bcfdf..605863c356 100644 --- a/man/sd_event_add_inotify.xml +++ b/man/sd_event_add_inotify.xml @@ -155,6 +155,16 @@ </variablelist> </refsect1> + <refsect1> + <title>Examples</title> + + <example> + <title>A simple program that uses inotify to monitor one or two directories</title> + + <programlisting><xi:include href="inotify-watch-tmp.c" parse="text" /></programlisting> + </example> + </refsect1> + <xi:include href="libsystemd-pkgconfig.xml" /> <refsect1> |