Print this page
patch more-manpage
patch cleanup
@@ -155,11 +155,12 @@
The nvlist_xalloc() function differs from nvlist_alloc() in that
nvlist_xalloc() can use a different allocator, as described in the
Pluggable Allocators section.
- The nvlist_free() function frees a name-value pair list.
+ The nvlist_free() function frees a name-value pair list. If nvl is a
+ null pointer, no action occurs.
The nvlist_size() function returns the minimum size of a contiguous
buffer large enough to pack nvl. The encoding parameter specifies the
method of encoding when packing nvl. Supported encoding methods are:
@@ -458,6 +459,6 @@
These functions can be called from user or kernel context with any
valid flag.
- January 16, 2006 NVLIST_ALLOC(9F)
+ February 15, 2016 NVLIST_ALLOC(9F)