Lely core libraries
2.2.5
unistd.h
Go to the documentation of this file.
1
22
#ifndef LELY_LIBC_UNISTD_H_
23
#define LELY_LIBC_UNISTD_H_
24
25
#include <
lely/features.h
>
26
27
#ifndef LELY_HAVE_UNISTD_H
28
#if defined(_POSIX_C_SOURCE) || defined(__MINGW32__) || defined(__NEWLIB__)
29
#define LELY_HAVE_UNISTD_H 1
30
#endif
31
#endif
32
33
#if LELY_HAVE_UNISTD_H
34
#include <
unistd.h
>
35
#else // !LELY_HAVE_UNISTD_H
36
37
#ifdef __cplusplus
38
extern
"C"
{
39
#endif
40
42
char
*optarg;
43
45
int
optind;
46
52
int
opterr;
53
55
int
optopt;
56
73
int
getopt(
int
argc,
char
*
const
argv[],
const
char
*optstring);
74
84
unsigned
sleep(
unsigned
seconds);
85
86
#ifdef __cplusplus
87
}
88
#endif
89
90
#endif // !LELY_HAVE_UNISTD_H
91
92
#endif // !LELY_LIBC_UNISTD_H_
features.h
unistd.h
include
lely
libc
unistd.h
Generated by
1.8.17