Remove no longer used write_file
This commit is contained in:
parent
8e435a66eb
commit
e91b325d9d
12
file_ops.h
12
file_ops.h
|
@ -50,18 +50,6 @@ int read_compressed_file(const char * path, void **buf,
|
||||||
*/
|
*/
|
||||||
int read_file(const char *path, void **buf, ssize_t *length);
|
int read_file(const char *path, void **buf, ssize_t *length);
|
||||||
|
|
||||||
/**
|
|
||||||
* write_file:
|
|
||||||
* @path : path to file.
|
|
||||||
* @data : contents to write to the file.
|
|
||||||
* @size : size of the contents.
|
|
||||||
*
|
|
||||||
* Writes data to a file.
|
|
||||||
*
|
|
||||||
* Returns: true (1) on success, false (0) otherwise.
|
|
||||||
*/
|
|
||||||
bool write_file(const char *path, const void *buf, ssize_t size);
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue