1EXPORT(3PVM) EXPORT(3PVM)
2
3
4
6 pvm_export, pvm_unexport - Mark environment variables to export through
7 spawn
8
9
11 C int cc = pvm_export( char *name )
12 int cc = pvm_unexport( char *name )
13
14 Fortran Not available
15
16
18 name Name of an environment variable to add to or delete from export
19 list.
20
21
23 The routines pvm_export and pvm_unexport are provided for convenience
24 in editing environment variable PVM_EXPORT, while maintaining the
25 colon-separated list syntax it requires. The variable can be modified
26 by other means, and at the same time by the pvm_export functions.
27
28 pvm_export checks to see if a name is already in PVM_EXPORT before
29 including it, and exporting a name more than once is not considered an
30 error. Likewise, pvm_unexport will not complain if you specify a name
31 not in PVM_EXPORT.
32
33
35 C:
36 /* PVM_EXPORT=SHELL:HOME */
37 pvm_export("DISPLAY");
38 pvm_export("TERM");
39 pvm_unexport("HOME");
40 /* PVM_EXPORT=SHELL:DISPLAY:TERM */
41
42
44 No error conditions are currently returned by pvm_export and pvm_unex‐
45 port.
46
47
49 pvm(1PVM) pvm_spawn(3PVM)
50
51
52
53
54 15 May, 1996 EXPORT(3PVM)