mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 20:59:16 +00:00
LibCore: Add syscall wrapper for chmod()
This commit is contained in:
parent
294cb3cef4
commit
0d76d15f9d
Notes:
sideshowbarker
2024-07-17 23:11:10 +09:00
Author: https://github.com/kennethmyhra
Commit: 0d76d15f9d
Pull-request: https://github.com/SerenityOS/serenity/pull/11168
Reviewed-by: https://github.com/bgianfo ✅
2 changed files with 17 additions and 0 deletions
|
@ -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);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue