blob: 056f5a8d84b50bc25cab0368513fd8ff1ce2a8cd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#ifndef UTIL_H
#define UTIL_H
/*
* Reads the file denoted by path into a newly allocated output buffer. Returns
* 0 for success, -1 for error. read_size is the size of output buffer (only to
* be used in case of success).
*/
int
read_file(char *path, char **output, size_t * read_size);
#endif /* UTIL_H */
|