chiark / gitweb /
analyze: fix OOM handling + fix memory leak
[elogind.git] / man / sd_get_seats.xml
index 28d06e9843ca34f8be07b3d8e50982df83b75f1d..4bdb5c3e9e6e592bf3957584a82cfd7836b6dfc4 100644 (file)
@@ -21,7 +21,7 @@
   along with systemd; If not, see <http://www.gnu.org/licenses/>.
 -->
 
-<refentry id="sd_get_seats">
+<refentry id="sd_get_seats" conditional='HAVE_PAM'>
 
         <refentryinfo>
                 <title>sd_get_seats</title>
@@ -65,7 +65,7 @@
 
                         <funcprototype>
                                 <funcdef>int <function>sd_get_uids</function></funcdef>
-                                <paramdef>char*** <parameter>sessions</parameter></paramdef>
+                                <paramdef>uid_t** <parameter>users</parameter></paramdef>
                         </funcprototype>
 
                 </funcsynopsis>
@@ -89,6 +89,8 @@
 
                 <para>Similar, <function>sd_get_uids()</function> may
                 be used to determine all Unix users who currently have login sessions.</para>
+
+                <para>Note that the returned lists are not sorted and in an undefined order.</para>
         </refsect1>
 
         <refsect1>