Field | Description |
st_dev | The drive number of the drive specified in path, or the default drive, if none is given. |
st_mode | Bit map containing mode information on the open file, made up of the values below. |
st_nlink | Always 1. |
st_rdev | Same as st_dev. |
st_size | Size of file in bytes. |
st_mtime | Time last modified. |
st_atime | For NT, time last accessed; or same as st_mtime. |
st_ctime | For NT, time created; otherwise same as st_mtime. |
st_ino | Always 0. (stat structure only) |
st_uid | Always 0. (stat structure only) |
st_gid | Always 0. (stat structure only) |
Use the following values for st_mode: _S_IFREG Set if path refers to an ordinary file, not a directory.
_S_IREAD Set if path refers to a readable file or directory.
_S_IWRITE Set if path refers to a writable file or directory.
_S_IFDIR Set if path refers to a directory.
_S_IEXEC Set if path refers to an executable file or a directory.