Module Name: src Committed By: jruoho Date: Thu May 6 09:46:49 UTC 2010
Modified Files: src/lib/libc/gen: stringlist.3 Log Message: Small improvements to markup and wording. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/lib/libc/gen/stringlist.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/gen/stringlist.3 diff -u src/lib/libc/gen/stringlist.3:1.14 src/lib/libc/gen/stringlist.3:1.15 --- src/lib/libc/gen/stringlist.3:1.14 Mon Mar 9 19:24:26 2009 +++ src/lib/libc/gen/stringlist.3 Thu May 6 09:46:49 2010 @@ -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