tt_status_message(library call) tt_status_message(library call)
NAME [Toc] [Back]
tt_status_message - provide a message for a problem status code
SYNOPSIS [Toc] [Back]
#include <Tt/tt_c.h>
char *tt_status_message(
Tt_status ttrc);
DESCRIPTION [Toc] [Back]
The tt_status_message function returns a pointer to a message that
describes the problem indicated by this status code.
The ttrc argument is the status code received during an operation.
RETURN VALUE [Toc] [Back]
Upon successful completion, the tt_status_message function returns a
pointer to a character string that describes the status code, which is
one of the following Tt_status values:
TT_OK The operation completed successfully.
TT_xxx Any other TT_ status code is explained in the returned
string.
APPLICATION USAGE [Toc] [Back]
The application should use tt_free(3) to free any data stored in the
address returned by the ToolTalk API.
SEE ALSO [Toc] [Back]
Tt/tt_c.h - Tttt_c(5), tt_ptr_error(3), tt_free(3).
- 1 - Formatted: January 24, 2005 [ Back ] |