summaryrefslogtreecommitdiff
path: root/lib/libc/net/inet6_option_space.3
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2005-01-07 10:00:21 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2005-01-07 10:00:21 +0000
commita3b58969e978fb7f35043a686e4b799172ea22c9 (patch)
treecb2feb8dfb068b248ccef9f8f14c9346cfead748 /lib/libc/net/inet6_option_space.3
parent38b48ae754d8a95b57b45d2af9c054cb6fb5c18d (diff)
clarify a sentence;
from george v. neville-neil, via itojun@
Diffstat (limited to 'lib/libc/net/inet6_option_space.3')
-rw-r--r--lib/libc/net/inet6_option_space.312
1 files changed, 7 insertions, 5 deletions
diff --git a/lib/libc/net/inet6_option_space.3 b/lib/libc/net/inet6_option_space.3
index d41112167d5..7c3b78033a5 100644
--- a/lib/libc/net/inet6_option_space.3
+++ b/lib/libc/net/inet6_option_space.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: inet6_option_space.3,v 1.16 2005/01/06 10:50:40 jmc Exp $
+.\" $OpenBSD: inet6_option_space.3,v 1.17 2005/01/07 10:00:20 jmc Exp $
.\" $KAME: inet6_option_space.3,v 1.11 2005/01/05 03:00:44 itojun Exp $
.\"
.\" Copyright (C) 2004 WIDE Project.
@@ -236,12 +236,14 @@ The
function appends a Hop-by-Hop option or a Destination option into an
ancillary data object that has previously been initialized by a call to
.Fn inet6_option_init .
-The
+A successful call to the
+.Fn inet6_option_alloc
+function returns a pointer to the 8-bit option type field,
+which is at the beginning of the allocated region.
.Fn inet6_option_alloc
-function returns a pointer to the 8-bit option type field that at the
-beginning of the allocated the option on success, or
+returns
.Dv NULL
-on an error.
+when an error has occurred.
.Pp
The difference between the
.Fn inet6_option_alloc