1 #ifndef LIBUTIL_LOADFILE_H
2 #define LIBUTIL_LOADFILE_H
3 
4 #include <stddef.h>
5 #include <stdio.h>
6 
7 /* loadfile() returns the true size of the file, but will guarantee valid,
8    zero-padded memory out to this boundary. */
9 #define LOADFILE_ZERO_PAD	64
10 
11 int loadfile(const char *, void **, size_t *);
12 int zloadfile(const char *, void **, size_t *);
13 int floadfile(FILE *, void **, size_t *, const void *, size_t);
14 
15 #endif
16