X-Git-Url: http://git.joshuawise.com/netwatch.git/blobdiff_plain/6e6d4a8b902639de18da98519a2141ea22432700..f1584bb056629473dd1208034fed761cbaea8e29:/include/minilib.h diff --git a/include/minilib.h b/include/minilib.h index ef4f302..2e7eca6 100644 --- a/include/minilib.h +++ b/include/minilib.h @@ -1,3 +1,13 @@ +/* minilib.h + * Definitions for a very small libc + * NetWatch system management mode administration console + * + * Copyright (c) 2008 Jacob Potter and Joshua Wise. All rights reserved. + * This program is free software; you can redistribute and/or modify it under + * the terms found in the file LICENSE in the root of this source tree. + * + */ + #ifndef MINILIB_H #define MINILIB_H @@ -8,7 +18,9 @@ extern void memset(void *dest, int data, int bytes); extern void memmove(void *dest, void *src, int bytes); extern int memcmp(const char *a2, const char *a1, int bytes); extern int strcmp(const char *a2, const char *a1); +extern int strncmp(const char *a2, const char *a1, int n); extern int strlen(const char *c); +extern void strcat(char *dest, char *src); extern void strcpy(char *a2, const char *a1); extern void puts(const char *c); extern void tohex(char *s, unsigned long l);