modified to use library functions (memcpy(), bzero())

This commit is contained in:
Markus Fröschle
2013-08-21 08:55:47 +00:00
parent 8a7f62060a
commit dd2cc0d3b9
4 changed files with 20 additions and 23 deletions

View File

@@ -18,6 +18,7 @@ extern char *strcat(char *dst, const char *src);
extern char *strncat(char *dst, const char *src, int max);
extern int atoi(const char *c);
extern void *memcpy(void *dst, const void *src, size_t n);
extern void bzero(void *s, size_t n);
#define isdigit(c) (((c) >= '0') && ((c) <= '9'))
#define isupper(c) ((c) >= 'A' && ((c) <= 'Z'))