Small improvements to markup and wording.

This commit is contained in:
jruoho 2010-05-06 09:46:49 +00:00
parent fc240ff6c6
commit 7f1766c2e5

View File

@ -1,4 +1,4 @@
.\" $NetBSD: stringlist.3,v 1.14 2009/03/09 19:24:26 joerg Exp $
.\" $NetBSD: stringlist.3,v 1.15 2010/05/06 09:46:49 jruoho Exp $
.\"
.\" Copyright (c) 1997, 1999 The NetBSD Foundation, Inc.
.\" All rights reserved.
@ -26,7 +26,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
.Dd July 27, 2006
.Dd May 6, 2010
.Dt STRINGLIST 3
.Os
.Sh NAME
@ -68,20 +68,22 @@ typedef struct _stringlist {
} StringList;
.Ed
.Pp
where:
.Bl -tag -width "sl_str" -offset indent
.It Ar sl_str
a pointer to the base of the array containing the list.
is a pointer to the base of the array containing the list,
.It Ar sl_max
the size of
.Ar sl_str .
is the size of
.Ar sl_str ,
and
.It Ar sl_cur
the offset in
is the offset in
.Ar sl_str
of the current element.
.El
.Pp
The following stringlist manipulation functions are available:
.Bl -tag -width "sl_init()"
.Bl -tag -width "sl_delete()" -offset 2n
.It Fn sl_init
Create a stringlist.
Returns a pointer to a