Skip to content

__stat__

builtin · libnexusinterp/corefcn/syscalls-proprietary.cc

: [info, err, msg] = __stat__ (file)
: [info, err, msg] = __stat__ (fid)

Return a structure describing the file named file, or open file fid.

The fields are dev, ino, mode, modestr, nlink, uid, gid, rdev, size, atime, mtime, ctime, blksize and blocks. Symbolic links are followed. On failure info is empty, err is -1 and msg describes the problem.