Deleted Added
full compact
getsubopt.3 (59460) getsubopt.3 (68854)
1.\" Copyright (c) 1990, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

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

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" @(#)getsubopt.3 8.1 (Berkeley) 6/9/93
1.\" Copyright (c) 1990, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

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

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" @(#)getsubopt.3 8.1 (Berkeley) 6/9/93
33.\" $FreeBSD: head/lib/libc/stdlib/getsubopt.3 59460 2000-04-21 09:42:15Z phantom $
33.\" $FreeBSD: head/lib/libc/stdlib/getsubopt.3 68854 2000-11-17 11:44:16Z ru $
34.\"
35.Dd June 9, 1993
36.Dt GETSUBOPT 3
37.Os
38.Sh NAME
39.Nm getsubopt
40.Nd get sub options from an argument
41.Sh LIBRARY

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

90.Dv NULL
91if no
92tokens were present.
93The argument
94.Fa valuep
95will be set to point to the ``value'' portion of the token, or
96.Dv NULL
97if no ``value'' portion was present.
34.\"
35.Dd June 9, 1993
36.Dt GETSUBOPT 3
37.Os
38.Sh NAME
39.Nm getsubopt
40.Nd get sub options from an argument
41.Sh LIBRARY

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

90.Dv NULL
91if no
92tokens were present.
93The argument
94.Fa valuep
95will be set to point to the ``value'' portion of the token, or
96.Dv NULL
97if no ``value'' portion was present.
98.Sh EXAMPLE
98.Sh EXAMPLES
99.Bd -literal -compact
100char *tokens[] = {
101 #define ONE 0
102 "one",
103 #define TWO 1
104 "two",
105 NULL
106};

--- 43 unchanged lines hidden ---
99.Bd -literal -compact
100char *tokens[] = {
101 #define ONE 0
102 "one",
103 #define TWO 1
104 "two",
105 NULL
106};

--- 43 unchanged lines hidden ---