1stmfSetPersistMethSoCdS(I3STTaMrFg)et Mode Framework LibrarysFtumnfcSteitoPnesrsistMethod(3STMF)
2
3
4
6 stmfSetPersistMethod - set persistence method for the stmf service
7
9 cc [ flag... ] file... -lstmf [ library... ]
10 #include <libstmf.h>
11
12 int stmfSetPersistMethod(uint8_t persistType, boolean_t serviceSet);
13
14
16 persistType The requested persistence setting. Can be either
17 STMF_PERSIST_SMF or STMF_PERSIST_NONE.
18
19
20 serviceSet Set to indicate whether the setting should persist on
21 the stmf service. When set to B_FALSE, this setting is
22 only applicable for the duration of the current library
23 open or until a subsequent call is made to change the
24 setting.
25
26
28 The stmfSetPersistMethod() function sets the persistence method for
29 stmf.
30
32 The following values are returned:
33
34 STMF_STATUS_SUCCESS The API call was successful.
35
36
37 STMF_ERROR_PERSIST_TYPE The persistType argument is invalid.
38
39
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
55 libstmf(3LIB), attributes(5)
56
57
58
59SunOS 5.11 8 May 2009 stmfSetPersistMethod(3STMF)