chiark / gitweb /
Prep v239: Add missing updates that evaded migration.
[elogind.git] / man / sd_event_add_inotify.xml
index ded7a53bf178ad7e83a91a020742332a4f1b50d2..79d866bf615cfedbd92409243995cb1a14dba124 100644 (file)
   </refsect1>
 
   <xi:include href="libelogind-pkgconfig.xml" />
+  <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>
+
 
   <refsect1>
     <title>See Also</title>