getopt_long.3 (107705) | getopt_long.3 (108037) |
---|---|
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 107705 2002-12-09 13:54:29Z ru $ | 35.\" $FreeBSD: head/lib/libc/stdlib/getopt_long.3 108037 2002-12-18 12:45:11Z ru $ |
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 --- 10 unchanged lines hidden (view full) --- 54.Fn getopt_long 55function is similar to 56.Xr getopt 3 57but it accepts options in two forms: words and characters. 58The 59.Fn getopt_long 60function provides a superset of the functionality of 61.Xr getopt 3 . | 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 --- 10 unchanged lines hidden (view full) --- 54.Fn getopt_long 55function is similar to 56.Xr getopt 3 57but it accepts options in two forms: words and characters. 58The 59.Fn getopt_long 60function provides a superset of the functionality of 61.Xr getopt 3 . |
62The |
|
62.Fn getopt_long | 63.Fn getopt_long |
64function |
|
63can be used in two ways. 64In the first way, every long option understood 65by the program has a corresponding short option, and the option 66structure is only used to translate from long options to short 67options. 68When used in this fashion, 69.Fn getopt_long 70behaves identically to --- 328 unchanged lines hidden --- | 65can be used in two ways. 66In the first way, every long option understood 67by the program has a corresponding short option, and the option 68structure is only used to translate from long options to short 69options. 70When used in this fashion, 71.Fn getopt_long 72behaves identically to --- 328 unchanged lines hidden --- |