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

Function getenv_is_false

freebsd/kern/kern_environment.c:990–998  ·  view source on GitHub ↗

* Wrapper around getenv_bool to easily check for false. */

Source from the content-addressed store, hash-verified

988 * Wrapper around getenv_bool to easily check for false.
989 */
990bool
991getenv_is_false(const char *name)
992{
993 bool val;
994
995 if (getenv_bool(name, &val) != 0)
996 return (!val);
997 return (false);
998}
999
1000/*
1001 * Find the next entry after the one which (cp) falls within, return a

Callers

nothing calls this directly

Calls 1

getenv_boolFunction · 0.85

Tested by

no test coverage detected