mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-03-10 00:58:20 +03:00
man: add note that sd_journal_open_files is racy
This commit is contained in:
parent
cbd671772c
commit
7699b6eb98
@ -125,7 +125,11 @@
|
||||
of file paths to open. All files will be opened and
|
||||
interleaved automatically. This call also takes a
|
||||
flags argument, but it must be passed as 0 as no flags
|
||||
are currently understood for this call.</para>
|
||||
are currently understood for this call. Please note
|
||||
that in case of a live journal, this function is only
|
||||
useful for debugging, because individual journal files
|
||||
can be rotated at any moment, and the opening of
|
||||
specific files in inherently racy.</para>
|
||||
|
||||
<para><function>sd_journal_close()</function> will
|
||||
close the journal context allocated with
|
||||
|
Loading…
x
Reference in New Issue
Block a user