BitLab 0.1.0
BitLab: A Browser for the Bitcoin P2P Network and Blockchain
Loading...
Searching...
No Matches
file.h
Go to the documentation of this file.
1#ifndef __FILE_H
2#define __FILE_H
3
4#include <stdio.h>
5#include <stdlib.h>
6
14void read_file(const char* filename, char** buffer, size_t* size);
15
23void write_file(const char* filename, const char* buffer, size_t size);
24
32void append_file(const char* filename, const char* buffer, size_t size);
33
34#endif // __FILE_H
void read_file(const char *filename, char **buffer, size_t *size)
Read the file.
Definition file.c:9
void append_file(const char *filename, const char *buffer, size_t size)
Append the file.
Definition file.c:48
void write_file(const char *filename, const char *buffer, size_t size)
Write the file.
Definition file.c:37