diff options
Diffstat (limited to 'pjlib/include/pj/file_io.h')
-rw-r--r-- | pjlib/include/pj/file_io.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pjlib/include/pj/file_io.h b/pjlib/include/pj/file_io.h index c5d9ac6c..0442103c 100644 --- a/pjlib/include/pj/file_io.h +++ b/pjlib/include/pj/file_io.h @@ -163,6 +163,16 @@ PJ_DECL(pj_status_t) pj_file_setpos(pj_oshandle_t fd, PJ_DECL(pj_status_t) pj_file_getpos(pj_oshandle_t fd, pj_off_t *pos); +/** + * Flush file buffers. + * + * @param fd The file descriptor. + * + * @return PJ_SUCCESS or the appropriate error code on error. + */ +PJ_DECL(pj_status_t) pj_file_flush(pj_oshandle_t fd); + + /** @} */ |