http://kor.i2p/books/The%20C%20Programming%20Language%20by%20K&R/chapter8.html
The structure describing the value returned by stat is in < sys/stat.h > , and typically looks like this: struct stat /* inode information returned by stat */
{
dev_t st_dev; /* device of inode */
ino_t st_ino; /* inode number */
short st_mode; /* mode bits */
short st_nlink; /* number of links to file */
short st_uid; /* owners user id */
short st_gid; /* owners group id */
dev_t ...