summaryrefslogtreecommitdiffstats
path: root/loader2/loadermisc.h
blob: a01e2b7c72cd9bb233650679c3798b8ee5c0be7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef H_LOADER_MISC_H
#define H_LOADER_MISC_H
#include <stdio.h>
#include <stdarg.h>

int copyFile(char * source, char * dest);
int copyFileFd(int infd, char * dest);
char * readLine(FILE * f);
int simpleStringCmp(const void * a, const void * b);
char * sdupprintf(const char *format, ...) __attribute__ ((format (printf, 1, 2)));
int totalMemory(void);

#endif