diff options
| author | Kacper <kacper@mail.openlinux.dev> | 2025-12-12 15:16:01 +0100 |
|---|---|---|
| committer | Kacper <kacper@mail.openlinux.dev> | 2025-12-12 15:16:01 +0100 |
| commit | ec769a83bde09c76bd6ad9ee7f391036dba5cd97 (patch) | |
| tree | 29569c1c7ae8124765b382bf51d62626230e63a3 /lib/libc/sys/sysinfo.c | |
| parent | 169daa11155988a210fac949297381743f3cb400 (diff) | |
Add clear command, add sysinfo system call
Diffstat (limited to 'lib/libc/sys/sysinfo.c')
| -rw-r--r-- | lib/libc/sys/sysinfo.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/libc/sys/sysinfo.c b/lib/libc/sys/sysinfo.c new file mode 100644 index 00000000..5af79c60 --- /dev/null +++ b/lib/libc/sys/sysinfo.c @@ -0,0 +1,7 @@ +#include <sys/sysinfo.h> +#include <syscall.h> + +int sysinfo(struct sysinfo *info) +{ + return syscall(sysinfo, info); +} |
