diff options
author | H. Peter Anvin <hpa@zytor.com> | 2004-04-09 20:25:24 +0000 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2004-04-09 20:25:24 +0000 |
commit | 33aff92988cea3a6c6e57f2fc0eb9c6a55bc073b (patch) | |
tree | f6a6dd26684856d4f065d0da539a23c44016473d | |
parent | be067bf4d41a40b601f6f84c06b2f7b0d1858812 (diff) | |
download | klibc-33aff92988cea3a6c6e57f2fc0eb9c6a55bc073b.tar.gz |
sysinfo() support [for udev] - from Kay Sieversklibc-0.116
-rw-r--r-- | include/sys/sysinfo.h | 12 | ||||
-rw-r--r-- | klibc/SYSCALLS | 1 | ||||
-rw-r--r-- | klibc/include/sys/sysinfo.h | 12 |
3 files changed, 25 insertions, 0 deletions
diff --git a/include/sys/sysinfo.h b/include/sys/sysinfo.h new file mode 100644 index 0000000000000..4051c6897ae25 --- /dev/null +++ b/include/sys/sysinfo.h @@ -0,0 +1,12 @@ +/* + * sys/sysinfo.h + */ + +#ifndef _SYS_SYSINFO_H +#define _SYS_SYSINFO_H + +#include <linux/kernel.h> + +extern int sysinfo (struct sysinfo *info); + +#endif /* _SYS_SYSINFO_H */ diff --git a/klibc/SYSCALLS b/klibc/SYSCALLS index f206ddf01b4eb..82081201b40ea 100644 --- a/klibc/SYSCALLS +++ b/klibc/SYSCALLS @@ -143,6 +143,7 @@ long delete_module(const char *, unsigned int) <!ia64> int query_module(const char *, int, void *, size_t, size_t) int reboot::__reboot(int, int, int, void *) int syslog::klogctl(int, char *, int) +int sysinfo(struct sysinfo *) # # Low-level I/O (generally architecture-specific) diff --git a/klibc/include/sys/sysinfo.h b/klibc/include/sys/sysinfo.h new file mode 100644 index 0000000000000..4051c6897ae25 --- /dev/null +++ b/klibc/include/sys/sysinfo.h @@ -0,0 +1,12 @@ +/* + * sys/sysinfo.h + */ + +#ifndef _SYS_SYSINFO_H +#define _SYS_SYSINFO_H + +#include <linux/kernel.h> + +extern int sysinfo (struct sysinfo *info); + +#endif /* _SYS_SYSINFO_H */ |