stat
- Tags
- comp-arch
Is a system-call that allows you retrieve metadata about files stored in the inode. See stat.
Table 1:
Variants of stat.
| Function | Description |
|---|---|
stat | Stat a file from a given path |
fstat | Stat a file for which you already have an open file-descriptor |
lstat | Identicle to stat except for symlinks it stats the link (not the linked to file) |