Provides read access to the C stat structure which describes files.
Note: not applicable on Microsoft Windows.
A string denoting a file, or a file descriptor.
On success, an object representing the stat values. On failure,
is returned together with a second value.
Indicates the errno value returned by the system call. This second value is returned only in the case of failure.
is an object representing the stat values, as would be returned by the system call
(for a filename) or the system call
(for an fd).
The values in
are the raw data, and it is the responsibility of the user to interpret them when needed. See the UNIX manual entry for
The values can be read from
by these readers:
The inode of the file.
The id of the device where the file is.
The user id of the owner of the file.
The group id of the file's group.
The size of the file in bytes.
The number of 512-bytes blocks used by the file.
The protection value of the file.
The time of the last access to the file in seconds from 1 January 1970.
The time of the last change in the data of the file in seconds from 1 January 1970.
The time of the last modification of the file status in seconds from 1 January 1970.
The number of hard links to the file.
The device type (sometimes called Rdev).
LispWorks User Guide and Reference Manual - 22 Dec 2009