ICI Modules: sys: stat
Modules by name : by typeSynopsis
struct = sys.stat(int | string | file)Description
Obtains information about the file and returns a struct containing that information. The file may be specified either as a integer file descriptor, a named file or a stream associated with a file descriptor. The returned structure contains the following keys,
- size - file size
- uid - owner id
- gid - group id
- mode - file mode
- nlink - number of links to file
- blksize - block size
- blocks - number of blocks used by file
- ino - inode number
- rdev - device type
- dev - device number
- atime - last access time
- mtime - last modification time
- ctime - last status change time