|Skip Navigation Links|
|Exit Print View|
|man pages section 3: Extended Library Functions, Volume 4 Oracle Solaris 11 Express 11/10|
- get the current persistence method for stmf
cc [ flag... ] file... -lstmf [ library... ] #include <libstmf.h> int stmfGetPersistMethod(uint8_t *persistType, boolean_t serviceState);
On success, contains the current persistence setting based on serviceState.
When set to B_TRUE, persistType will contain the persist method currently set for the service. When set to B_FALSE, persistType will contain the persist method for the current library open.
The stmfGetPersistMethod() function retrieves the current persistent method setting for the service or for a given library open. When set to B_TRUE, retrieves the setting from the service.
The following values are returned:
The API call was successful.
Unable to retrieve persist type from service.
See attributes(5) for descriptions of the following attributes: