Go to main content

man pages section 3: Extended Library Functions, Volume 4

Exit Print View

Updated: July 2017
 
 

stmfGetLogicalUnitProperties(3STMF)

Name

stmfGetLogicalUnitProperties - retrieve the properties of the specified logical unit

Synopsis

cc [ flag... ] file... –lstmf [ library... ]
#include <libstmf.h>

int stmfGetLogicalUnitProperties(stmfGuid *logicalUnit,
     stmfLogicalUnitProperties *logicalUnitProps);

Parameters

logicalUnit

The identifier of the logical unit whose properties are being retrieved.

logicalUnitProps

A pointer to an stmfLogicalUnitProperties structure. On successful return, this will contain the properties for the specified logicalUnitOid.

Description

The stmfGetLogicalUnitProperties() function retrieves the properties of the specified logical unit.

Return Values

The following values are returned:

STMF_ERROR_LOGICAL_UNIT_NOT_REGISTERED

The logicalUnit is not a valid registered logical unit in the system.

STMF_STATUS_SUCCESS

The API call was successful.

Attributes

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Interface Stability
Committed
MT-Level
Safe

See Also

libstmf(3LIB), attributes(5)