repo.or.cz
/
openal-soft.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Revert "Use std::exchange instead of two swaps"
[openal-soft.git]
/
utils
/
getopt.h
blob
f894d9d9e8f35437e669f7ed9d70f8ba65ce36e8
1
#ifndef GETOPT_H
2
#define GETOPT_H
3
4
#ifndef _WIN32
5
6
#include <unistd.h>
7
8
#else
/* _WIN32 */
9
10
#ifdef __cplusplus
11
extern
"C"
{
12
#endif
/* __cplusplus */
13
14
extern
char
*
optarg
;
15
extern
int
optind
,
opterr
,
optopt
,
optreset
;
16
17
int
getopt
(
int
nargc
,
char
*
const
nargv
[],
const char
*
ostr
);
18
19
#ifdef __cplusplus
20
}
21
#endif
/* __cplusplus */
22
23
#endif
/* !_WIN32 */
24
25
#endif
/* !GETOPT_H */
26