Debian Codegraph @

packages/seacas/libraries/suplib_c/XGetopt.h

raw
1 // XGetopt.h Version 1.2
2 //
3 // Author: Hans Dietrich
4 // [email protected]
5 //
6 // This software is released into the public domain.
7 // You are free to use it in any way you like.
8 //
9 // This software is provided "as is" with no expressed
10 // or implied warranty. I accept no liability for any
11 // damage or loss of business that this software may cause.
12 //
13 ///////////////////////////////////////////////////////////////////////////////
14 #pragma once
15
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
19 extern int optind;
20 extern int optopt;
21 extern int opterr;
22 extern char *optarg;
23
24 int getopt(int argc, char *const argv[], const char *optstring);
25 #ifdef __cplusplus
26 } /* close brackets on extern "C" declaration */
27 #endif