lispdoc - results for user-homedir-pathname

(user-homedir-pathname &optional host)
Function: Return the home directory of the user as a pathname. If the HOME environment variable has been specified, the directory it designates is returned; otherwise obtains the home directory from the operating system. HOST argument is ignored by SBCL.
 Mentioned in:
CLtL2 - 23.1.6. Pathname Functions
CLtL2 - 25.4.2. Other Environment Inquiries
HyperSpec - Function USER-HOMEDIR-PATHNAME