diff --git a/lib/libc/gen/stringlist.3 b/lib/libc/gen/stringlist.3 index 3b9cab98c82a..2eb83fc6ab70 100644 --- a/lib/libc/gen/stringlist.3 +++ b/lib/libc/gen/stringlist.3 @@ -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