GSS does not need to be initialized before it can be used.
In order to take advantage of the internationalisation features in
GSS, e.g. translated error messages, the application must set the
current locale using
setlocale() before calling, e.g.,
gss_display_status(). This is typically done in
as in the following example.
#include <gss.h> #include <locale.h> ... setlocale (LC_ALL, "");