Print this page
12202 noise in example code in some section 3pool man pages


 201 
 202        POE_SYSTEM
 203                            A system error has occurred. Check the system error
 204                            code for more details.
 205 
 206 
 207 EXAMPLES
 208        Example 1 Create a new resource of type pset named foo.
 209 
 210          #include <pool.h>
 211          #include <stdio.h>
 212 
 213          ...
 214 
 215          pool_conf_t *conf;
 216          pool_resource_t *resource;
 217          ...
 218 
 219          if ((resource = pool_resource_create(conf, "pset",
 220              "foo")) == NULL) {
 221              (void) fprintf(stderr, "Cannot create resource\B{}n");
 222              ...
 223          }
 224 
 225 
 226 ATTRIBUTES
 227        See attributes(5) for descriptions of the following attributes:
 228 
 229 
 230 
 231 
 232        +--------------------+-----------------+
 233        |  ATTRIBUTE TYPE    | ATTRIBUTE VALUE |
 234        +--------------------+-----------------+
 235        |CSI                 | Enabled         |
 236        +--------------------+-----------------+
 237        |Interface Stability | Unstable        |
 238        +--------------------+-----------------+
 239        |MT-Level            | Safe            |
 240        +--------------------+-----------------+
 241 
 242 SEE ALSO
 243        libpool(3LIB), pool_error(3POOL), attributes(5)
 244 
 245 
 246 
 247                                January 15, 2020    POOL_RESOURCE_CREATE(3POOL)


 201 
 202        POE_SYSTEM
 203                            A system error has occurred. Check the system error
 204                            code for more details.
 205 
 206 
 207 EXAMPLES
 208        Example 1 Create a new resource of type pset named foo.
 209 
 210          #include <pool.h>
 211          #include <stdio.h>
 212 
 213          ...
 214 
 215          pool_conf_t *conf;
 216          pool_resource_t *resource;
 217          ...
 218 
 219          if ((resource = pool_resource_create(conf, "pset",
 220              "foo")) == NULL) {
 221              (void) fprintf(stderr, "Cannot create resource\n");
 222              ...
 223          }
 224 
 225 
 226 ATTRIBUTES
 227        See attributes(5) for descriptions of the following attributes:
 228 
 229 
 230 
 231 
 232        +--------------------+-----------------+
 233        |  ATTRIBUTE TYPE    | ATTRIBUTE VALUE |
 234        +--------------------+-----------------+
 235        |CSI                 | Enabled         |
 236        +--------------------+-----------------+
 237        |Interface Stability | Unstable        |
 238        +--------------------+-----------------+
 239        |MT-Level            | Safe            |
 240        +--------------------+-----------------+
 241 
 242 SEE ALSO
 243        libpool(3LIB), pool_error(3POOL), attributes(5)
 244 
 245 
 246 
 247                                January 18, 2020    POOL_RESOURCE_CREATE(3POOL)