Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dictsetvalue(3) [debian man page]

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

NAME
dictSetValue - set/reset an items value. SYNOPSIS
#include <util/dict.h> NEOERR *dictSetValue(dictCtx dict, const char *id, void *value); ARGUMENTS
dict - dictionary to add pair to. id - identifier to insert/update value - value to store (may NOT be NULL) DESCRIPTION
Updates the <id>/<value> pair into <dict>. If <id> is not in <dict>, it is created. 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 dictSetValue(3)

Check Out this Related Man Page

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

NAME
dictCreate - create new dictionary. SYNOPSIS
#include <util/dict.h> NEOERR *dictCreate(dictCtx *dict, BOOL threaded, UINT32 root, UINT32 maxLevel, UINT32 flushLimit, BOOL useCase, dictFreeValueFunc freeValue, void *freeRock); ARGUMENTS
threaded - true if list should be thread-safe. root - performance parameter (see above). maxLevel - performance parameter (see above). flushLimit - max deleted items to keep cached before forcing a flush. useCase - true to be case sensitive in identifiers freeValue - callback when freeing a value freeRock - context for freeValue callback DESCRIPTION
Returns a dictionary. If <threaded> is true, list is multi-thread safe. <root>, <maxLevel>, and <flushLimit> act as for skipNewList() (see skiplist.h) MT-Level: 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 dictCreate(3)
Man Page

5 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. UNIX for Dummies Questions & Answers

Unix dictionary.

Hey, I am looking for an inbuilt unix dictionary.I tried to look at the path /usr/dict/word and I do not find anything any dict directory in the /usr folder. Can anyone please tell me how to find out this dictionary? Thanks Lee. (1 Reply)
Discussion started by: leepan2008
1 Replies

3. 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

4. Shell Programming and Scripting

Python Script Calculating Average

Can anyone explain what each line of the code does and how it works? I have no experience with python so I am not sure how the arrays and such work. I found this code while looking through the forums. f = open("exams","r") l = f.readline() while l: l = l.split(" ") values = l ... (22 Replies)
Discussion started by: totoro125
22 Replies

5. 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