1stmfGetLuResource(S3CSSTIMFT)arget Mode Framework Library FunscttmifoGnestLuResource(3STMF)
2
3
4

NAME

6       stmfGetLuResource  - get a logical unit resource for a currently regis‐
7       tered logical unit
8

SYNOPSIS

10       cc [ flag... ] file... -lstmf [ library... ]
11       #include <libstmf.h>
12
13       int stmfGetLuResource(stmfGuid *luGuid, luResource *hdl);
14
15

PARAMETERS

17       luGuid    The guid of logical unit to retrieve.
18
19
20       hdl       The logical unit resource to create.
21
22

DESCRIPTION

24       The stmfGetLuResource() function retrieves a logical unit resource  hdl
25       for  a  given  logical  unit. The luGuid argument must represent a cur‐
26       rently registered stmf logical unit. This retrieved resource is  a  set
27       of device-specific properties for a logical unit device. This allocates
28       an luResource hdl of device type matching  luGuid.   The  stmfFreeLuRe‐
29       source(3STMF) function should be used when hdl is no longer needed.
30

RETURN VALUES

32       The following values are returned:
33
34       STMF_STATUS_SUCCESS     The API call was successful.
35
36
37       STMF_ERROR_NOT_FOUND    The guid does not exist.
38
39

ATTRIBUTES

41       See attributes(5) for descriptions of the following attributes:
42
43
44
45
46       ┌─────────────────────────────┬─────────────────────────────┐
47       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
48       ├─────────────────────────────┼─────────────────────────────┤
49       │Interface Stability          │Committed                    │
50       ├─────────────────────────────┼─────────────────────────────┤
51       │MT-Level                     │Safe                         │
52       └─────────────────────────────┴─────────────────────────────┘
53

SEE ALSO

55       libstmf(3LIB), stmfFreeLuResource(3STMF), attributes(5)
56
57
58
59SunOS 5.11                        8 May 2009          stmfGetLuResource(3STMF)
Impressum