pool_conf_to_elem(3pool) 맨 페이지 - 윈디하나의 솔라나라

개요

섹션
맨 페이지 이름
검색(S)

pool_conf_to_elem(3pool)

Pool Configuration Manipulation Library Functions
                                                 pool_component_to_elem(3POOL)



NAME
       pool_component_to_elem,         pool_to_elem,        pool_conf_to_elem,
       pool_resource_to_elem - resource pool element-related functions

SYNOPSIS
       cc [ flag... ] file... -lpool [ library... ]
       #include <pool.h>

       pool_elem_t *pool_component_to_elem(pool_conf_t *conf,
            pool_component_t *component);


       pool_elem_t *pool_conf_to_elem(pool_conf_t *conf);


       pool_elem_t *pool_resource_to_elem(pool_conf_t *conf,
             pool_resource_t *resource);


       pool_elem_t *pool_to_elem(pool_conf_t *conf, pool_t *pool);

DESCRIPTION
       A pool element, as represented by a pool_elem_t, is a  common  abstrac‐
       tion  for  any  libpool entity that contains properties. All such types
       can be converted to the opaque pool_elem_t type using  the  appropriate
       conversion functions prototyped above. The conf argument for each func‐
       tion refers to the target configuration to which the operation applies.


       The global system properties are represented by a pool_conf_t pointer.


       All pools are represented by a pool_t pointer.


       All psets are represented by a pool_resource_t pointer.


       All cpus are represented by a pool_component_t pointer.


       All of the above can be converted to pool_elem_t * objects for property
       manipulation using these functions.

RETURN VALUES
       Upon successful completion, these functions return a pool_elem_t corre‐
       sponding to the argument passed in.  Otherwise  they  return  NULL  and
       pool_error(3POOL) returns the pool-specific error value.

ERRORS
       These function will fail if:

       POE_BADPARAM    The supplied configuration's status is not POF_VALID.


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       tab()  box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) ATTRIBUTE TYPEAT‐
       TRIBUTE VALUE _ CSIEnabled _ Interface StabilityUncommitted _ MT-Level‐
       Safe


SEE ALSO
       libpool(3LIB), pool_error(3POOL), attributes(7)



Oracle Solaris 11.4               20 Jan 2015
                                                 pool_component_to_elem(3POOL)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3