Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dictmodifyvalue(3) [debian man page]

dictModifyValue(3)						    util/dict.h 						dictModifyValue(3)

NAME
dictModifyValue - create/modify an item. SYNOPSIS
#include <util/dict.h> NEOERR *dictModifyValue(dictCtx dict, const char *id, dictNewValueCB new_cb, dictUpdateValueCB update, void *rock); ARGUMENTS
dict - dictionary to add pair to. id - identifier of value new - function to call to create new value (may be NULL) update - function to call to modify value (if NULL, the old value is freed, and <new> is used) rock - context to pass to <new> or <update>. DESCRIPTION
Finds <id>'s value and calls <update>. If <id> is not in <dict>, calls <new> to obtain a new value. MT-Level: Safe if <dict> thread-safe. RETURN VALUE
None. SEE ALSO
dictDestroy(3), dictCleanup(3), dictReleaseLock(3), dictRemove(3), dictNext(3), dictCreate(3), dictSetValue(3), dictModifyValue(3), dict- Search ClearSilver 12 July 2007 dictModifyValue(3)
Man Page

3 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

pls hlp: making .sh files executable

I've got a file named jdictd.sh containing the following: --- begin file contents --- #! /bin/csh echo I\'m running! java -cp jdictd.jar org.dict.server.JDictd data/dict.ini # Use the following line instead if JRE 1.1 is used # jre -cp jdictd.jar org.dict.server.JDictd data/dict.ini ---end... (2 Replies)
Discussion started by: ropers
2 Replies

2. AIX

Password Policy

I need help. I have set a password policy. But I want to dis allow setting user name as password. My policy is as below... min length =8 min diff=2 min alpha=2 max repeats=2 dictionary= /usr/share/dict/words Still user can set his username as password (i.e. Jackie1234). Code tags for... (11 Replies)
Discussion started by: powerAIX
11 Replies

3. UNIX for Beginners Questions & Answers

A quick help on python dict

Hi Team, I'm new to python and working on a project. I have an API call which returns a dict(got the dict.values() and converted to list) as shown below: dict_values() Any clue, how can I get only offset values, in deed I need a sum of those. I can write a "shell sed command" inside python... (2 Replies)
Discussion started by: panyam
2 Replies