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

Function db_set_variable

freebsd/ddb/db_variables.c:96–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94}
95
96int
97db_set_variable(db_expr_t value)
98{
99 struct db_variable *vp;
100
101 if (!db_find_variable(&vp))
102 return (0);
103
104 return (db_write_variable(vp, value));
105}
106
107int
108db_read_variable(struct db_variable *vp, db_expr_t *valuep)

Callers

nothing calls this directly

Calls 2

db_find_variableFunction · 0.85
db_write_variableFunction · 0.85

Tested by

no test coverage detected