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 Functionsnvlist_remove(3NVPAIR)


NAME

 nvlist_remove, nvlist_remove_all - remove name-value pairs

SYNOPSIS

 
cc [ flag ... ] file ...-lnvpair [ library ... ] 
#include <libnvpair.h>
void nvlist_remove(nvlist_t *nvl, char *name, data_type_t type);
 void nvlist_remove_all(nvlist_t *nvl, char *name);

PARAMETERS

 
nvl
The nvlist_t to be processed.
name
Name of the name-value pair to be removed.
type
Data type of the nvpair to be removed.

DESCRIPTION

 

The nvlist_remove() function removes the first occurrence of nvpair that matches the name and the type.

The nvlist_remove_all() function removes all occurrences of nvpair that match the name, regardless of type.

RETURN VALUES

 

No return values are defined.

ATTRIBUTES

 

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

ATTRIBUTE TYPEATTRIBUTE VALUE
Interface StabilityEvolving
MT-LevelMT-Safe

SEE ALSO

 

libnvpair(3NVPAIR), 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.