group
group__libshare__fsmem
Provides the ability to read and write entire files on the local hard-disk.
Local File Buffer
int shfs_mem_read
(char *path, shbuf_t *buff)
Read a file from the local filesystem into a memory buffer.
int shfs_read_mem
(char *path, char **data_p, size_t *data_len_p)
Read a file from the local filesystem into memory.
int shfs_mem_write
(char *path, shbuf_t *buff)
Write a file from a memory buffer to the local filesystem.
int shfs_write_mem
(char *path, void *data, size_t data_len)
Write a file from memory to the local filesystem.