From d7229970f8910aa756d299f8bdceee7f4d1fbfbc Mon Sep 17 00:00:00 2001 From: Nathan Reiner Date: Wed, 8 Feb 2023 13:19:56 +0100 Subject: add env and make smash be able to parse files with comments --- lib/sys/sync.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 lib/sys/sync.h (limited to 'lib/sys/sync.h') 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 -- cgit v1.2.3-70-g09d2