I’m implementing right now some syscalls from unistd.h and fcntl.h (open, read, close, e.t.c)
Some of the require special flags and macros (O_CREAT, O_RDWR)
Is there a way to include only the flags and macros without the function definitions
from unistd.h and fcntl.h?
Thanks
Perhaps the
-imacrosoption togccis what you are looking for.