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

Function db_get_variable

freebsd/ddb/db_variables.c:85–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85int
86db_get_variable(db_expr_t *valuep)
87{
88 struct db_variable *vp;
89
90 if (!db_find_variable(&vp))
91 return (0);
92
93 return (db_read_variable(vp, valuep));
94}
95
96int
97db_set_variable(db_expr_t value)

Callers 1

db_termFunction · 0.85

Calls 2

db_find_variableFunction · 0.85
db_read_variableFunction · 0.85

Tested by

no test coverage detected