* Wrapper around getenv_bool to easily check for true. */
| 975 | * Wrapper around getenv_bool to easily check for true. |
| 976 | */ |
| 977 | bool |
| 978 | getenv_is_true(const char *name) |
| 979 | { |
| 980 | bool val; |
| 981 | |
| 982 | if (getenv_bool(name, &val) != 0) |
| 983 | return (val); |
| 984 | return (false); |
| 985 | } |
| 986 | |
| 987 | /* |
| 988 | * Wrapper around getenv_bool to easily check for false. |
no test coverage detected