mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:27:35 +00:00
LibCore: Add syscall wrapper for mkdtemp()
This commit is contained in:
parent
1f99f9523d
commit
5072a2280d
2 changed files with 12 additions and 0 deletions
|
@ -166,6 +166,7 @@ ErrorOr<void> chdir(StringView path);
|
|||
ErrorOr<void> rmdir(StringView path);
|
||||
ErrorOr<pid_t> fork();
|
||||
ErrorOr<int> mkstemp(Span<char> pattern);
|
||||
ErrorOr<String> mkdtemp(Span<char> pattern);
|
||||
ErrorOr<void> fchmod(int fd, mode_t mode);
|
||||
ErrorOr<void> fchown(int fd, uid_t, gid_t);
|
||||
ErrorOr<void> rename(StringView old_path, StringView new_path);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue