summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibCore/System.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-12-16 21:10:59 +0100
committerAndreas Kling <kling@serenityos.org>2021-12-16 22:48:17 +0100
commitaa7e8b5797d498208edd73d1fb2533bc29d5c2fe (patch)
tree2f38e93f884188ce04adcdbc283b6e89dc4fb03f /Userland/Libraries/LibCore/System.h
parent87b1ad23562348fde4ef266a3ddbb297eb1f0ab5 (diff)
downloadserenity-aa7e8b5797d498208edd73d1fb2533bc29d5c2fe.zip
LibCore: Add syscall wrapper for mkstemp()
Diffstat (limited to 'Userland/Libraries/LibCore/System.h')
-rw-r--r--Userland/Libraries/LibCore/System.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibCore/System.h b/Userland/Libraries/LibCore/System.h
index c4b668739a..e9ce8f1d7f 100644
--- a/Userland/Libraries/LibCore/System.h
+++ b/Userland/Libraries/LibCore/System.h
@@ -65,5 +65,6 @@ ErrorOr<bool> isatty(int fd);
ErrorOr<void> symlink(StringView target, StringView link_path);
ErrorOr<void> mkdir(StringView path, mode_t);
ErrorOr<pid_t> fork();
+ErrorOr<int> mkstemp(Span<char> pattern);
}