Sun Microsystems, Inc.
spacerspacer
spacer   www.sun.com docs.sun.com | | |  
spacer
black dot
   
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z
    
 
Name-value Pair Library Functionslibnvpair(3NVPAIR)


NAME

 libnvpair - library of name-value pair functions

SYNOPSIS

 
cc [ flag ... ] file ...-lnvpair [ library ... ] 
#include <libnvpair.h>

DESCRIPTION

 

The libnvpair library exports a set of functions for managing name-value pairs.

The library defines two opaque handles:

nvpair_t
handle to a name-value pair
nvlist_t
handle to a list of name-value pairs

The library supports the following operations:

  • Allocate and free an nvlist_t.
  • Add and remove an nvpair_t from a list.
  • Search nvlist_t for a specified name pair.
  • Pack an nvlist_t into a contiguous buffer.
  • Expand a packed nvlist into a searchable nvlist_t.

See libnvpair(3LIB) for a complete list of libnvpair functions.

ATTRIBUTES

 

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE
Interface StabilityEvolving
MT-LevelMT-Safe

SEE ALSO

 

libnvpair(3LIB), attributes(5)


SunOS 5.9Go To TopLast Changed 26 September 2000

 
      
      
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.