stringlist.3 (0f38d8d9aa5b98ad2adb300b6f5b600f570775c8) stringlist.3 (522ccf3f353a439b7938a4f10adfab7d912210a2)
1.\" $NetBSD: stringlist.3,v 1.5 1999/03/22 19:44:46 garbled Exp $
2.\"
3.\" Copyright (c) 1997, 1999 The NetBSD Foundation, Inc.
4.\" All rights reserved.
5.\"
6.\" This file was contributed to The NetBSD Foundation by Luke Mewburn.
7.\"
8.\" Redistribution and use in source and binary forms, with or without

--- 101 unchanged lines hidden (view full) ---

110Add
111.Fa item
112to
113.Fa sl->sl_str
114at
115.Fa sl->sl_cur ,
116extending the size of
117.Fa sl->sl_str .
1.\" $NetBSD: stringlist.3,v 1.5 1999/03/22 19:44:46 garbled Exp $
2.\"
3.\" Copyright (c) 1997, 1999 The NetBSD Foundation, Inc.
4.\" All rights reserved.
5.\"
6.\" This file was contributed to The NetBSD Foundation by Luke Mewburn.
7.\"
8.\" Redistribution and use in source and binary forms, with or without

--- 101 unchanged lines hidden (view full) ---

110Add
111.Fa item
112to
113.Fa sl->sl_str
114at
115.Fa sl->sl_cur ,
116extending the size of
117.Fa sl->sl_str .
118Returns zero upon success, -1 upon failure.
118Returns zero upon success, \-1 upon failure.
119.It Fn sl_find
120Find
121.Fa item
122in
123.Fa sl ,
124returning NULL if it's not found.
125.El
126.Sh SEE ALSO
127.Xr free 3 ,
128.Xr malloc 3
129.Sh HISTORY
130The
131.Nm
132functions appeared in
133.Fx 2.2.6
134and
135.Nx 1.3 .
119.It Fn sl_find
120Find
121.Fa item
122in
123.Fa sl ,
124returning NULL if it's not found.
125.El
126.Sh SEE ALSO
127.Xr free 3 ,
128.Xr malloc 3
129.Sh HISTORY
130The
131.Nm
132functions appeared in
133.Fx 2.2.6
134and
135.Nx 1.3 .