GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
EXPORT(3PVM) EXPORT(3PVM)

pvm_export, pvm_unexport - Mark environment variables to export through spawn

C	int cc = pvm_export( char *name )
	int cc = pvm_unexport( char *name )

Fortran Not available

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

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.

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

No error conditions are currently returned by pvm_export and pvm_unexport.

pvm(1PVM) pvm_spawn(3PVM)

15 May, 1996

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.