New global function.

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

	* lib/errors.c (glibtop_get_errno_l): New global function.

	* lib/lib.pl: For functions with a `retval' return type, set
	`server->glibtop_errno' to the error code on error or to zero
	on success.
This commit is contained in:
Martin Baulig
1999-12-22 11:50:47 +00:00
committed by Martin Baulig
parent d66768ac55
commit d86a386ad8
4 changed files with 25 additions and 0 deletions

View File

@@ -46,6 +46,9 @@ BEGIN_LIBGTOP_DECLS
char *
glibtop_get_error_string_l (glibtop *server, unsigned error_number);
unsigned
glibtop_get_errno_l (glibtop *server);
END_LIBGTOP_DECLS
#endif