1LOOKUP(3PVM) PVM Version 3.4 LOOKUP(3PVM)
2
3
4
6 pvm_lookup - retrieve data from pvmd database
7 [In Version 3.4: Relaced by pvm_getinfo]
8
9
11 C int cc = pvm_lookup( char *name, int index, int *data )
12
13 Fortran Not available
14
15
17 name The class name, a null-terminated string.
18
19 index The class index, >= 0 or -1 for first available.
20
21 data Returns the data stored in the <name, index> entry.
22
23
25 See pvm_insert(3PVM) for a description of this database.
26
27 pvm_lookup retrieves data stored in the location given by <name,
28 index>. If index is -1, the data stored at the first existing index in
29 the named class is returned.
30
31
32
34 If successful, pvm_lookup returns the index at which the data was
35 stored (>= 0), otherwise it returns a negative error code:
36
37 PvmBadParam
38 giving an invalid argument value.
39
40 PvmNoEntry
41 the requested <name, index> pair does not exist.
42
44 pvm_delete(3PVM), pvm_insert(3PVM)
45
46
47
48
49 27 June, 1994 LOOKUP(3PVM)