Mercurial > sos > sos
view 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 source
#ifndef __STRING_H #define __STRING_H 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 *dest, const void *src, size_t num); void* memset(void *dest, u8 value, size_t num); size_t strlen(const char *str); #endif