nvlist_remove_all(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 pro-
cessed.
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.
Man(1) output converted with
man2html