summaryrefslogtreecommitdiff
path: root/man/sd_journal_stream_fd.xml
diff options
context:
space:
mode:
authorAlan Jenkins <alan.christopher.jenkins@gmail.com>2018-01-20 03:02:50 +0000
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-01-20 14:02:50 +1100
commitbf105e38d5715cc10f9619c5385a16898d568527 (patch)
tree6f7fdd47bff2f41d1631a3f88aa3e414b02d10b3 /man/sd_journal_stream_fd.xml
parent18e3beac2faee3a2cd18e4d31ee04d190b761039 (diff)
downloadsystemd-bf105e38d5715cc10f9619c5385a16898d568527.tar.gz
man: sd_journal_stream_fd: no, fds are not shared (#7926)
sd_journal_stream_fd() does not return the same file descriptor across different calls. It can't possibly do so, because the file descriptor is created using certain parameters passed by the caller. Also the implementation clearly isn't doing this, it's just connecting to a unix socket. It opens exactly one file descriptor, and does not close it unless there is a write failure. Nothing like "temporarily multiple file descriptors may be open".
Diffstat (limited to 'man/sd_journal_stream_fd.xml')
-rw-r--r--man/sd_journal_stream_fd.xml3
1 files changed, 1 insertions, 2 deletions
diff --git a/man/sd_journal_stream_fd.xml b/man/sd_journal_stream_fd.xml
index 29d64f91d7..89ad8f5920 100644
--- a/man/sd_journal_stream_fd.xml
+++ b/man/sd_journal_stream_fd.xml
@@ -107,8 +107,7 @@
<title>Notes</title>
<para>Function <function>sd_journal_stream_fd()</function> is thread-safe and may be called
- from multiple threads. All calls will return the same file descriptor, although temporarily
- multiple file descriptors may be open.</para>
+ from multiple threads.</para>
<para>The <function>sd_journal_stream_fd()</function> interface is
available as a shared library, which can be compiled and linked to