MySQL 5.6.14 Source Code Document
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
defs.c
1
/* dummy_defs.c
2
*
3
* Create blank UNIX function definitions to allow win32 builds. */
4
5
#include <config.h>
6
7
int
lstat(
const
char
*path,
struct
stat *tstat) {
8
return
-1;
9
}
10
11
int
getrlimit(
int
__resource,
struct
rlimit *rlimits) {
12
rlimits->rlim_cur = 1;
// Hack: just enough to allow main() to move forward.
13
rlimits->rlim_max = 1;
14
return
0;
15
}
16
17
int
setrlimit(
int
__resource,
struct
rlimit *__rlimits) {
18
return
0;
19
}
20
21
_uid_t getuid(
void
) {
22
return
-1;
23
}
24
_uid_t geteuid(
void
) {
25
return
-1;
26
}
27
28
struct
passwd *getpwnam(
const
char
*
name
) {
29
return
0;
30
}
31
32
int
setuid(_uid_t uid) {
33
return
-1;
34
}
35
36
int
setgid(_uid_t gid) {
37
return
-1;
38
}
plugin
innodb_memcached
daemon_memcached
win32
defs.c
Generated on Sat Nov 9 2013 01:25:13 for MySQL 5.6.14 Source Code Document by
1.8.1.2