[Lsb-messages] /var/www/bzr/lsb/devel/lsbspec r3977: update manpage for getifaddrs (bug 2143)

Mats Wichmann mats at linuxfoundation.org
Fri Jan 10 18:56:26 UTC 2014


------------------------------------------------------------
revno: 3977
committer: Mats Wichmann <mats at linuxfoundation.org>
branch nick: lsbspec
timestamp: Fri 2014-01-10 11:56:26 -0700
message:
  update manpage for getifaddrs (bug 2143)
modified:
  LSB/generic/baselib/baselib.sgml
  LSB/generic/baselib/getifaddrs.sgml
-------------- next part --------------
=== modified file 'LSB/generic/baselib/baselib.sgml'
--- a/LSB/generic/baselib/baselib.sgml	2014-01-09 19:00:51 +0000
+++ b/LSB/generic/baselib/baselib.sgml	2014-01-10 18:56:26 +0000
@@ -21898,8 +21898,9 @@
 
 
 <refnamediv>
-<refname>getifaddrs, freeifaddrs</refname>
-<refpurpose>INSERT PURPOSE HERE</refpurpose>
+<refname>getifaddrs</refname>
+<refname>freeifaddrs</refname>
+<refpurpose>get interface addresses</refpurpose>
 <indexterm id="ix-baselib-getifaddrs">
 	<primary>getifaddrs</primary></indexterm>
 <indexterm id="ix-baselib-freeifaddrs">
@@ -21916,7 +21917,7 @@
 <function>getifaddrs</function>
 </funcdef>
 <paramdef>struct ifaddrs **
-<parameter>arg0</parameter>
+<parameter>ifap</parameter>
 </paramdef>
 </funcprototype>
 
@@ -21925,7 +21926,7 @@
 <function>freeifaddrs</function>
 </funcdef>
 <paramdef>struct ifaddrs *
-<parameter>arg0</parameter>
+<parameter>ifa</parameter>
 </paramdef>
 </funcprototype>
 
@@ -21938,9 +21939,13 @@
 The <function>getifaddrs</function> function creates a linked
 list of structures describing the network interfaces of the
 local system.  The address of the first item is stored in
-<varname>arg0</varname>. The data returned is dynamically
+memory pointed to by <varname>ifap</varname>. The data returned is dynamically
 allocated, and should be freed using <function>freeifaddrs</function>.
 </para>
+<para>
+The list consists of structures of type <structname>ifaddrs</structname>
+(see Data Definitions above).
+</para>
 </refsect1>
 
 <refsect1>

=== modified file 'LSB/generic/baselib/getifaddrs.sgml'
--- a/LSB/generic/baselib/getifaddrs.sgml	2013-09-21 14:50:15 +0000
+++ b/LSB/generic/baselib/getifaddrs.sgml	2014-01-10 18:56:26 +0000
@@ -7,8 +7,9 @@
 
 
 <refnamediv>
-<refname>getifaddrs, freeifaddrs</refname>
-<refpurpose>INSERT PURPOSE HERE</refpurpose>
+<refname>getifaddrs</refname>
+<refname>freeifaddrs</refname>
+<refpurpose>get interface addresses</refpurpose>
 <indexterm id="ix-baselib-getifaddrs">
 	<primary>getifaddrs</primary></indexterm>
 <indexterm id="ix-baselib-freeifaddrs">
@@ -25,7 +26,7 @@
 <function>getifaddrs</function>
 </funcdef>
 <paramdef>struct ifaddrs **
-<parameter>arg0</parameter>
+<parameter>ifap</parameter>
 </paramdef>
 </funcprototype>
 
@@ -34,7 +35,7 @@
 <function>freeifaddrs</function>
 </funcdef>
 <paramdef>struct ifaddrs *
-<parameter>arg0</parameter>
+<parameter>ifa</parameter>
 </paramdef>
 </funcprototype>
 
@@ -47,9 +48,13 @@
 The <function>getifaddrs</function> function creates a linked
 list of structures describing the network interfaces of the
 local system.  The address of the first item is stored in
-<varname>arg0</varname>. The data returned is dynamically
+memory pointed to by <varname>ifap</varname>. The data returned is dynamically
 allocated, and should be freed using <function>freeifaddrs</function>.
 </para>
+<para>
+The list consists of structures of type <structname>ifaddrs</structname>
+(see Data Definitions above).
+</para>
 </refsect1>
 
 <refsect1>



More information about the lsb-messages mailing list