|Skip Navigation Links|
|Exit Print View|
|man pages section 3: Extended Library Functions, Volume 4 Oracle Solaris 11 Information Library|
- retrieve the list of target ports
cc [ flag... ] file... -lstmf [ library... ] #include <libstmf.h> int stmfGetTargetList(stmfDevidList **targetList);
A pointer to a pointer to an stmfDevidList structure. On successful return, this will contain a list of target ports in the system.
The stmfGetTargetList() function retrieves the list of target ports. The caller should call stmfFreeMemory(3STMF) when this list is no longer needed.
The following values are returned:
The library was unable to allocate sufficient memory for targetList.
The API call was successful.
See attributes(5) for descriptions of the following attributes: