1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-24 05:55:06 +00:00
serenity/LibC/types.h
Andreas Kling bca4b71bfa Lots of hacking to make a very simple "ls" utility.
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().
2018-10-24 12:50:07 +02:00

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;
}