cc [ flag... ] file... -lstmf [ library... ] #include <libstmf.h> int stmfGetAluaState(boolean_t *alua_enabled, uint32_t *node);
Set to B_TRUE or B_FALSE on success.
Set to 0 or 1 on success.
The stmfGetAluaState() function returns the Asymmetric Logical Unit Access State (ALUA) mode for STMF along with the node setting.
The following values are returned:
Either alua_enabled or node was incorrectly set.
The API call was successful.
See attributes(5) for descriptions of the following attributes:
|