diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2023-02-08 13:19:56 +0100 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2023-02-08 13:19:56 +0100 |
| commit | d7229970f8910aa756d299f8bdceee7f4d1fbfbc (patch) | |
| tree | a95ff2e6bd50578d34d6449c9fde173acc0ef59c /lib/sys/sync.h | |
| parent | e947b1459f93f11ad91f3e920676fe1b828281e7 (diff) | |
add env and make smash be able to parse files with comments
Diffstat (limited to 'lib/sys/sync.h')
| -rw-r--r-- | lib/sys/sync.h | 11 |
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 |