int fd,
int64_t offset);
int _real_munmap(void* addr, size_t length);
-int _real_open(const char* pathname, int oflag, mode_t cmode, int* newfd);
+int _real_open(const char* pathname, int oflag, mode_t mode, int* newfd);
int _real_open_resource(const char* file, int* fd);
int _real_read(int fd, void* buf, size_t count, size_t* nread);
int _real_rmdir(const char* pathname);
int _real_write(int fd, const void* buf, size_t count, size_t* nwrote);
+int _real_getcwd(char* pathname, size_t len);
EXTERN_C_END