提交 a1919174 编写于 作者: 陶建辉(Jeff)'s avatar 陶建辉(Jeff)

change head file

上级 1e34d8ca
...@@ -22,19 +22,19 @@ extern "C" { ...@@ -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
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册