getnetconfig.3 (1fae73b137bfc5a237d7258e3c667ba87a36b7ff) getnetconfig.3 (2efeeba554cbd7bdee9cfe17641c8bd335c7972f)
1.\" @(#)getnetconfig.3n 1.28 93/06/02 SMI; from SVr4
2.\" $NetBSD: getnetconfig.3,v 1.1 2000/06/02 23:11:11 fvdl Exp $
3.\" $FreeBSD$
4.\" Copyright 1989 AT&T
5.Dd April 22, 2000
6.Dt GETNETCONFIG 3
7.Os
8.Sh NAME

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

53can be used to search the entire netconfig
54file.
55The
56.Fn getnetconfig
57function
58returns
59.Dv NULL
60at the end of the file.
1.\" @(#)getnetconfig.3n 1.28 93/06/02 SMI; from SVr4
2.\" $NetBSD: getnetconfig.3,v 1.1 2000/06/02 23:11:11 fvdl Exp $
3.\" $FreeBSD$
4.\" Copyright 1989 AT&T
5.Dd April 22, 2000
6.Dt GETNETCONFIG 3
7.Os
8.Sh NAME

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

53can be used to search the entire netconfig
54file.
55The
56.Fn getnetconfig
57function
58returns
59.Dv NULL
60at the end of the file.
61The
61.Fa handlep
62.Fa handlep
63argument
62is the handle obtained through
63.Fn setnetconfig .
64.Pp
65A call to
66.Fn setnetconfig
67has the effect of
68.Dq binding
69to or

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

85function
86returns a unique handle to be used by
87.Fn getnetconfig .
88.Pp
89The
90.Fn endnetconfig
91function
92should be called when processing is complete to release resources for reuse.
64is the handle obtained through
65.Fn setnetconfig .
66.Pp
67A call to
68.Fn setnetconfig
69has the effect of
70.Dq binding
71to or

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

87function
88returns a unique handle to be used by
89.Fn getnetconfig .
90.Pp
91The
92.Fn endnetconfig
93function
94should be called when processing is complete to release resources for reuse.
95The
93.Fa handlep
96.Fa handlep
97argument
94is the handle obtained through
95.Fn setnetconfig .
96Programmers should be aware, however, that the last call to
97.Fn endnetconfig
98frees all memory allocated by
99.Fn getnetconfig
100for the
101.Ft "struct netconfig"

--- 117 unchanged lines hidden ---
98is the handle obtained through
99.Fn setnetconfig .
100Programmers should be aware, however, that the last call to
101.Fn endnetconfig
102frees all memory allocated by
103.Fn getnetconfig
104for the
105.Ft "struct netconfig"

--- 117 unchanged lines hidden ---