diff options
Diffstat (limited to 'libc-top-half/musl/src/linux/sysinfo.c')
-rw-r--r-- | libc-top-half/musl/src/linux/sysinfo.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libc-top-half/musl/src/linux/sysinfo.c b/libc-top-half/musl/src/linux/sysinfo.c new file mode 100644 index 0000000..db86476 --- /dev/null +++ b/libc-top-half/musl/src/linux/sysinfo.c @@ -0,0 +1,9 @@ +#include <sys/sysinfo.h> +#include "syscall.h" + +int __lsysinfo(struct sysinfo *info) +{ + return syscall(SYS_sysinfo, info); +} + +weak_alias(__lsysinfo, sysinfo); |