 |
Index for Section 3 |
|
 |
Alphabetical listing for C |
|
 |
Bottom of page |
|
clua_error(3)
NAME
clua_error, print_clua_liberror - Return or print the message text
associated with a cluster alias message ID
LIBRARY
Cluster Alias Library (libclua.a and libclua.so)
SYNOPSIS
#include <clua/clua.h>
char *clua_error (
clua_status_t error );
void print_clua_liberror (
clua_status_t error );
PARAMETERS
error Specifies a cluster alias message ID.
DESCRIPTION
Both clua_error() and print_clua_liberror() map a cluster alias message ID
to a printable character string. The clua_error() function returns the
string to the caller. The print_clua_liberror() function prints the string
to stderr.
If the message ID is CLUA_ERRNO, clua_error() calls strerror() and
print_clua_liberror() calls perror() to resolve the current value of errno.
If the message ID is not recognized, the message string is set to:
"Unrecognized cluster alias error code: error".
RETURN VALUES
The clua_error() function returns the address of the character string
containing the error message.
SEE ALSO
Commands: cluamgr(8), clua_active(8)
Functions: clua_getaliasaddress(3), clua_getaliasinfo(3),
clua_getdefaultalias(3), clua_isalias(3), clua_registerservice(3),
Files: clua_services(4) clu_alias.config(4), exports.aliases(4)
 |
Index for Section 3 |
|
 |
Alphabetical listing for C |
|
 |
Top of page |
|