9.257. STAT

9.257 STAT — Get file status

Description:

This function returns information about a file. No permissions are required on the file itself, but execute (search) permission is required on all of the directories in path that lead to the file.

The elements that are obtained and stored in the array VALUES:

VALUES(1) Device ID
VALUES(2) Inode number
VALUES(3) File mode
VALUES(4) Number of links
VALUES(5) Owner’s uid
VALUES(6) Owner’s gid