LibCore: Add syscall wrapper for chmod()

This commit is contained in:
Kenneth Myhra 2021-11-27 15:46:11 +01:00 committed by Brian Gianforcaro
commit 0d76d15f9d
Notes: sideshowbarker 2024-07-17 23:11:10 +09:00
2 changed files with 17 additions and 0 deletions

View file

@ -41,5 +41,6 @@ ErrorOr<String> gethostname();
ErrorOr<void> ioctl(int fd, unsigned request, ...);
ErrorOr<struct termios> tcgetattr(int fd);
ErrorOr<void> tcsetattr(int fd, int optional_actions, struct termios const&);
ErrorOr<void> chmod(StringView pathname, mode_t mode);
}