ToC DocOverview CGDoc RelNotes Index PermutedIndex
Allegro CL
Home Previous Up Next Table of Contents Index
  ANSI Common Lisp   25 Environment   25.2 Dictionary of Environment

25.2.25 short-site-name, long-site-name Function

Syntax:
short-site-name < no arguments >    description

long-site-name < no arguments >    description

Arguments and Values:
description - a string or nil.

Description:
short-site-name and long-site-name return a string that identifies the physical location of the computer hardware, or nil if no appropriate description can be produced.

Examples:
 (short-site-name)
 "MIT AI Lab"
OR"CMU-CSD"
 (long-site-name)
 "MIT Artificial Intelligence Laboratory"
OR"CMU Computer Science Department"

Affected By:
The implementation, the location of the computer hardware, and the installation/configuration process.

Allegro CL Implementation Details:
short-site-name tries to return a string whose value is an unqualified hostname of the machine on which the current Lisp image is executing. long-site-name simply calls short-site-name.

Home Previous Up Next Table of Contents Index
© Franz Inc. 1998-2019 - File last updated 02-07-2019