First steps: getting memory map from Limine request and looking at it
This commit is contained in:
6
src/string/string.c
Normal file
6
src/string/string.c
Normal file
@@ -0,0 +1,6 @@
|
||||
char* strcpy(char *dest, const char *src)
|
||||
{
|
||||
char *temp = dest;
|
||||
while((*dest++ = *src++));
|
||||
return temp;
|
||||
}
|
||||
6
src/string/string.h
Normal file
6
src/string/string.h
Normal file
@@ -0,0 +1,6 @@
|
||||
#ifndef STRING_H
|
||||
#define STRING_H
|
||||
|
||||
char *strcpy(char *dest, const char *src);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user