fcntl.c 150 B

1234567
  1. #include <fcntl.h>
  2. #include <syscall.h>
  3. int open(const char* filename, int flags, ...)
  4. {
  5. return syscall2(SYS_open, (uint32_t)filename, flags);
  6. }