]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: fix grammaro
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 25 Feb 2021 12:16:39 +0000 (13:16 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 25 Feb 2021 13:55:17 +0000 (14:55 +0100)
man/sd_bus_message_read.xml
man/sd_bus_message_read_basic.xml

index 12a2c77ea829e9cc652f8ac80e5e01d0f3edbeb0..0b921258dc555fe2a0f4f2a666dd1139b8ba557e 100644 (file)
@@ -74,7 +74,7 @@
     should be read. See the table below for a complete list of allowed arguments and their types. Note that,
     if the basic type is a pointer (e.g., <type>const char *</type> in the case of a string), the argument is
     a pointer to a pointer, and also the pointer value that is written is only borrowed and the contents must
-    be copied if they are to be used after the end of the messages lifetime. If the type is
+    be copied if they are to be used after the end of the message's lifetime. If the type is
     <literal>h</literal> (UNIX file descriptor), the descriptor is not duplicated by this call and the
     returned descriptor remains in possession of the message object, and needs to be duplicated by the caller
     in order to keep an open reference to it after the message object is freed.</para>
index 443fcdaad0bfe590f566d7b38d0d3e24eb03080c..bd5a149a2639111ce3936d4c48b82346b87af008 100644 (file)
       <parameter>type</parameter> is <constant>'s'</constant>, the object passed in <parameter>p</parameter>
       should have type <type>const char **</type>. Note that, if the basic type is a pointer (e.g.,
       <type>const char *</type> in the case of a string), the pointer is only borrowed and the contents must
-      be copied if they are to be used after the end of the messages lifetime. Similarly, during the lifetime
-      of such a pointer, the message must not be modified. If <parameter>type</parameter> is
+      be copied if they are to be used after the end of the message's lifetime. Similarly, during the
+      lifetime of such a pointer, the message must not be modified. If <parameter>type</parameter> is
       <constant>'h'</constant> (UNIX file descriptor), the descriptor is not duplicated by this call and the
-      returned descriptor remains in possession of the message object, and needs to be duplicated by the caller
-      in order to keep an open reference to it after the message object is freed (for example by calling
-      <literal>fcntl(fd, FD_DUPFD_CLOEXEC, 3)</literal>). See the table below for a complete list of
+      returned descriptor remains in possession of the message object, and needs to be duplicated by the
+      caller in order to keep an open reference to it after the message object is freed (for example by
+      calling <literal>fcntl(fd, FD_DUPFD_CLOEXEC, 3)</literal>). See the table below for a complete list of
       allowed types.
     </para>