diff options
author | Martin Baulig <martin@home-of-linux.org> | 1998-08-06 21:57:45 +0000 |
---|---|---|
committer | Martin Baulig <martin@src.gnome.org> | 1998-08-06 21:57:45 +0000 |
commit | 0a7bd78704a521b2ce575723b05ee379f75ba9ee (patch) | |
tree | 0b6ada18885c85c1fd50e171c0fb0dab8df6d485 /sysdeps/freebsd/mem.c | |
parent | 2e454140f124d41aa08081c09ea0efcb0e6293e5 (diff) | |
download | libgtop-0a7bd78704a521b2ce575723b05ee379f75ba9ee.tar.gz |
Using `GLIBTOP_GUILE' instead of `HAVE_GUILE' so one should be able to use
1998-08-06 Martin Baulig <martin@home-of-linux.org>
* include/glibtop/*.h: Using `GLIBTOP_GUILE' instead of `HAVE_GUILE'
so one should be able to use libgtop without guile in an application
even if guile is installed.
* sysdeps/common/mountlist.c: Fixed some `xstrdup' problems.
* lib/open.c: Now correctly reading server features for
`GLIBTOP_METHOD_PIPE'.
* sysdeps/freebsd: New directory.
Diffstat (limited to 'sysdeps/freebsd/mem.c')
-rw-r--r-- | sysdeps/freebsd/mem.c | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/sysdeps/freebsd/mem.c b/sysdeps/freebsd/mem.c new file mode 100644 index 00000000..9618a575 --- /dev/null +++ b/sysdeps/freebsd/mem.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/mem.h> + +/* Provides information about memory usage. */ + +void +glibtop_get_mem_p (glibtop *server, glibtop_mem *buf) +{ + memset (buf, 0, sizeof (glibtop_mem)); +} |