FIT5900 Lecture Glossary

  1. Environment Variables

    Unix & MS-DOS provide a number of variables for passing information about the state of the user's environment, the state in which their shell is currently configured.

    Under Unix, there may be environment variables (usually named in allcaps) storing the user's:


    From within a C program, environment variables may be read by calling

    char* getenv(char*)

    a function whose prototype appears within stdlib.h

    From the Unix shell, environment variables may be read using printenv and set using setenv.

    Refer to the Unix man pages for further details.



  2. MIME type

    Every document downloaded from the WWW has a Multipurpose Internet Mail Extension type which informs a browser how to display the document it receives.

    Documents are identified by their type and sub-type in a two field identifier. Documents of a particular MIME-type are often also identified by a standard file extension.

    Sample MIME Types: