X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fsd_journal_open.xml;h=28d164add717922dce16dbf02e3198f4d043319b;hb=44ded3abc28620279633f51a05f2416e5aa3e8e2;hp=eae851e731586f267ad687c518602b93ff0ae0c5;hpb=1e158d273bb63883566358cbb886cd4167421df6;p=elogind.git diff --git a/man/sd_journal_open.xml b/man/sd_journal_open.xml index eae851e73..28d164add 100644 --- a/man/sd_journal_open.xml +++ b/man/sd_journal_open.xml @@ -131,6 +131,13 @@ can be rotated at any moment, and the opening of specific files is inherently racy. + sd_journal objects cannot be + used in the child after a fork. Functions which take a + journal object as an argument + (sd_journal_next() and others) + will return -ECHILD after a fork. + + sd_journal_close() will close the journal context allocated with sd_journal_open() or