ladybird/AK/kmalloc.h
Andreas Kling a32b3a3ddf Implement /proc/PID/vm.
Refactored SyntheticFileSystem to maintain an arbitrary directory structure.
ProcFileSystem creates a directory entry in /proc for each new process.
2018-10-26 17:44:19 +02:00

26 lines
348 B
C

#pragma once
#include "Compiler.h"
#ifdef SERENITY
#ifdef USERLAND
#include <LibC/stdlib.h>
#else
#include <Kernel/kmalloc.h>
#endif
#else
#include <new>
#include "Types.h"
extern "C" {
void* kcalloc(size_t nmemb, size_t size);
void* kmalloc(size_t size) MALLOC_ATTR;
void kfree(void* ptr);
void* krealloc(void* ptr, size_t size);
}
#endif