dictmodifyvalue.3

来自「在 linux平台上的网页编程的模板」· 3 代码 · 共 49 行

3
49
字号
.TH dictModifyValue 3 "12 July 2007" "ClearSilver" "util/dict.h".de Ss.sp.ft CW.nf...de Se.fi.ft P.sp...SH NAMEdictModifyValue  - create/modify an item..SH SYNOPSIS.Ss#include <util/dict.h>.Se.SsNEOERR *dictModifyValue(dictCtx dict, const char *id, dictNewValueCB new_cb,                      dictUpdateValueCB update, void *rock);.Se.SH ARGUMENTSdict - dictionary to add pair to..brid - identifier of value.brnew - function to call to create new value (may be NULL).brupdate - function to call to modify value (if NULL, the old.brvalue is freed, and <new> is used).brrock - context to pass to <new> or <update>..SH DESCRIPTIONFinds <id>'s value and calls <update>.  If <id> isnot in <dict>, calls <new> to obtain a new value.MT-Level: Safe if <dict> thread-safe..SH "RETURN VALUE"None..SH "SEE ALSO".BR dictDestroy "(3), "dictCleanup "(3), "dictReleaseLock "(3), "dictRemove "(3), "dictNext "(3), "dictCreate "(3), "dictSetValue "(3), "dictModifyValue "(3), "dictSearch

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?