blob: 2205808894c3fbb128fb3d2044db62a7f0de711e (
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. The size_t is the size of output buffer (only
* to be used in case of success).
*/
int
read_file(char *, char **, size_t *);
#endif /* UTIL_H */
|