Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/gen Small improvements to markup and wording.
details: https://anonhg.NetBSD.org/src/rev/f52a73f8af95
branches: trunk
changeset: 754618:f52a73f8af95
user: jruoho <jruoho%NetBSD.org@localhost>
date: Thu May 06 09:46:49 2010 +0000
description:
Small improvements to markup and wording.
diffstat:
lib/libc/gen/stringlist.3 | 16 +++++++++-------
1 files changed, 9 insertions(+), 7 deletions(-)
diffs (46 lines):
diff -r f4f3bed27739 -r f52a73f8af95 lib/libc/gen/stringlist.3
--- a/lib/libc/gen/stringlist.3 Thu May 06 09:34:52 2010 +0000
+++ b/lib/libc/gen/stringlist.3 Thu May 06 09:46:49 2010 +0000
@@ -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 @@
} 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
Home |
Main Index |
Thread Index |
Old Index