MCPcopy Create free account
hub / github.com/F-Stack/f-stack / nvpair_get_string

Function nvpair_get_string

freebsd/contrib/libnv/bsd_nvpair.c:1816–1824  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1814}
1815
1816const char *
1817nvpair_get_string(const nvpair_t *nvp)
1818{
1819
1820 NVPAIR_ASSERT(nvp);
1821 PJDLOG_ASSERT(nvp->nvp_type == NV_TYPE_STRING);
1822
1823 return ((const char *)(intptr_t)nvp->nvp_data);
1824}
1825
1826const nvlist_t *
1827nvpair_get_nvlist(const nvpair_t *nvp)

Callers 2

nvlist_dumpFunction · 0.85
nvpair_cloneFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected