llvm.org GIT mirror llvm / 3c0ced5
Implement more functions git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5538 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 16 years ago
1 changed file(s) with 6 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
22 #include
33 #include
44 #include
5
6 // Varargs function definitions
7 int ioctl(int d, int request) {return 0; }
8 int printf(const char *X) {return 0; }
9
510
611 int gettimeofday(struct timeval *tv, void *tz) { return 0; }
712 void *xmalloc(size_t X) { return malloc(X); }
3641 size_t fread(void *ptr, size_t size, size_t nmemb, FILE *stream) { return 0; }
3742 int fseek(FILE *stream, long offset, int whence) { return 0; }
3843 int feof(FILE *stream) { return 0; }
39 int fputs(const char *s, FILE *stream) { return 0; }
44 int fputs(const char *s, char *stream) { return 0; }
4045 int ferror(FILE *F) { return 0; }
4146 FILE *fdopen(int fildes, const char *mode) { return 0;}
4247 int ungetc(int c, FILE *stream) { return 0; }