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

Function kenv_release

freebsd/kern/kern_environment.c:643–648  ·  view source on GitHub ↗

* Undo a previous kenv_acquire() operation */

Source from the content-addressed store, hash-verified

641 * Undo a previous kenv_acquire() operation
642 */
643static void
644kenv_release(const char *buf)
645{
646 if ((buf != NULL) && dynamic_kenv)
647 mtx_unlock(&kenv_lock);
648}
649
650/*
651 * Return a string value from an environment variable.

Callers 4

testenvFunction · 0.70
getenv_stringFunction · 0.70
getenv_arrayFunction · 0.70
getenv_quadFunction · 0.70

Calls 1

mtx_unlockFunction · 0.70

Tested by

no test coverage detected