1 2 3 4 5 6 7 8 9 10 11 12
#include <bits/panic.h> #include <fcntl.h> int open(const char *path, int flags, ...) { (void)path; (void)flags; __libc_panic("unimplemented"); } int fcntl(int fd, int cmd, ...) { (void)fd; (void)cmd; __libc_panic("unimplemented"); }