mirror of
https://github.com/MariaDB/server.git
synced 2025-01-23 23:34:34 +01:00
2a1e0d1618
git-svn-id: file:///svn/toku/tokudb.1032b@8109 c7de825b-a66e-492c-adef-691d508d4ae1
39 lines
562 B
C
39 lines
562 B
C
#ifndef _TOKUWIN_UNISTD_H
|
|
#define _TOKUWIN_UNISTD_H
|
|
|
|
#if defined(__cplusplus)
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include <io.h>
|
|
#include <stdio.h>
|
|
#include <stdint.h>
|
|
|
|
int fsync(int fildes);
|
|
|
|
int
|
|
ftruncate(int fildes, int64_t offset);
|
|
|
|
int64_t
|
|
pwrite(int fildes, const void *buf, size_t nbyte, int64_t offset);
|
|
|
|
int64_t
|
|
pread(int fildes, void *buf, size_t nbyte, int64_t offset);
|
|
|
|
unsigned int
|
|
sleep(unsigned int);
|
|
|
|
int
|
|
usleep(unsigned int);
|
|
|
|
int
|
|
getopt(int argc, char *const argv[], const char *optstring);
|
|
|
|
extern char *optarg;
|
|
|
|
#if defined(__cplusplus)
|
|
};
|
|
#endif
|
|
|
|
#endif
|
|
|