summaryrefslogtreecommitdiff
path: root/sysdeps/sun4/loadavg.c
diff options
context:
space:
mode:
authorMartin Baulig <martin@src.gnome.org>1998-05-19 23:03:48 +0000
committerMartin Baulig <martin@src.gnome.org>1998-05-19 23:03:48 +0000
commit2ece5e5f8e63d570b5587ca4128ae8a531b6d754 (patch)
tree1bb245a395c4183f671cf776b63e097aa3c1de28 /sysdeps/sun4/loadavg.c
parent92dc0c9a34e1e7de1525f047d767e28174a42fa3 (diff)
downloadlibgtop-2ece5e5f8e63d570b5587ca4128ae8a531b6d754.tar.gz
forgot to checkin
* sysdeps/sun4/uptime.c: forgot to checkin * sysdeps/sun4/loadavg.c: forgot to checkin
Diffstat (limited to 'sysdeps/sun4/loadavg.c')
-rw-r--r--sysdeps/sun4/loadavg.c31
1 files changed, 31 insertions, 0 deletions
diff --git a/sysdeps/sun4/loadavg.c b/sysdeps/sun4/loadavg.c
new file mode 100644
index 00000000..de6605e0
--- /dev/null
+++ b/sysdeps/sun4/loadavg.c
@@ -0,0 +1,31 @@
+/* $Id$ */
+
+/* Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
+ This file is part of the Gnome Top Library.
+ Contributed by Martin Baulig <martin@home-of-linux.org>, April 1998.
+
+ The Gnome Top Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public License as
+ published by the Free Software Foundation; either version 2 of the
+ License, or (at your option) any later version.
+
+ The Gnome Top Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public
+ License along with the GNU C Library; see the file COPYING.LIB. If not,
+ write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA. */
+
+#include <config.h>
+#include <glibtop/loadavg.h>
+
+/* Provides load averange. */
+
+void
+glibtop_get_loadavg__r (glibtop *server, glibtop_loadavg *buf)
+{
+ memset (buf, 0, sizeof (glibtop_loadavg));
+}