diff options
| author | bellard <bellard> | 2002-08-18 13:25:12 +0000 |
|---|---|---|
| committer | bellard <bellard> | 2002-08-18 13:25:12 +0000 |
| commit | 59b27e85d9ff59f61dee0eeb356660e3507c9a75 (patch) | |
| tree | 8d112f597f61fc4d170bcad2ce3e886f6da06a0c /tcclib.h | |
| parent | 796866862f43c7f96d5356a8f30f4c5118f03302 (diff) | |
| download | tinycc-59b27e85d9ff59f61dee0eeb356660e3507c9a75.tar.gz tinycc-59b27e85d9ff59f61dee0eeb356660e3507c9a75.tar.bz2 | |
added include tests
Diffstat (limited to 'tcclib.h')
| -rw-r--r-- | tcclib.h | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -4,6 +4,8 @@ * only for your convenience so that you do not need to put the whole * glibc include files on your floppy disk */ +#ifndef _TCCLIB_H +#define _TCCLIB_H #include <stddef.h> #include <stdarg.h> @@ -42,13 +44,13 @@ int fprintf(FILE *stream, const char *format, ...); int sprintf(char *str, const char *format, ...); int snprintf(char *str, size_t size, const char *format, ...); int asprintf(char **strp, const char *format, ...); -int dprintf(int d, const char *format, ...); +int dprintf(int fd, const char *format, ...); int vprintf(const char *format, va_list ap); int vfprintf(FILE *stream, const char *format, va_list ap); int vsprintf(char *str, const char *format, va_list ap); int vsnprintf(char *str, size_t size, const char *format, va_list ap); int vasprintf(char **strp, const char *format, va_list ap); -int vdprintf(int d, const char *format, va_list ap); +int vdprintf(int fd, const char *format, va_list ap); void perror(const char *s); @@ -58,6 +60,7 @@ char *strchr(const char *s, int c); char *strrchr(const char *s, int c); char *strcpy(char *dest, const char *src); void *memcpy(void *dest, const void *src, size_t n); +void *memmove(void *dest, const void *src, size_t n); void *memset(void *s, int c, size_t n); char *strdup(const char *s); @@ -70,3 +73,5 @@ void *dlopen(const char *filename, int flag); const char *dlerror(void); void *dlsym(void *handle, char *symbol); int dlclose(void *handle); + +#endif /* _TCCLIB_H */ |
