Module Name: src
Committed By: wiz
Date: Wed Apr 22 07:26:53 UTC 2009
Modified Files:
src/lib/libc/net: getifaddrs.3
Log Message:
Mark up NULL. New sentence, new line. Bump date for previous.
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/lib/libc/net/getifaddrs.3
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/net/getifaddrs.3
diff -u src/lib/libc/net/getifaddrs.3:1.10 src/lib/libc/net/getifaddrs.3:1.11
--- src/lib/libc/net/getifaddrs.3:1.10 Tue Apr 21 23:27:09 2009
+++ src/lib/libc/net/getifaddrs.3 Wed Apr 22 07:26:52 2009
@@ -1,4 +1,4 @@
-.\" $NetBSD: getifaddrs.3,v 1.10 2009/04/21 23:27:09 dyoung Exp $
+.\" $NetBSD: getifaddrs.3,v 1.11 2009/04/22 07:26:52 wiz Exp $
.\" BSDI getifaddrs.3,v 2.5 2000/02/23 14:51:59 dab Exp
.\"
.\" Copyright (c) 1995, 1999
@@ -21,7 +21,7 @@
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
-.Dd October 12, 1995
+.Dd April 21, 2009
.Dt GETIFADDRS 3
.Os
.Sh NAME
@@ -79,7 +79,8 @@
The
.Li ifa_addr
field references either the address of the interface or the link level
-address of the interface, if one exists, otherwise it is NULL.
+address of the interface, if one exists, otherwise it is
+.Dv NULL .
(The
.Li sa_family
field of the
@@ -92,7 +93,8 @@
.Li ifa_netmask
field references the netmask associated with
.Li ifa_addr ,
-if one is set, otherwise it is NULL.
+if one is set, otherwise it is
+.Dv NULL .
.Pp
The
.Li ifa_broadaddr
@@ -100,22 +102,26 @@
which should only be referenced for non-P2P interfaces,
references the broadcast address associated with
.Li ifa_addr ,
-if one exists, otherwise it is NULL.
+if one exists, otherwise it is
+.Dv NULL .
.Pp
The
.Li ifa_dstaddr
field references the destination address on a P2P interface,
-if one exists, otherwise it is NULL.
+if one exists, otherwise it is
+.Dv NULL .
.Pp
The
.Li ifa_data
-field references address family specific data. For
+field references address family specific data.
+For
.Dv AF_LINK
addresses it contains a pointer to the
.Fa struct if_data
.Pq as defined in include file Aq Pa net/if.h
which contains various interface attributes and statistics.
-For all other address families, it is NULL.
+For all other address families, it is
+.Dv NULL .
.Pp
The data returned by
.Fn getifaddrs