HomeFreeBSD

Remove the nvlist_.*[fv] functions.

Description

Remove the nvlist_.*[fv] functions.

Those functions are problematic, because there is no way to report
memory allocation problems without complicating the API, so we can
either abort or potentially return invalid results. None of which is
acceptable.

In most cases the caller knows the size of the name, so he can allocate
buffer on the stack and use snprintf(3) to prepare the name.

After some discussion the conclusion is to removed those functions,
which also simplifies the API.

Discussed with: pjd, rstone
Approved by: pjd (mentor)

Details

Provenance
oshogboAuthored on
Parents
rS282256: Bump __FreeBSD_version for smb(4) changes in r281985
Branches
Unknown
Tags
Unknown