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

Function getenv_uint64

freebsd/kern/kern_environment.c:855–865  ·  view source on GitHub ↗

* Return an uint64_t value from an environment variable. */

Source from the content-addressed store, hash-verified

853 * Return an uint64_t value from an environment variable.
854 */
855int
856getenv_uint64(const char *name, uint64_t *data)
857{
858 quad_t tmp;
859 uint64_t rval;
860
861 rval = getenv_quad(name, &tmp);
862 if (rval)
863 *data = (uint64_t) tmp;
864 return (rval);
865}
866
867/*
868 * Return a long value from an environment variable.

Callers

nothing calls this directly

Calls 1

getenv_quadFunction · 0.70

Tested by

no test coverage detected