---
name: "pvm_lookup"
section: "3"
platform: "linux"
package: "pvm-dev"
version: "3.4.2-8"
release: "Debian 3.0 (Woody)"
platforms: ["linux"]
url: "https://new.carta.tech/pvm_lookup"
---

# pvm\_lookup(3)

retrieve data from pvmd database \[In Version 3.4: Relaced by pvm\_getinfo\]

## NAME

pvm\_lookup - retrieve data from pvmd database\
 \[In Version 3.4: Relaced by pvm\_getinfo\]

## SYNOPSIS

```
C	int cc = pvm_lookup( char *name, int index, int *data )
Fortran	Not available
```

## PARAMETERS

- name

  **The class name, a null-terminated string.**

- index

  **The class index, \>= 0 or -1 for first available.**

- data

  **Returns the data stored in the \<name, index\> entry.**

## DESCRIPTION

**See pvm\_insert(3PVM) for a description of this database.**

*pvm\_lookup* retrieves data stored in the location given by \<name, index\>. If index is -1, the data stored at the first existing index in the named class is returned.

## ERRORS

If successful, pvm\_lookup returns the index at which the data was stored (\>= 0), otherwise it returns a negative error code:

- PvmBadParam

  giving an invalid argument value.

- PvmNoEntry

  the requested \<name, index\> pair does not exist.

## SEE ALSO

pvm\_delete(3PVM), pvm\_insert(3PVM)
