3505
|
1 /* |
|
2 |
|
3 Copyright (C) 2000 John W. Eaton |
|
4 |
|
5 This file is part of Octave. |
|
6 |
|
7 Octave is free software; you can redistribute it and/or modify it |
|
8 under the terms of the GNU General Public License as published by the |
|
9 Free Software Foundation; either version 2, or (at your option) any |
|
10 later version. |
|
11 |
|
12 Octave is distributed in the hope that it will be useful, but WITHOUT |
|
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
15 for more details. |
|
16 |
|
17 You should have received a copy of the GNU General Public License |
|
18 along with Octave; see the file COPYING. If not, write to the Free |
5307
|
19 Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA |
|
20 02110-1301, USA. |
3505
|
21 |
|
22 */ |
|
23 |
|
24 #ifdef HAVE_CONFIG_H |
|
25 #include <config.h> |
|
26 #endif |
|
27 |
4378
|
28 #include "getopt.h" |
3505
|
29 |
|
30 int |
|
31 octave_getopt (int argc, char *const *argv, const char *optstring) |
|
32 { |
|
33 return getopt (argc, argv, optstring); |
|
34 } |
|
35 |
|
36 int |
|
37 octave_getopt_long (int argc, char *const *argv, const char *options, |
|
38 const struct option *long_options, int *opt_index) |
|
39 { |
|
40 return getopt_long (argc, argv, options, long_options, opt_index); |
|
41 } |
|
42 |
|
43 |
|
44 /* |
|
45 ;;; Local Variables: *** |
|
46 ;;; mode: C++ *** |
|
47 ;;; End: *** |
|
48 */ |