libarmutils  1.4
 All Data Structures Files Functions Variables Typedefs Enumerations Macros Groups
file_utils.h File Reference

File Utilities. More...

Go to the source code of this file.

Macros

#define FC_CHECK_MD5   0x1
 use md5 validation when copying a file

Functions

int file_copy (const char *src_file, const char *dest_file, int flags)
 Copy a file.
int file_exists (const char *file)
 Check if a file exists.
char * file_get_md5 (const char *file, char *hexdigest)
 Get the MD5 of a file.
int file_move (const char *src_file, const char *dest_file, int use_md5_validation)
 Move a file.
void * file_mmap (const char *file, size_t *map_size)
 Create a memory map of a file for reading.
int file_munmap (void *map_addr, size_t map_size)
 Remove a memory map created to read a file.

Detailed Description

File Utilities.

Definition in file file_utils.h.