chiark / gitweb /
update TODO
[elogind.git] / man / sd_event_add_defer.xml
index 6c937098b273f9f3b0c018c528e2d1435fbcee0c..dcc76cd48fb43519a18fbe45af382e8ae4f0f58d 100644 (file)
@@ -104,7 +104,7 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>.
     default, the handler will be called once
     (<constant>SD_EVENT_ONESHOT</constant>).</para>
 
-    <para><function>sd_event_add_defer()</function> adds a new event
+    <para><function>sd_event_add_post()</function> adds a new event
     source that will "fire" if any event handlers are invoked whenever
     the event loop is run. By default, the source is enabled
     permanently (<constant>SD_EVENT_ON</constant>).</para>
@@ -138,25 +138,25 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>.
 
     <variablelist>
       <varlistentry>
-        <term><varname>-ENOMEM</varname></term>
+        <term><constant>-ENOMEM</constant></term>
 
         <listitem><para>Not enough memory to allocate an object.</para></listitem>
       </varlistentry>
 
       <varlistentry>
-        <term><varname>-EINVAL</varname></term>
+        <term><constant>-EINVAL</constant></term>
 
         <listitem><para>An invalid argument has been passed.</para></listitem>
       </varlistentry>
 
       <varlistentry>
-        <term><varname>-ESTALE</varname></term>
+        <term><constant>-ESTALE</constant></term>
 
         <listitem><para>The event loop is already terminated.</para></listitem>
       </varlistentry>
 
       <varlistentry>
-        <term><varname>-ECHILD</varname></term>
+        <term><constant>-ECHILD</constant></term>
 
         <listitem><para>The event loop has been created in a different process.</para></listitem>
       </varlistentry>