Created
January 24, 2021 01:40
-
-
Save trylaarsdam/67a0783be1a7c4f44595d3a360c42183 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int fchmod(int fd, mode_t mode) { | |
errno = ENOSYS; | |
return -1; | |
} | |
int fchmodat(int dirfd, const char* pathname, mode_t mode, int flags) { | |
errno = ENOSYS; | |
return -1; | |
} | |
int symlink(const char* file, const char* linkpath) { | |
errno = ENOSYS; | |
return -1; | |
} | |
ssize_t readlink(const char* pathname, char* buf, size_t bufsiz) { | |
errno = ENOSYS; | |
return -1; | |
} | |
int truncate(const char* path, off_t length) { | |
errno = ENOSYS; | |
return -1; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment