projects
/
fio.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
0dd4608cd8a6bbd671631db8cb6e7a4a0c721d23
[fio.git]
/
lib
/
getopt.h
1
#ifndef _AIX
2
#ifndef __hpux
3
4
#include <getopt.h>
5
6
#else /* _AIX */
7
8
#ifndef _GETOPT_H
9
#define _GETOPT_H
10
11
struct option {
12
const char *name;
13
int has_arg;
14
int *flag;
15
int val;
16
};
17
18
enum {
19
no_argument = 0,
20
required_argument = 1,
21
optional_argument = 2,
22
};
23
24
int getopt_long_only(int, char *const *, const char *, const struct option *, int *);
25
26
#endif /* _GETOPT_H */
27
#endif /* __hpux */
28
#endif /* _AIX */