Skip to content
Snippets Groups Projects
Commit fcebea9d authored by Christoph Hellwig's avatar Christoph Hellwig
Browse files

add a sysinfo() stub

parent 20613dfe
No related branches found
No related tags found
No related merge requests found
......@@ -9,6 +9,7 @@
#include <sys/resource.h>
#include <pwd.h>
#include <sys/utsname.h>
#include <sys/sysinfo.h>
#include <osv/debug.h>
#include <sched.h>
......@@ -122,3 +123,10 @@ int getloadavg(double loadavg[], int nelem)
return 0;
}
extern "C" int sysinfo(struct sysinfo *info)
{
memset(info, 0, sizeof(struct sysinfo));
return 0;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment