]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - man/sd_event_add_inotify.xml
man: xinclude the generic text to talk about libsystemd pkgconfig
[thirdparty/systemd.git] / man / sd_event_add_inotify.xml
index af3b6bcfdf34f0b38c16554f931f202c901a1338..605863c356f1e3510599647f2982e1d459aab4ed 100644 (file)
     </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>