summaryrefslogtreecommitdiffstats
path: root/libc/include/sys
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@google.com>2010-05-20 10:55:45 -0700
committerDavid 'Digit' Turner <digit@google.com>2010-06-09 13:12:15 -0700
commitaa4b1d042927872224e4bf5d22e4db5367e389fa (patch)
treede40a80b8f9d1d2dd6a75b45901927378a1aed45 /libc/include/sys
parent6304d8b21891fd0cb7b5a4c25159a3d3b1709d62 (diff)
downloadbionic-aa4b1d042927872224e4bf5d22e4db5367e389fa.zip
bionic-aa4b1d042927872224e4bf5d22e4db5367e389fa.tar.gz
bionic-aa4b1d042927872224e4bf5d22e4db5367e389fa.tar.bz2
Add missing sysinfo() implementation (already declared in <sys/sysinfo.h>) - DO NOT MERGE
Change-Id: Iac4eb5911ffe4a7ab72b84df44e907685ac816af
Diffstat (limited to 'libc/include/sys')
-rw-r--r--libc/include/sys/linux-syscalls.h1
-rw-r--r--libc/include/sys/linux-unistd.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/libc/include/sys/linux-syscalls.h b/libc/include/sys/linux-syscalls.h
index 6e373e0..5f03863 100644
--- a/libc/include/sys/linux-syscalls.h
+++ b/libc/include/sys/linux-syscalls.h
@@ -126,6 +126,7 @@
#define __NR_init_module (__NR_SYSCALL_BASE + 128)
#define __NR_delete_module (__NR_SYSCALL_BASE + 129)
#define __NR_syslog (__NR_SYSCALL_BASE + 103)
+#define __NR_sysinfo (__NR_SYSCALL_BASE + 116)
#define __NR_futex (__NR_SYSCALL_BASE + 240)
#define __NR_poll (__NR_SYSCALL_BASE + 168)
diff --git a/libc/include/sys/linux-unistd.h b/libc/include/sys/linux-unistd.h
index b0e7822..27db2a9 100644
--- a/libc/include/sys/linux-unistd.h
+++ b/libc/include/sys/linux-unistd.h
@@ -192,6 +192,7 @@ int __syslog (int, char *, int);
int init_module (void *, unsigned long, const char *);
int delete_module (const char*, unsigned int);
int klogctl (int, char *, int);
+int sysinfo (struct sysinfo *);
int futex (void *, int, int, void *, void *, int);
int epoll_create (int size);
int epoll_ctl (int epfd, int op, int fd, struct epoll_event *event);