From 751233088ed3c2d5ceba3cdafa184ad5c7962e06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Wed, 16 Apr 2003 19:31:49 +0000 Subject: [PATCH] add krb5_get_err_text git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12067 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/krb5/krb5_warn.3 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/krb5/krb5_warn.3 b/lib/krb5/krb5_warn.3 index eb04bfe86..697e88089 100644 --- a/lib/krb5/krb5_warn.3 +++ b/lib/krb5/krb5_warn.3 @@ -36,6 +36,8 @@ Kerberos 5 Library (libkrb5, -lkrb5) .Fn krb5_warnx "krb5_context context" "const char *format" "..." .Ft krb5_error_code .Fn krb5_set_warn_dest "krb5_context context" "krb5_log_facility *facility" +.Ft "char *" +.Fn krb5_get_err_text "krb5_context context" "krb5_error_code code" .Sh DESCRIPTION These functions prints a warning message to some destination. .Fa format @@ -59,5 +61,8 @@ Messages logged with the functions have a log level of 1, while the .Dq err functions logs with level 0. +.Pp +.Fn krb5_get_err_text +fetches the human readable strings describing the error-code. .Sh SEE ALSO .Xr krb5_openlog 3