forked from stepcode/stepcode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathxgetopt.h
More file actions
31 lines (25 loc) · 695 Bytes
/
xgetopt.h
File metadata and controls
31 lines (25 loc) · 695 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// XGetopt.h Version 1.2
//
// Author: Hans Dietrich
// hdietrich2@hotmail.com
//
// This software is released into the public domain.
// You are free to use it in any way you like.
//
// This software is provided "as is" with no expressed
// or implied warranty. I accept no liability for any
// damage or loss of business that this software may cause.
//
///////////////////////////////////////////////////////////////////////////////
#ifndef XGETOPT_H
#define XGETOPT_H
#ifdef __cplusplus
extern "C" {
#endif
extern int optind, opterr;
extern char * optarg;
int getopt( int argc, char * argv[], char * optstring );
#ifdef __cplusplus
}
#endif
#endif //XGETOPT_H