Added pointer_size' which is the number of bits of a void *'.

1999-05-06  Martin Baulig  <martin@home-of-linux.org>

	* include/glibtop/sysdeps.h (glibtop_sysdeps): Added `pointer_size'
	which is the number of bits of a `void *'.
This commit is contained in:
Martin Baulig
1999-05-06 19:49:31 +00:00
committed by Martin Baulig
parent fec8f23ad4
commit d67182f411
7 changed files with 41 additions and 26 deletions

View File

@@ -73,6 +73,7 @@ main (int argc, char *argv [])
printf ("Sysdeps (0x%08lx):\n\n"
"\tfeatures:\t\t0x%08lx\n\n"
"\tpointer_size:\t\t0x%08lx\n\n"
"\tcpu:\t\t%d\t0x%08lx\n"
"\tmem:\t\t%d\t0x%08lx\n"
"\tswap:\t\t%d\t0x%08lx\n\n"
@@ -97,6 +98,7 @@ main (int argc, char *argv [])
"\tppp:\t\t%d\t0x%08lx\n\n",
(unsigned long) sysdeps.flags,
(unsigned long) sysdeps.features,
(unsigned long) sysdeps.pointer_size,
FEATURE_CHECK(CPU),
(unsigned long) sysdeps.cpu,
FEATURE_CHECK(MEM),