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
    
 
Kernel Functions for Driversnvlist_remove(9F)


NAME

 nvlist_remove, nvlist_remove_all - remove name-value pairs

SYNOPSIS

 
#include <sys/nvpair.h> 
void nvlist_remove(nvlist_t *nvl, char *name, data_type_t type);
 void nvlist_remove_all(nvlist_t *nvl, char *name);

INTERFACE LEVEL

 

Solaris DDI specific (Solaris DDI)

PARAMETERS

 

nvl
The list of name-value pairs (nvlist_t) to be processed.
name
Name of the name-value pair (nvpair) 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

 

None

CONTEXT

 

The nvlist_remove() and nvlist_remove_all() functions can be called from user or interrupt context.


SunOS 5.9Go To TopLast Changed 25 September 2000

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