1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 02:27:43 +00:00

Kernel+LibC: Share definitions in fcntl.h and sys/types.h

This patch begins the work of sharing types and macros between Kernel
and LibC instead of duplicating them via the kludge in UnixTypes.h.

The basic idea is that the Kernel vends various POSIX headers via
Kernel/API/POSIX/ and LibC simply #include's them to get the macros.
This commit is contained in:
Andreas Kling 2021-08-14 15:36:26 +02:00
parent 5c3440c5db
commit 740140a661
6 changed files with 166 additions and 162 deletions

View file

@ -7,6 +7,7 @@
#include <errno.h>
#include <fcntl.h>
#include <limits.h>
#include <stdarg.h>
#include <string.h>
#include <syscall.h>