diff options
Diffstat (limited to 'src/linux/sysinfo.c')
-rw-r--r-- | src/linux/sysinfo.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/linux/sysinfo.c b/src/linux/sysinfo.c new file mode 100644 index 0000000..9866947 --- /dev/null +++ b/src/linux/sysinfo.c @@ -0,0 +1,9 @@ +#define SYSCALL_STANDALONE +#include "syscall.h" + +struct sysinfo; + +int sysinfo(struct sysinfo *info) +{ + return syscall1(__NR_sysinfo, (long)info); +} |