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

Function getenv_int64

freebsd/kern/kern_environment.c:840–850  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

838 * Return an int64_t value from an environment variable.
839 */
840int
841getenv_int64(const char *name, int64_t *data)
842{
843 quad_t tmp;
844 int64_t rval;
845
846 rval = getenv_quad(name, &tmp);
847 if (rval)
848 *data = (int64_t) tmp;
849 return (rval);
850}
851
852/*
853 * Return an uint64_t value from an environment variable.

Callers

nothing calls this directly

Calls 1

getenv_quadFunction · 0.70

Tested by

no test coverage detected