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
commit 740140a661
Notes: sideshowbarker 2024-07-18 06:54:42 +09:00
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>