Last change
on this file was
e16e8f2,
checked in by Edwin Eefting <edwin@datux.nl>, 3 years ago
|
bootstuff
|
-
Property mode set to
100644
|
File size:
414 bytes
|
Rev | Line | |
---|
[e16e8f2] | 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 |
---|
Note: See
TracBrowser
for help on using the repository browser.