Qore Programming Language Reference Manual  1.7.1
Filesystem Functions

The following functions return information about or are related to the filesystem.

All of the functions in this section (except umask()) are flagged with Qore::PO_NO_FILESYSTEM

See also
the File class for a class enabling files to be created, read or written, and the Dir class allowing directories to be manipulated

Stat List

Element Data Type Description
0 int device inode number the file is on
1 int inode of the file
2 int inode protection mode
3 int number of hard links to this file
4 int user ID of the owner
5 int group ID of the owner
6 int device type number
7 int file size in bytes
8 date last access time of the file
9 date last modified time of the file
10 date last change time of the file's inode
11 int block size; may be zero if the platform's internal stat() (2) function does not provide this info
12 int blocks allocated for the file; may be zero if the platform's internal stat() (2) function does not provide this info