change head file
This commit is contained in:
parent
1e34d8ca9a
commit
a191917452
|
@ -22,19 +22,19 @@ extern "C" {
|
||||||
|
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
|
// init taos file module
|
||||||
|
int tfinit();
|
||||||
|
|
||||||
|
// clean up taos file module
|
||||||
|
void tfcleanup();
|
||||||
|
|
||||||
// the same syntax as UNIX standard open/close/read/write
|
// the same syntax as UNIX standard open/close/read/write
|
||||||
// but FD is int64_t and will never be reused
|
// but FD is int64_t and will never be reused
|
||||||
|
|
||||||
int64_t tfopen(const char *pathname, int flags);
|
int64_t tfopen(const char *pathname, int flags);
|
||||||
int64_t tfclose(int64_t tfd);
|
int64_t tfclose(int64_t tfd);
|
||||||
ssize_t tfwrite(int64_t tfd, const void *buf, size_t count);
|
ssize_t tfwrite(int64_t tfd, const void *buf, size_t count);
|
||||||
ssize_t tfread(int64_t tfd, void *buf, size_t count);
|
ssize_t tfread(int64_t tfd, void *buf, size_t count);
|
||||||
|
|
||||||
// init taos file module
|
|
||||||
int tfinit();
|
|
||||||
|
|
||||||
// clean up taos fle module
|
|
||||||
void tfcleanup();
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue