User Tools

A PCRE internal error occured. This might be caused by a faulty plugin

====== Function USER-HOMEDIR-PATHNAME ====== ====Syntax==== * **user-homedir-pathname** //''&optional'' host// → //pathname// ====Arguments and Values==== * //host// - a //[[CL:Glossary:string]]//, a //[[CL:Glossary:list]]// of //[[CL:Glossary:string|strings]]//, or **'':unspecific''**. * //pathname// - a //[[CL:Glossary:pathname]]//, or **[[CL:Constant Variables:nil]]**. ====Description==== **user-homedir-pathname** determines the //[[CL:Glossary:pathname]]// that corresponds to the user's home directory on //host//. If //host// is not supplied, its value is //[[CL:Glossary:implementation-dependent]]//. For a description of **'':unspecific''**, see section {\secref\PathnameComponents}. The definition of home directory is //[[CL:Glossary:implementation-dependent]]//, but defined in Common Lisp to mean the directory where the user keeps personal files such as initialization files and mail. **user-homedir-pathname** returns a //[[CL:Glossary:pathname]]// without any name, type, or version component (those components are all **[[CL:Constant Variables:nil]]**) for the user's home directory on //host//. If it is impossible to determine the user's home directory on //host//, then **[[CL:Constant Variables:nil]]** is returned. **user-homedir-pathname** never returns **[[CL:Constant Variables:nil]]** if //host// is not supplied. ====Examples==== <blockquote> (pathnamep (user-homedir-pathname)) <r>//[[CL:Glossary:true]]//</r> </blockquote> ====Side Effects==== None. ====Affected By==== The host computer's file system, and the //[[CL:Glossary:implementation]]//. ====Exceptional Situations==== None. ====See Also==== None. ====Notes==== None. \issue{PATHNAME-UNSPECIFIC-COMPONENT:NEW-TOKEN}