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
#ifdef DONT_INCLUDE_PROTOTYPES ... #endif. - ott--#include "myunistd.h"after editing. Can you explain, what you're trying to do at all? - ott--