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

@@ -127,6 +127,7 @@ handle_slave_command (glibtop_command *cmnd, glibtop_response *resp,
memcpy (&resp->u.sysdeps, &server->sysdeps,
sizeof (glibtop_sysdeps));
resp->u.sysdeps.features = glibtop_server_features;
resp->u.sysdeps.pointer_size = sizeof (void*)*8;
resp->u.sysdeps.flags = glibtop_server_features |
(1 << GLIBTOP_SYSDEPS_FEATURES);
resp->offset = _offset_union (sysdeps);