chiark / gitweb /
machine-id-setup: use path_kill_slashes and modernizations
[elogind.git] / man / sd_pid_get_session.xml
index ecd22f7bfefe742a5a9f1315e23f4caf1a36e57d..1e762f450b334fba6e40a782633a508fda581dfd 100644 (file)
                 call after use.</para>
 
                 <para>If the <varname>pid</varname> parameter of any
-                of these functions is passed as 0 the operation is
+                of these functions is passed as 0, the operation is
                 executed for the calling process.</para>
         </refsect1>
 
         <refsect1>
                 <title>Return Value</title>
 
-                <para>On success these calls return 0 or a positive
+                <para>On success, these calls return 0 or a positive
                 integer. On failure, these calls return a negative
                 errno-style error code.</para>
         </refsect1>
                 <function>sd_pid_get_owner_uid()</function>,
                 <function>sd_pid_get_machine_name()</function> and
                 <function>sd_pid_get_slice()</function> interfaces are
-                available as shared library, which can be compiled and
+                available as shared library, which can be compiled and
                 linked to with the
-                <constant>libsystemd-login</constant> <citerefentry><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry>
+                <constant>libsystemd</constant> <citerefentry><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry>
                 file.</para>
 
                 <para>Note that the login session identifier as