/[guile]/guile/guile-core/doc/ref/posix.texi
ViewVC logotype

Diff of /guile/guile-core/doc/ref/posix.texi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.9 by ossau, Thu Aug 8 21:47:53 2002 UTC revision 1.10 by ossau, Thu Aug 8 22:43:32 2002 UTC
# Line 1120  value is @code{#f} unless a string of th Line 1120  value is @code{#f} unless a string of th
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.
# Line 1133  to the environment, replacing any existi Line 1132  to the environment, replacing any existi
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
# Line 1159  be removed. Line 1163  be removed.
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

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26