[procedure] get-file-info path

[procedure] get-file/link-info path

Scheme48: returns a file-info structure, which is equivalent to a struct stat. get-file-info corresponds to stat(2), and get-file/link-info corresponds to lstat(2). See also get-port-info?.

Predicates and accessors: file-info?, file-info-name, file-info-type, file-info-device, file-info-inode, file-info-link-count, file-info-size, file-info-owner, file-info-group, file-info-mode, file-info-last-access, file-info-last-modification, file-info-last-info-change.

Gauche has sys-stat and sys-lstat. Scsh has file-info.