/usr/lib/s9fes/help/sys_stat-regularp 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 | S9 EXT (sys:lstat-block-dev? string) ==> boolean
(sys:lstat-char-dev? string) ==> boolean
(sys:lstat-directory? string) ==> boolean
(sys:lstat-pipe? string) ==> boolean
(sys:lstat-regular? string) ==> boolean
(sys:lstat-socket? string) ==> boolean
(sys:lstat-symlink? string) ==> boolean
(sys:stat-block-dev? string) ==> boolean
(sys:stat-char-dev? string) ==> boolean
(sys:stat-directory? string) ==> boolean
(sys:stat-pipe? string) ==> boolean
(sys:stat-regular? string) ==> boolean
(sys:stat-socket? string) ==> boolean
Check if the file associated with the directory entry STRING
has a specific property and return a corresponding truth value.
Note that a return value of #F may indicate either that the given
does not exists or exists but does not have the desired property.
The SYS:STAT... procedures dereference symlimks while the
SYS:LSTAT... procedures check the symlinks themselves. Note that
there is no SYS:STAT-SYMLINK? procedure, because it would always
deliver #F.
(sys:stat-directory? ".") ==> #t
(sys:stat-regular? "/dev") ==> #f
|