bump-allocated PID but kheap needs fix to kmalloc more than PAGE_SIZE

This commit is contained in:
2026-02-02 11:05:27 +01:00
parent 4a90de9521
commit 7bb542d901
8 changed files with 96 additions and 31 deletions

View File

@@ -16,4 +16,11 @@ char *strcat(char *dest, const char *src){
dest[i+j] = src[j];
dest[i+j] = '\0';
return dest;
}
// https://stackoverflow.com/questions/14159625/implementation-of-strncpy
void strncpy(char* dst, const char* src, size_t n)
{
size_t i = 0;
while(i++ != n && (*dst++ = *src++));
}