?? dictmodifyvalue.3
字號:
.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
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -