pvm_export(3)

pvm_export3

Mark environment variables to export through spawn

Usage

C	int cc = pvm_export( char *name )
	int cc = pvm_unexport( char *name )
Fortran	Not available

Parameters

name

Name of an environment variable to add to or delete from export list.

Overview

The routines pvm_export and pvm_unexport are provided for convenience in editing environment variable PVM_EXPORT, while maintaining the colon-separated list syntax it requires. The variable can be modified by other means, and at the same time by the pvm_export functions.

pvm_export checks to see if a name is already in PVM_EXPORT before including it, and exporting a name more than once is not considered an error. Likewise, pvm_unexport will not complain if you specify a name not in PVM_EXPORT.

Examples

C:
	/* PVM_EXPORT=SHELL:HOME */
	pvm_export("DISPLAY");
	pvm_export("TERM");
	pvm_unexport("HOME");
	/* PVM_EXPORT=SHELL:DISPLAY:TERM */

Errors

No error conditions are currently returned by pvm_export and pvm_unexport.

Releases

Unchanged in 4 releases since Debian 2.0 (Hamm).

  1. 2.0–3.0

From pvm-dev 3.4.2-8 in Debian 3.0 (Woody). Parsed by carta from the page's man source.