2 * Definitions for a very small libc
3 * NetWatch system management mode administration console
5 * Copyright (c) 2008 Jacob Potter and Joshua Wise. All rights reserved.
6 * This program is free software; you can redistribute and/or modify it under
7 * the terms found in the file LICENSE in the root of this source tree.
16 extern void memcpy(void *dest, const void *src, int bytes);
17 extern void memset(void *dest, int data, int bytes);
18 extern void memmove(void *dest, void *src, int bytes);
19 extern int memcmp(const char *a2, const char *a1, int bytes);
20 extern int strcmp(const char *a2, const char *a1);
21 extern int strncmp(const char *a2, const char *a1, int n);
22 extern int strlen(const char *c);
23 extern void strcat(char *dest, char *src);
24 extern void strcpy(char *a2, const char *a1);
25 extern void puts(const char *c);
26 extern void tohex(char *s, unsigned long l);
27 extern void puthex(unsigned long l);
28 extern int vsprintf(char *s, const char *fmt, va_list args);
29 extern int vsnprintf(char *s, int size, const char *fmt, va_list args);
30 extern int sprintf(char *s, const char *fmt, ...);
31 extern int snprintf(char *s, int size, const char *fmt, ...);
32 extern unsigned short htons(unsigned short in);
33 extern unsigned int htonl(unsigned int in);