added `locked' member to this structure for SunOS.

* include/glibtop/mem.h (_glibtop_mem): added `locked'
member to this structure for SunOS.
This commit is contained in:
Martin Baulig
1998-05-24 16:15:24 +00:00
parent b281735ba7
commit ff3aced01e
4 changed files with 13 additions and 8 deletions

View File

@@ -34,8 +34,9 @@ __BEGIN_DECLS
#define GLIBTOP_MEM_BUFFER 4
#define GLIBTOP_MEM_CACHED 5
#define GLIBTOP_MEM_USER 6
#define GLIBTOP_MEM_LOCKED 7
#define GLIBTOP_MAX_MEM 7
#define GLIBTOP_MAX_MEM 8
typedef struct _glibtop_mem glibtop_mem;
@@ -48,7 +49,8 @@ struct _glibtop_mem
shared, /* GLIBTOP_MEM_SHARED */
buffer, /* GLIBTOP_MEM_BUFFER */
cached, /* GLIBTOP_MEM_CACHED */
user; /* GLIBTOP_MEM_USER */
user, /* GLIBTOP_MEM_USER */
locked; /* GLIBTOP_MEM_LOCKED */
};
#define glibtop_get_mem(mem) glibtop_get_mem__r(glibtop_global_server, mem)