summaryrefslogtreecommitdiffstats
path: root/gl/getopt_int.h
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2013-08-19 21:27:12 (GMT)
committerHolger Weiss <holger@zedat.fu-berlin.de>2013-08-19 21:27:12 (GMT)
commit26fbe7f1e68bb0c96da32491efcf3696fe6c299b (patch)
treec4d95289187a64e9c7517bf73d8208026c3d2fb3 /gl/getopt_int.h
parent5f79e3e9f62ca5487d9881973149136ba1d19d3e (diff)
downloadmonitoring-plugins-26fbe7f1e68bb0c96da32491efcf3696fe6c299b.tar.gz
Sync with the latest Gnulib code (6f2d632)
Diffstat (limited to 'gl/getopt_int.h')
-rw-r--r--gl/getopt_int.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/gl/getopt_int.h b/gl/getopt_int.h
index 980b750..a6e4b9e 100644
--- a/gl/getopt_int.h
+++ b/gl/getopt_int.h
@@ -1,5 +1,5 @@
1/* Internal declarations for getopt. 1/* Internal declarations for getopt.
2 Copyright (C) 1989-1994, 1996-1999, 2001, 2003-2004, 2009-2010 Free Software 2 Copyright (C) 1989-1994, 1996-1999, 2001, 2003-2004, 2009-2013 Free Software
3 Foundation, Inc. 3 Foundation, Inc.
4 This file is part of the GNU C Library. 4 This file is part of the GNU C Library.
5 5
@@ -40,7 +40,7 @@ extern int _getopt_internal (int ___argc, char **___argv,
40 stop option processing when the first non-option is seen. 40 stop option processing when the first non-option is seen.
41 This is what Unix does. 41 This is what Unix does.
42 This mode of operation is selected by either setting the environment 42 This mode of operation is selected by either setting the environment
43 variable POSIXLY_CORRECT, or using `+' as the first character 43 variable POSIXLY_CORRECT, or using '+' as the first character
44 of the list of option characters, or by calling getopt. 44 of the list of option characters, or by calling getopt.
45 45
46 PERMUTE is the default. We permute the contents of ARGV as we 46 PERMUTE is the default. We permute the contents of ARGV as we
@@ -52,12 +52,12 @@ extern int _getopt_internal (int ___argc, char **___argv,
52 written to expect options and other ARGV-elements in any order 52 written to expect options and other ARGV-elements in any order
53 and that care about the ordering of the two. We describe each 53 and that care about the ordering of the two. We describe each
54 non-option ARGV-element as if it were the argument of an option 54 non-option ARGV-element as if it were the argument of an option
55 with character code 1. Using `-' as the first character of the 55 with character code 1. Using '-' as the first character of the
56 list of option characters selects this mode of operation. 56 list of option characters selects this mode of operation.
57 57
58 The special argument `--' forces an end of option-scanning regardless 58 The special argument '--' forces an end of option-scanning regardless
59 of the value of `ordering'. In the case of RETURN_IN_ORDER, only 59 of the value of 'ordering'. In the case of RETURN_IN_ORDER, only
60 `--' can cause `getopt' to return -1 with `optind' != ARGC. */ 60 '--' can cause 'getopt' to return -1 with 'optind' != ARGC. */
61 61
62enum __ord 62enum __ord
63 { 63 {
@@ -99,8 +99,8 @@ struct _getopt_data
99 /* Handle permutation of arguments. */ 99 /* Handle permutation of arguments. */
100 100
101 /* Describe the part of ARGV that contains non-options that have 101 /* Describe the part of ARGV that contains non-options that have
102 been skipped. `first_nonopt' is the index in ARGV of the first 102 been skipped. 'first_nonopt' is the index in ARGV of the first
103 of them; `last_nonopt' is the index after the last of them. */ 103 of them; 'last_nonopt' is the index after the last of them. */
104 104
105 int __first_nonopt; 105 int __first_nonopt;
106 int __last_nonopt; 106 int __last_nonopt;
@@ -108,7 +108,7 @@ struct _getopt_data
108#if defined _LIBC && defined USE_NONOPTION_FLAGS 108#if defined _LIBC && defined USE_NONOPTION_FLAGS
109 int __nonoption_flags_max_len; 109 int __nonoption_flags_max_len;
110 int __nonoption_flags_len; 110 int __nonoption_flags_len;
111# endif 111#endif
112}; 112};
113 113
114/* The initializer is necessary to set OPTIND and OPTERR to their 114/* The initializer is necessary to set OPTIND and OPTERR to their