Print this page
patch more-manpage
patch cleanup

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man9f/nvlist_alloc.9f.man.txt
          +++ new/usr/src/man/man9f/nvlist_alloc.9f.man.txt
↓ open down ↓ 149 lines elided ↑ open up ↑
 150  150         NV_UNIQUE_NAME_TYPE is specified for nvflag, existing nvpairs with
 151  151         matching names and data types are removed before the new nvpair is
 152  152         added. See nvlist_add_byte(9F) for more details.
 153  153  
 154  154  
 155  155         The nvlist_xalloc() function differs from nvlist_alloc() in that
 156  156         nvlist_xalloc() can use a different allocator, as described in the
 157  157         Pluggable Allocators section.
 158  158  
 159  159  
 160      -       The nvlist_free() function frees a name-value pair list.
      160 +       The nvlist_free() function frees a name-value pair list. If nvl is a
      161 +       null pointer, no action occurs.
 161  162  
 162  163  
 163  164         The nvlist_size() function returns the minimum size of a contiguous
 164  165         buffer large enough to pack nvl. The encoding parameter specifies the
 165  166         method of encoding when packing nvl. Supported encoding methods are:
 166  167  
 167  168         NV_ENCODE_NATIVE
 168  169                             Straight bcopy() as described in bcopy(9F).
 169  170  
 170  171  
↓ open down ↓ 282 lines elided ↑ open up ↑
 453  454         (1) the default allocator is used and the KM_NOSLEEP flag is set or (2)
 454  455         the specified allocator did not sleep for free memory (for example, it
 455  456         uses a pre-allocated buffer for memory allocations).
 456  457  
 457  458  
 458  459         These functions can be called from user or kernel context with any
 459  460         valid flag.
 460  461  
 461  462  
 462  463  
 463      -                               January 16, 2006               NVLIST_ALLOC(9F)
      464 +                               February 15, 2016              NVLIST_ALLOC(9F)
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX