diff include/string.h @ 99:2a0aa3efc228

The shell script will now theroretically load the program into memory, will not run it. The shell script loads a program into memory and displays the address but as of now does not jump to it (though it does display the address it would jump to) Added a memset function Added a python script (credit for its writing to Jeff) that sets up a filesystem
author Jonathan Pevarnek <pevarnj@gmail.com>
date Sat, 14 May 2011 19:40:18 -0400
parents 917b70f168b0
children 56447a5e2d2f
line wrap: on
line diff
--- a/include/string.h	Sat May 14 17:12:12 2011 -0400
+++ b/include/string.h	Sat May 14 19:40:18 2011 -0400
@@ -4,7 +4,8 @@
 void strcpy(char *dest, const char *src);
 int strcmp(const char *a, const char *b);
 char* strcat(char *dest, const char *src);
-void* memcpy(void *destination, const void *source, size_t num);
+void* memcpy(void *dest, const void *src, size_t num);
+void* memset(void *dest, u8 value, size_t num);
 size_t strlen(const char *str);
 
 #endif