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

Function db_write_variable

freebsd/ddb/db_variables.c:119–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117}
118
119int
120db_write_variable(struct db_variable *vp, db_expr_t value)
121{
122 db_varfcn_t *func = vp->fcn;
123
124 if (func == FCN_NULL) {
125 *(vp->valuep) = value;
126 return (1);
127 }
128 return ((*func)(vp, &value, DB_VAR_SET));
129}
130
131void
132db_set_cmd(db_expr_t dummy1, bool dummy2, db_expr_t dummy3, char *dummy4)

Callers 2

db_set_variableFunction · 0.85
db_set_cmdFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected