t_strerror(3N) t_strerror(3N)
NAME
t_strerror - get error message string
SYNOPSIS
cc [options] file -lnsl
#include <xti.h>
char *t_strerror(int errnum);
Parameters
errnum the TLI/XTI number for the language-dependent error
message string.
DESCRIPTION
The t_strerror function is a TLI/XTI local management routine
that returns, for the error number specified by errnum, the
pointer to a language dependent error message string.
When t_strerror is issued, the contents of the string pointed
to on return are not modified, but may be modified by a
subsequent call to t_strerror.
The comments used in the header file xti.h to describe the
values in t_errno are identical to the error message string
pointed to by t_strerror on return. If the language is not
English, the text provided is equivalent.
The error message string itself is not ended by a newlne
character.
If the value supplied in errnum is not recognized, the
response from t_strerror is a pointer to the following string:
<errnum>: error unknown
where <errnum> is the value supplied on the call.
Return Values
t_strerror returns a string pointer to the requested error.
No errors are defined.
State Transitions
t_strerror may be issued from any valid state except T_UNINIT
and has no effect on the state.
Copyright 1994 Novell, Inc. Page 1
t_strerror(3N) t_strerror(3N)
Files
/usr/lib/libxti.so
X/Open Transport Interface Library (shared
object)
/usr/lib/libnsl.so
Network Services Library (shared object)
/usr/lib/locale/locale/LC_MESSAGES/uxsnl
REFERENCES
intro(2), t_error(3N)
Copyright 1994 Novell, Inc. Page 2