]>
Commit | Line | Data |
---|---|---|
36ce375d JP |
1 | #ifndef MINILIB_H |
2 | #define MINILIB_H | |
d56898ee | 3 | |
d24901e6 JW |
4 | #include <stdarg.h> |
5 | ||
42e26afa | 6 | extern void memcpy(void *dest, const void *src, int bytes); |
d24901e6 JW |
7 | extern void memmove(void *dest, void *src, int bytes); |
8 | extern int memcmp(const char *a2, const char *a1, int bytes); | |
9 | extern int strcmp(const char *a2, const char *a1); | |
a9d1719c | 10 | extern int strlen(const char *c); |
d24901e6 | 11 | extern void strcpy(char *a2, const char *a1); |
a9d1719c | 12 | extern void puts(const char *c); |
d24901e6 JW |
13 | extern void tohex(char *s, unsigned long l); |
14 | extern void puthex(unsigned long l); | |
15 | extern int vsprintf(char *s, const char *fmt, va_list args); | |
16 | extern int vsnprintf(char *s, int size, const char *fmt, va_list args); | |
17 | extern int sprintf(char *s, const char *fmt, ...); | |
18 | extern int snprintf(char *s, int size, const char *fmt, ...); | |
d56898ee | 19 | |
20 | #endif |