1stmfCreateLuResourScCeS(I3STTaMrFg)et Mode Framework LibrarysFtumnfcCtrieoantseLuResource(3STMF)
2
3
4

NAME

6       stmfCreateLuResource - create new logical unit resource
7

SYNOPSIS

9       cc [ flag... ] file... -lstmf [ library... ]
10       #include <libstmf.h>
11
12       int stmfCreateLuResource(uint16_t dType, luResource *hdl);
13
14

PARAMETERS

16       dType    The  device  type of the logical unit resource. Only STMF_DISK
17                is currently supported.
18
19
20       hdl      The logical unit resource to be created.
21
22

DESCRIPTION

24       The stmfCreateLuResource() function  creates  a  resource  for  setting
25       properties of a logical unit for purposes of creating a logical unit in
26       STMF.
27

RETURN VALUES

29       The following values are returned:
30
31       STMF_ERROR_INVALID_ARG    Either type is unrecognized or hdl was NULL.
32
33
34       STMF_STATUS_SUCCESS       The API call was successful.
35
36

ATTRIBUTES

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

SEE ALSO

52       libstmf(3LIB), attributes(5)
53
54
55
56SunOS 5.11                        8 May 2009       stmfCreateLuResource(3STMF)
Impressum