c c Routine directly callable from C/C++ (it could be necessary to c append an underscore, "_", to its name depending on the C/C++ c compiler used). c c subroutine importvar(varname, value, vlen) c c Getting the current value of an environment variable. c c Written by: S. J. Sciutto, La Plata 2001. c c Arguments: c ========= c c varname......... (input, character*(*)) Name of the variable. c value........... (output, character*(*)) Current value, as c returned by the OS with trailing blanks removed. c The calling program must ensure that the c maximum length of the string is enough to store c the returned value. c vlen............ (output, integer) Length of string "value" c (zero if the returned value is blank). c c c<--->
These pages are maintained by Sergio J. Sciutto |
Back to AIRES library index |
Back to AIRES home |