mirror of
https://github.com/RGBCube/serenity
synced 2025-05-24 05:55:06 +00:00

I added a dead-simple malloc that only allows allocations < 4096 bytes. It just forwards the request to mmap() every time. I also added simplified versions of opendir() and readdir().
24 lines
385 B
C
24 lines
385 B
C
#pragma once
|
|
|
|
extern "C" {
|
|
|
|
typedef unsigned int dword;
|
|
typedef unsigned short word;
|
|
typedef unsigned char byte;
|
|
|
|
typedef signed int signed_dword;
|
|
typedef signed short signed_word;
|
|
typedef signed char signed_byte;
|
|
|
|
typedef dword uid_t;
|
|
typedef dword gid_t;
|
|
typedef dword pid_t;
|
|
|
|
typedef dword size_t;
|
|
typedef signed_dword ssize_t;
|
|
|
|
typedef dword ino_t;
|
|
typedef signed_dword off_t;
|
|
|
|
}
|
|
|