LOOKUP(3PVM)							 LOOKUP(3PVM)

NAME
  pvm_lookup - retrieve	data from pvmd database

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

DISCUSSION
  See pvm_insert(3PVM) for a description of this database.

  pvm_lookup retrieves data stored in the location given by .
  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  pair does not	exist.

SEE ALSO
  pvm_delete(3PVM), pvm_insert(3PVM)


Back to the alphabetical listing
Back to the listing of routines for advanced and group functions