Added `errno' field.

1999-12-22  Martin Baulig  <martin@home-of-linux.org>

	* glibtop.h (glibtop): Added `errno' field.

	* include/glibtop/errors.h
	(GLIBTOP_ERROR_SERVER_COMM_FAILURE): New error constant.
	(GLIBTOP_ERROR_NO_SUCH_PROCESS): New error constant.
This commit is contained in:
Martin Baulig
1999-12-22 11:19:16 +00:00
committed by Martin Baulig
parent 5f649a7613
commit 47a0ef64d8
4 changed files with 17 additions and 2 deletions

View File

@@ -31,7 +31,9 @@ const char *glibtop_error_strings[GLIBTOP_MAX_ERROR] = {
N_("Invalid argument"),
N_("No such parameter"),
N_("Attempted to modify a read-only value"),
N_("Parameter size mismatch")
N_("Parameter size mismatch"),
N_("Communication with LibGTop server failed"),
N_("No such process")
};
char *