added hcl_flushio() and HCL_IO_FLUSH

This commit is contained in:
2019-04-17 05:37:56 +00:00
parent 842b5491bd
commit 0cbf9e4edf
3 changed files with 43 additions and 8 deletions

View File

@ -833,7 +833,8 @@ enum hcl_iocmd_t
HCL_IO_OPEN,
HCL_IO_CLOSE,
HCL_IO_READ,
HCL_IO_WRITE
HCL_IO_WRITE,
HCL_IO_FLUSH
};
typedef enum hcl_iocmd_t hcl_iocmd_t;
@ -1620,6 +1621,9 @@ HCL_EXPORT void hcl_detachio (
hcl_t* hcl
);
HCL_EXPORT void hcl_flushio (
hcl_t* hcl
);
HCL_EXPORT hcl_oop_t hcl_read (
hcl_t* hcl