zbx_fs_time_t modification_time; /* time of last modification */
zbx_fs_time_t access_time; /* time of last access */
zbx_fs_time_t change_time; /* time of last status change */
int zbx_get_file_time(const char *path, int sym, zbx_file_time_t *time);
void zbx_find_cr_lf_szbyte(const char *encoding, const char **cr, const char **lf, size_t *szbyte);
int zbx_read_text_line_from_file(int fd, char *buf, size_t count, const char *encoding);
int zbx_is_regular_file(const char *path);
char *zbx_fgets(char *buffer, int size, FILE *fp);
int zbx_write_all(int fd, const char *buf, size_t n);
#if defined(_WINDOWS) || defined(__MINGW32__)
# define zbx_open(pathname, flags) __zbx_open(pathname, flags | O_BINARY)
# define ZBX_PATH_SEPARATOR '\\'
int __zbx_open(const char *pathname, int flags);