1120 |
found, in which case the string @code{VALUE} is returned. |
found, in which case the string @code{VALUE} is returned. |
1121 |
@end deffn |
@end deffn |
1122 |
|
|
|
@c begin (scm-doc-string "boot-9.scm" "setenv") |
|
1123 |
@deffn {Scheme Procedure} setenv name value |
@deffn {Scheme Procedure} setenv name value |
1124 |
Modifies the environment of the current process, which is |
Modifies the environment of the current process, which is |
1125 |
also the default environment inherited by child processes. |
also the default environment inherited by child processes. |
1132 |
The return value is unspecified. |
The return value is unspecified. |
1133 |
@end deffn |
@end deffn |
1134 |
|
|
1135 |
|
@deffn {Scheme Procedure} unsetenv name |
1136 |
|
Remove variable @var{name} from the environment. The |
1137 |
|
name can not contain a @samp{=} character. |
1138 |
|
@end deffn |
1139 |
|
|
1140 |
@deffn {Scheme Procedure} environ [env] |
@deffn {Scheme Procedure} environ [env] |
1141 |
@deffnx {C Function} scm_environ (env) |
@deffnx {C Function} scm_environ (env) |
1142 |
If @var{env} is omitted, return the current environment (in the |
If @var{env} is omitted, return the current environment (in the |
1163 |
The return value is unspecified. |
The return value is unspecified. |
1164 |
@end deffn |
@end deffn |
1165 |
|
|
|
@deffn {Scheme Procedure} setenv name value |
|
|
Give the environment variable @var{name} the value @var{value}. The |
|
|
name can not contain a @samp{=} character. |
|
|
@end deffn |
|
|
|
|
|
@deffn {Scheme Procedure} unsetenv name |
|
|
Remove variable @var{name} from the environment. The |
|
|
name can not contain a @samp{=} character. |
|
|
@end deffn |
|
1166 |
|
|
1167 |
@node Processes |
@node Processes |
1168 |
@section Processes |
@section Processes |