aboutsummaryrefslogtreecommitdiff
path: root/tcclib.h
diff options
context:
space:
mode:
authorbellard <bellard>2001-11-11 18:01:29 +0000
committerbellard <bellard>2001-11-11 18:01:29 +0000
commiteb0e3e70dcb42dd60122158e1b9dbdcd0fac3a3e (patch)
treeb8eaf1e4989bd4627c43cf639019e9572524644c /tcclib.h
parent605a028bf4454b4c31a6f6b13b78e9974cdfd9c0 (diff)
downloadtinycc-eb0e3e70dcb42dd60122158e1b9dbdcd0fac3a3e.tar.gz
tinycc-eb0e3e70dcb42dd60122158e1b9dbdcd0fac3a3e.tar.bz2
update
Diffstat (limited to 'tcclib.h')
-rw-r--r--tcclib.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/tcclib.h b/tcclib.h
index 67deeec..d269434 100644
--- a/tcclib.h
+++ b/tcclib.h
@@ -19,6 +19,9 @@ unsigned long int strtoul(const char *nptr, char **endptr, int base);
/* stdio.h */
typedef struct __FILE FILE;
#define EOF (-1)
+extern FILE *stdin;
+extern FILE *stdout;
+extern FILE *stderr;
FILE *fopen(const char *path, const char *mode);
FILE *fdopen(int fildes, const char *mode);
FILE *freopen(const char *path, const char *mode, FILE *stream);
@@ -58,6 +61,10 @@ void *memset(void *s, int c, size_t n);
char *strdup(const char *s);
/* dlfcn.h */
+#define RTLD_LAZY 0x001
+#define RTLD_NOW 0x002
+#define RTLD_GLOBAL 0x100
+
void *dlopen(const char *filename, int flag);
const char *dlerror(void);
void *dlsym(void *handle, char *symbol);