Print this page
12198 typo paramter in some section 3pool man pages
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/man/man3pool/pool_component_info.3pool.man.txt
+++ new/usr/src/man/man3pool/pool_component_info.3pool.man.txt
1 1 POOL_COMPONENT_INFO(3POOL) Pool Configuration Manipulation Library Functions
2 2
3 3
4 4
5 5 NAME
6 6 pool_component_info, pool_get_owning_resource - resource pool component
7 7 functions
8 8
9 9 SYNOPSIS
10 10 cc [ flag... ] file... -lpool [ library... ]
11 11 #include <pool.h>
12 12
13 13 const char *pool_component_info(pool_conf_t *conf,
14 14 pool_component_t *component, int flags);
15 15
16 16
17 17 pool_resource_t *pool_get_owning_resource(pool_conf_t *conf,
18 18 pool_component_t *component);
19 19
20 20
21 21 DESCRIPTION
22 22 Certain resources, such as processor sets, are composed of resource
23 23 components. Informational and ownership attributes of resource
24 24 components are made available with the pool_component_info() and
25 25 pool_get_owning_resource() functions. The conf argument for each
26 26 function refers to the target configuration to which the operation
27 27 applies.
28 28
29 29
30 30 The pool_component_info() function returns a string describing
31 31 component. The string is allocated with malloc(3C). The caller is
32 32 responsible for freeing the returned string. The flags argument is
33 33 ignored.
34 34
35 35
36 36 The pool_get_owning_resource() function returns the resource currently
37 37 containing component. Every component is contained by a resource.
38 38
39 39 RETURN VALUES
40 40 Upon successful completion, pool_component_info() returns a string.
41 41 Otherwise it returns NULL and pool_error(3POOL) returns the pool-
42 42 specific error value.
43 43
↓ open down ↓ |
43 lines elided |
↑ open up ↑ |
44 44
45 45 Upon successful completion, pool_get_owning_resource() returns the
46 46 owning resource. Otherwise it returns NULL and pool_error() returns the
47 47 pool-specific error value.
48 48
49 49 ERRORS
50 50 The pool_component_info() function will fail if:
51 51
52 52 POE_BADPARAM
53 53 The supplied configuration's status is not
54 - POF_VALID or the flags paramter is neither 0 or 1.
54 + POF_VALID or the flags parameter is neither 0 or 1.
55 55
56 56
57 57 POE_INVALID_CONF
58 58 The configuration is invalid.
59 59
60 60
61 61 POE_SYSTEM
62 62 A system error has occurred. Check the system error
63 63 code for more details.
64 64
65 65
66 66
67 67 The pool_get_owning_resource() function will fail if:
68 68
69 69 POE_BADPARAM
70 70 The supplied configuration's status is not POF_VALID.
71 71
72 72
73 73 ATTRIBUTES
74 74 See attributes(5) for descriptions of the following attributes:
75 75
76 76
77 77
78 78
79 79 +--------------------+-----------------+
80 80 | ATTRIBUTE TYPE | ATTRIBUTE VALUE |
81 81 +--------------------+-----------------+
82 82 |CSI | Enabled |
83 83 +--------------------+-----------------+
↓ open down ↓ |
19 lines elided |
↑ open up ↑ |
84 84 |Interface Stability | Unstable |
85 85 +--------------------+-----------------+
86 86 |MT-Level | Safe |
87 87 +--------------------+-----------------+
88 88
89 89 SEE ALSO
90 90 libpool(3LIB), pool_error(3POOL), attributes(5)
91 91
92 92
93 93
94 - April 9, 2016 POOL_COMPONENT_INFO(3POOL)
94 + January 15, 2020 POOL_COMPONENT_INFO(3POOL)
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX