%N mgetenv %F $MIR/src/subs/oscalls.f2c
%D Translate environment variable on any machine
%P pjt
%: utilities
%B
FORTRAN call sequence
      SUBROUTINE mgetenv( outval, envnam )
      CHARACTER*(*) envnam,outval

 As something as simple as the translation of an enviroment variable is
 done differently on different machines, this MIRIAD subroutine provides
 a simple way for MIRIAD programmers to pretend it is the same.

   Input:
      envnam      The environment variable to be translated
   Output:
      outval      It returns a translated character string.

 For VMS is simply returns the input envnam itself.
 For most normal UNIX implementations getenv(3) is called.              
