summaryrefslogtreecommitdiff
path: root/Libraries/LibC/serenity.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibC/serenity.cpp')
-rw-r--r--Libraries/LibC/serenity.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/Libraries/LibC/serenity.cpp b/Libraries/LibC/serenity.cpp
index 68e10accb0..5837aee15f 100644
--- a/Libraries/LibC/serenity.cpp
+++ b/Libraries/LibC/serenity.cpp
@@ -30,6 +30,12 @@
extern "C" {
+int disown(pid_t pid)
+{
+ int rc = syscall(SC_disown, pid);
+ __RETURN_WITH_ERRNO(rc, rc, -1);
+}
+
int module_load(const char* path, size_t path_length)
{
int rc = syscall(SC_module_load, path, path_length);