mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-24 02:12:09 -05:00
2d045d2a64
sys$fork() now clones all writable regions with per-page COW bits. The pages are then mapped read-only and we handle a PF by COWing the pages. This is quite delightful. Obviously there's lots of work to do still, and it needs better data structures, but the general concept works.
12 lines
319 B
C
12 lines
319 B
C
#pragma once
|
|
|
|
#include "types.h"
|
|
|
|
void memcpy(void*, const void*, DWORD);
|
|
void strcpy(char*, const char*);
|
|
int strcmp(char const*, const char*);
|
|
DWORD strlen(const char*);
|
|
void *memset(void*, BYTE, DWORD);
|
|
char *strdup(const char*);
|
|
int memcmp(const void*, const void*, size_t);
|
|
char* strrchr(const char* str, int ch);
|