aboutsummaryrefslogtreecommitdiff
path: root/lib/sys/sync.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sys/sync.h')
-rw-r--r--lib/sys/sync.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/sys/sync.h b/lib/sys/sync.h
new file mode 100644
index 0000000..fe61454
--- /dev/null
+++ b/lib/sys/sync.h
@@ -0,0 +1,11 @@
+#ifndef SYS_H
+#define SYS_H
+
+#include "syscalls.h"
+
+void sync()
+{
+ syscall(SYNC);
+}
+
+#endif