summaryrefslogtreecommitdiff
path: root/Kernel/Syscall.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2020-01-11 10:36:54 +0100
committerAndreas Kling <awesomekling@gmail.com>2020-01-11 10:36:54 +0100
commite380142853f2468a76a48a8c0036b1c46f977da9 (patch)
treedb28b032b15c8c9bba1b2368918c8e91c14ae6d3 /Kernel/Syscall.h
parent46830a0c32930aac3bb390317a87ef42e84f4a07 (diff)
downloadserenity-e380142853f2468a76a48a8c0036b1c46f977da9.zip
Kernel: Pass a parameter struct to rename()
Diffstat (limited to 'Kernel/Syscall.h')
-rw-r--r--Kernel/Syscall.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Kernel/Syscall.h b/Kernel/Syscall.h
index b2e2c39d8f..57899c3883 100644
--- a/Kernel/Syscall.h
+++ b/Kernel/Syscall.h
@@ -350,6 +350,11 @@ struct SC_symlink_params {
StringArgument linkpath;
};
+struct SC_rename_params {
+ StringArgument old_path;
+ StringArgument new_path;
+};
+
void initialize();
int sync();