libnvpair man page on SmartOS

Man page or keyword search:  
man Server   16655 pages
apropos Keyword Search (all sections)
Output format
SmartOS logo
[printable version]

LIBNVPAIR(3LIB)						       LIBNVPAIR(3LIB)

NAME
       libnvpair - name-value pair library

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 four opaque handles:

       nvpair_t
			 handle to a name-value pair

       nvlist_t
			 handle to a list of name-value pairs

       nv_alloc_t
			 handle to a pluggable allocator

       nv_alloc_ops_t
			 handle to pluggable allocator operations

       The library supports the following operations:

	   o	  Allocate and free an nvlist_t.

	   o	  Specify the  allocater  to  be  used	when  manipulating  an
		  nvlist_t.

	   o	  Add and remove an nvpair_t from a list.

	   o	  Search nvlist_t for a specified name pair.

	   o	  Pack an nvlist_t into a contiguous buffer.

	   o	  Expand a packed nvlist into a searchable nvlist_t.

INTERFACES
       The shared object libnvpair.so.1 provides the public interfaces defined
       below. See Intro(3) for additional information on shared object	inter‐
       faces.

       nvlist_add_boolean	     nvlist_add_boolean_value
       nvlist_add_boolean_array	     nvlist_add_byte
       nvlist_add_byte_array	     nvlist_add_double
       nvlist_add_int8		     nvlist_add_int8_array
       nvlist_add_int16		     nvlist_add_int16_array
       nvlist_add_int32		     nvlist_add_int32_array

       nvlist_add_int64		     nvlist_add_int64_array
       nvlist_add_nvlist	     nvlist_add_nvlist_array
       nvlist_add_nvpair	     nvlist_add_string
       nvlist_add_string_array	     nvlist_add_uint8
       nvlist_add_uint8_array	     nvlist_add_uint16
       nvlist_add_uint16_array	     nvlist_add_uint32
       nvlist_add_uint32_array	     nvlist_add_uint64
       nvlist_add_uint64_array	     nvlist_alloc
       nvlist_dup		     nvlist_exists
       nvlist_free		     nvlist_lookup_boolean
       nvlist_lookup_boolean_value   nvlist_lookup_boolean_array
       nvlist_lookup_byte	     nvlist_lookup_byte_array
       nvlist_lookup_double	     nvlist_lookup_int8
       nvlist_lookup_int8_array	     nvlist_lookup_int16
       nvlist_lookup_int16_array     nvlist_lookup_int32
       nvlist_lookup_int32_array     nvlist_lookup_int64
       nvlist_lookup_int64_array     nvlist_lookup_nvlist
       nvlist_lookup_nvlist_array    nvlist_lookup_nv_alloc
       nvlist_lookup_nvpair	     nvlist_lookup_pairs
       nvlist_lookup_string	     nvlist_lookup_string_array
       nvlist_lookup_uint8	     nvlist_lookup_uint8_array
       nvlist_lookup_uint16	     nvlist_lookup_uint16_array
       nvlist_lookup_uint32	     nvlist_lookup_uint32_array
       nvlist_lookup_uint64	     nvlist_lookup_uint64_array
       nvlist_merge		     nvlist_next_nvpair
       nvlist_pack		     nvlist_remove
       nvlist_remove_all	     nvlist_size
       nvlist_unpack		     nvlist_xalloc
       nvlist_xdup		     nvlist_xpack
       nvlist_xunpack		     nvpair_name
       nvpair_type		     nvpair_value_boolean_array
       nvpair_value_boolean_value    nvpair_value_byte
       nvpair_value_byte_array	     nvpair_value_double
       nvpair_value_int8	     nvpair_value_int8_array
       nvpair_value_int16	     nvpair_value_int16_array
       nvpair_value_int32	     nvpair_value_int32_array
       nvpair_value_int64	     nvpair_value_int64_array
       nvpair_value_nvlist	     nvpair_value_nvlist_array
       nvpair_value_string	     nvpair_value_string_array
       nvpair_value_uint8	     nvpair_value_uint8_array
       nvpair_value_uint16	     nvpair_value_uint16_array
       nvpair_value_uint32	     nvpair_value_uint32_array
       nvpair_value_uint64	     nvpair_value_uint64_array
       nv_alloc_init		     nv_alloc_fini
       nv_alloc_reset

FILES
       /lib/libnvpair.so.1
				 shared object

       /lib/64/libnvpair.so.1
				 64-bit shared object

ATTRIBUTES
       See attributes(5) for description of the following attributes:

       ┌────────────────────┬─────────────────┐
       │  ATTRIBUTE TYPE    │ ATTRIBUTE VALUE │
       ├────────────────────┼─────────────────┤
       │Interface Stability │ Committed	      │
       ├────────────────────┼─────────────────┤
       │MT-Level	    │ MT-Safe	      │
       └────────────────────┴─────────────────┘

SEE ALSO
       Intro(3), attributes(5)

				  Aug 1, 2008		       LIBNVPAIR(3LIB)
[top]

List of man pages available for SmartOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net