#include #include #include extern "C" { int open(const char* pathname, int flags) { return (int)syscall(SYS_open, pathname, flags); } }