EXPORTSection: Misc. Reference Manual Pages (3PVM)Updated: 15 May, 1996 |
EXPORTSection: Misc. Reference Manual Pages (3PVM)Updated: 15 May, 1996 |
C int cc = pvm_export( char *name )
int cc = pvm_unexport( char *name )
Fortran Not available
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.
C:
/* PVM_EXPORT=SHELL:HOME */
pvm_export("DISPLAY");
pvm_export("TERM");
pvm_unexport("HOME");
/* PVM_EXPORT=SHELL:DISPLAY:TERM */