aboutsummaryrefslogtreecommitdiffstats
path: root/com32/include/syslinux/loadfile.h
blob: c565cc9a491e6eb5acc8884af6b405f480ef6cab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef LIBUTIL_LOADFILE_H
#define LIBUTIL_LOADFILE_H

#include <stddef.h>
#include <stdio.h>

/* loadfile() returns the true size of the file, but will guarantee valid,
   zero-padded memory out to this boundary. */
#define LOADFILE_ZERO_PAD	64

int loadfile(const char *, void **, size_t *);
int floadfile(FILE *, void **, size_t *, const void *, size_t);

#endif