change head file

This commit is contained in:
Jeff Tao 2020-11-06 03:59:43 +00:00
parent 1e34d8ca9a
commit a191917452
1 changed files with 6 additions and 6 deletions

View File

@ -22,19 +22,19 @@ extern "C" {
#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
// but FD is int64_t and will never be reused
int64_t tfopen(const char *pathname, int flags);
int64_t tfclose(int64_t tfd);
ssize_t tfwrite(int64_t tfd, const 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
}