Deleted Added
full compact
getopt_long.3 (108037) getopt_long.3 (126143)
1.\" $NetBSD: getopt_long.3,v 1.8 2002/06/03 12:01:43 wiz Exp $
2.\"
3.\" Copyright (c) 1988, 1991, 1993
4.\" The Regents of the University of California. All rights reserved.
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:

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

27.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
28.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32.\" SUCH DAMAGE.
33.\"
34.\" @(#)getopt.3 8.5 (Berkeley) 4/27/95
1.\" $NetBSD: getopt_long.3,v 1.8 2002/06/03 12:01:43 wiz Exp $
2.\"
3.\" Copyright (c) 1988, 1991, 1993
4.\" The Regents of the University of California. All rights reserved.
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:

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

27.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
28.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32.\" SUCH DAMAGE.
33.\"
34.\" @(#)getopt.3 8.5 (Berkeley) 4/27/95
35.\" $FreeBSD: head/lib/libc/stdlib/getopt_long.3 108037 2002-12-18 12:45:11Z ru $
35.\" $FreeBSD: head/lib/libc/stdlib/getopt_long.3 126143 2004-02-23 05:07:11Z ache $
36.\"
37.Dd April 1, 2000
38.Dt GETOPT_LONG 3
39.Os
40.Sh NAME
41.Nm getopt_long
42.Nd get long options from command line argument list
43.Sh LIBRARY
44.Lb libc
45.Sh SYNOPSIS
46.In getopt.h
36.\"
37.Dd April 1, 2000
38.Dt GETOPT_LONG 3
39.Os
40.Sh NAME
41.Nm getopt_long
42.Nd get long options from command line argument list
43.Sh LIBRARY
44.Lb libc
45.Sh SYNOPSIS
46.In getopt.h
47.Vt extern char *optarg ;
48.Vt extern int optind ;
49.Vt extern int optopt ;
50.Vt extern int opterr ;
51.Vt extern int optreset ;
47.Ft int
48.Fo getopt_long
49.Fa "int argc" "char * const *argv" "const char *optstring"
50.Fa "struct option *long options" "int *index"
51.Fc
52.Sh DESCRIPTION
53The
54.Fn getopt_long

--- 346 unchanged lines hidden ---
52.Ft int
53.Fo getopt_long
54.Fa "int argc" "char * const *argv" "const char *optstring"
55.Fa "struct option *long options" "int *index"
56.Fc
57.Sh DESCRIPTION
58The
59.Fn getopt_long

--- 346 unchanged lines hidden ---