/usr/lib/s9fes/help/sys_stat is in scheme9 2010.11.13-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | S9 EXT (sys:lstat string) ==> alist | #f
(sys:stat string) ==> alist | #f
Return the file status of the file STRING or #F if the file
cannot be accessed. When STRING references a symbolic link,
return information about the linked rather than the file
referenced by it. The association list return in case of
success has the following members:
((name . string) ; file name
(size . integer) ; size in bytes
(uid . integer) ; UID of owner
(gid . integer) ; GID of owner
(mode . integer) ; access bits
(ctime . integer) ; inode change time
(atime . integer) ; access time
(mtime . integer) ; modification time
(dev . integer) ; device ID of containing device
(ino . integer) ; inode number
(nlink . integer)) ; number of (hard) links
SYS:STAT dereferences symlinks while SYS:LSTAT operates on the
symlinks themselves.
(sys:stat "s9.c") ==> ((name . "s9.c")
(size . 91450)
(uid . 1001)
(gid . 1001)
(mode . 33188)
(ctime . 1272258596)
(atime . 0)
(mtime . 1272258596)
(dev . 83)
(ino . 496912)
(nlink . 1))
|