annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
97
917b70f168b0 Some minor bug fixes
Jonathan Pevarnek <pevarnj@gmail.com>
parents: 94
diff changeset
1 #ifndef __STRING_H
917b70f168b0 Some minor bug fixes
Jonathan Pevarnek <pevarnj@gmail.com>
parents: 94
diff changeset
2 #define __STRING_H
94
191e99dffd6c Moved some std.h functions to string.h, worked on a simple version of sprintf
Jonathan Pevarnek <pevarnj@gmail.com>
parents:
diff changeset
3
191e99dffd6c Moved some std.h functions to string.h, worked on a simple version of sprintf
Jonathan Pevarnek <pevarnj@gmail.com>
parents:
diff changeset
4 void strcpy(char *dest, const char *src);
191e99dffd6c Moved some std.h functions to string.h, worked on a simple version of sprintf
Jonathan Pevarnek <pevarnj@gmail.com>
parents:
diff changeset
5 int strcmp(const char *a, const char *b);
191e99dffd6c Moved some std.h functions to string.h, worked on a simple version of sprintf
Jonathan Pevarnek <pevarnj@gmail.com>
parents:
diff changeset
6 char* strcat(char *dest, const char *src);
99
2a0aa3efc228 The shell script will now theroretically load the program into memory, will not run it.
Jonathan Pevarnek <pevarnj@gmail.com>
parents: 97
diff changeset
7 void* memcpy(void *dest, const void *src, size_t num);
2a0aa3efc228 The shell script will now theroretically load the program into memory, will not run it.
Jonathan Pevarnek <pevarnj@gmail.com>
parents: 97
diff changeset
8 void* memset(void *dest, u8 value, size_t num);
94
191e99dffd6c Moved some std.h functions to string.h, worked on a simple version of sprintf
Jonathan Pevarnek <pevarnj@gmail.com>
parents:
diff changeset
9 size_t strlen(const char *str);
191e99dffd6c Moved some std.h functions to string.h, worked on a simple version of sprintf
Jonathan Pevarnek <pevarnj@gmail.com>
parents:
diff changeset
10
191e99dffd6c Moved some std.h functions to string.h, worked on a simple version of sprintf
Jonathan Pevarnek <pevarnj@gmail.com>
parents:
diff changeset
11 #endif