PWB Extensions Help (ext.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
mgetenv
                                             Up Contents Index Back
─────PWB Extensions─────────────────────────────────────────────────────────
 
  Syntax:  char far *mgetenv( char far *Name );
 
  Returns: A pointer to the environment-table entry containing the value
           of <Name>, or NULL if the variable is not defined.
 
  See:     getenv, Using Files
 
     The mgetenv function is the PWB equivalent of the C run-time
     function getenv. It returns a pointer to the environment entry
     containing the current string value of the environment variable
     <Name>. The return value is NULL if the variable is not defined.
                                    -♦-