#include #include typedef __SIZE_TYPE__ size_t; size_t strlen (const char *s) { size_t l = 0; while (*s++) l++; return l; } void *memcpy (void *dest, const void *src, size_t n) { const char *s = (const char *) src; char *d = (char *) dest; int i; for (i=0; i