test veritas logo


LLTGETNODESTATUS(3N)

NAME

lltgetnodestatus - get node status

SYNOPSIS

cc [file...] file... -llltdb [library...]

#include sys/lltapi.h

int lltgetnodeid();

DESCRIPTION

This function obtains the status of the local node.

RETURN VALUES

On success, the function returns the node status as an integer value. The possible return values are:
o LLT_NODE_EXCLUDE
o LLT_NODE_IDLE
o LLT_NODE_CONNWAIT
o LLT_NODE_AKWAIT
o LLT_NODE_OPEN
o LLT_NODE_DISCON
o LLT_NODE_INVAL
On failure, the function returns one of the following errors:
o ERR_LLT_NOT_LOADED:

Indicates that LLT is not loaded.

o ERR_LLT_NOT_CONFIGURED:

Indicates that LLT is not configured.

FILES

/usr/lib/liblltdb.so.1

/usr/include/sys/lltapi.h

SEE ALSO

lltgetclustid(3N), lltgetnodeid(3N)


VCS 7.4.3 LLTGETNODESTATUS(3N)