chiark / gitweb /
man: Add a note about what environment variables are available by default
[elogind.git] / man / sd_journal_open.xml
index eae851e731586f267ad687c518602b93ff0ae0c5..28d164add717922dce16dbf02e3198f4d043319b 100644 (file)
                 can be rotated at any moment, and the opening of
                 specific files is inherently racy.</para>
 
+                <para><varname>sd_journal</varname> objects cannot be
+                used in the child after a fork. Functions which take a
+                journal object as an argument
+                (<function>sd_journal_next()</function> and others)
+                will return <constant>-ECHILD</constant> after a fork.
+                </para>
+
                 <para><function>sd_journal_close()</function> will
                 close the journal context allocated with
                 <function>sd_journal_open()</function> or