Function file-author

Syntax:

file-author pathspec author

Arguments and Values:

pathspec—a pathname designator.

author—a string or nil.

Description:

23.3.0 15Returns a string naming the author of the file specified by pathspec, or nil if the author's name cannot be determined.

Examples:

 (with-open-file (stream ">relativity>general.text")
   (file-author stream))
→ "albert"

Affected By:

The host computer's file system.

Other users of the file named by pathspec.

Exceptional Situations:

An error of type file-error is signaled if pathspec is wild.

Wording changed per x3j13 (05-Oct-93) -kmp If the attempt to obtain authorship information is not successful, an error \oftype{file-error} is signaled.An error of type file-error is signaled if the file system cannot perform the requested operation.

See Also:

pathname, logical-pathname, Section 20.1 (File System Concepts), Section 19.1.2 (Pathnames as Filenames)

Notes:

None.