-
-
Notifications
You must be signed in to change notification settings - Fork 150
Expand file tree
/
Copy pathoptions.h
More file actions
22 lines (17 loc) · 545 Bytes
/
options.h
File metadata and controls
22 lines (17 loc) · 545 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* @copyright SUBLEQ LTD. (2025)
* @license MIT */
#ifndef OPTIONS_H
#define OPTIONS_H
#ifdef __cplusplus
extern "C" {
#endif
extern int dbcc_opterr, /**< if error message should be printed */
dbcc_optind, /**< index into parent argv vector */
dbcc_optopt, /**< character checked for validity */
dbcc_optreset; /**< reset getopt */
extern char *dbcc_optarg; /**< argument associated with option */
int dbcc_getopt(int nargc, char *const nargv[], const char *ostr);
#ifdef __cplusplus
}
#endif
#endif